on 06-29-2017 8:05 AM - last edited on 02-03-2024 8:27 PM by postmig_api_4
I have a question in regard to setting up IoT service for communication amongst several devices, more specifically the MQTT over WebSockets.
I want to know if it is possible in any way to overcome the limitation of the acknowledgment service that "Acknowledgments are sent from the MMS to the device over the same WebSocket connection that is used to send data from the device to the MMS".
I would like to receive the acknowledgment in other established WS connections as well so that they could react to the changes in the DB accordingly. I have two UI5 apps and a Rasperry Pi used in this project and the communication between them was planned over the WS channels on IoT, to ensure reactions on all connected devices.
A dirty workaround on my mind now is to make a loop requesting information to the DB in intervals, but that would cause a lot of unneeded calls to the DB, so is there a better way to implement it?
FYI, the guide where the acknowledgment issue is stated:
https://help.hana.ondemand.com/iot/frameset.htm?e12d1429ddcb469ebed59746b64e16ae.html
I don't think it's possible for the moment. I've been searching for this too but also ended up with a loop for requesting information from the DB in intervals.. If you find a better solution, please let me know 🙂
Regards,
Wouter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Janis, to realize it, you would need to make use of the native MQTT over TCP Data Service [1] but be aware that you have to host your MQTT broker yourself, since it is not a part of the MMS.
Regards, Anton
[1] https://help.hana.ondemand.com/iot/frameset.htm?a9764708d68b43e59c823218d1aa6346.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.