Hi guys, Once the devices are enrolled to the Platform - Devices will be publishing data. For the initial implementation - this will be based on HTTP. We brainstormed sometime back and found there are 2 types of data - management data, sensor data, I am proposing the below architecture to publish data from devices to the platform.
The Device is first enrolled to the Device Manager and it will be given a token. The device publishes the data to the Event Receiver. I think we have to override the Http Event Receiver to perform this token check. After the token check is done- we need to add the deviceId and tenantId parameters to the data payload. The Device communication to the Event Receiver has to be protect through SSL. (Small point here would be about the long lived access tokens on the device. Cheers~ -- Chan (Dulitha Wijewantha) Software Engineer - Mobile Development WSO2 Inc Lean.Enterprise.Mobileware * ~Email duli...@wso2.com <duli...@wso2mobile.com>* * ~Mobile +94712112165* * ~Website dulitha.me <http://dulitha.me>* * ~Twitter @dulitharw <https://twitter.com/dulitharw>* *~Github @dulichan <https://github.com/dulichan>* *~SO @chan <http://stackoverflow.com/users/813471/chan>*
_______________________________________________ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture