Closed cydemily closed 7 years ago
Solved.
solution:
Add device online message: ① Found the file: meshblu-core-protocol-adapter-websocket/src/websocket-handler.coffee ② Added the setOnlineStatus function. ③ In onIdentity function, call setOnlineStatus function.
Add device offline message: ① Found the file: meshblu-core-protocol-adapter-websocket/src/websocket-handler.coffee ② In onClose function, call setOnlineStatus function.
Hello, I met below issues on “subscribe” function in WebSocket protocol by using Meshblu 4.0.1 instead of Meshblu 1.18.4.
Test scenario:
But I really need device#1 online and offline broadcast message as below to notify other devices about the status of device#1.
Is this a bug or new feature?
Device online broadcast message:
Device offline broadcast message: