You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I continued debugging the code and put some console logs to have more information of the ejecution.
I can see that the respond() method in the 'writeRequested' state has a success status, but i don´t know how to display the message 'Recived message in...' on the device sending the message.
That screenshot is the screen of the tablet that recive the message from my phone.
My idea is that when you receive a message on either device, you can send a 'received' message to the device that sent that message
Hi everyone!
I'm trying to respond to a 'writeRequested' state with the respond() method, but I see that it doesn't work as expected.
I need to reply to the device that made the writeRequest with a 'received' message.
This is the code that proves:
`if (status.status == "writeRequested") {
}`
When i debug the code, i see that the respond() method have success status, but the message is not visible in the other device.
NOTE: when i use the same method to respond 'readRequested' status works fine
Like this:
`if (status.status == "readRequested") {
}`
This is the code of my writeRequest method:
`writeRequest(devAddress:string, messageS:string){
}`
Is there an error in my implementation? Any idea how to solve it?
Of course, thank you for your time and kindness!
Best regards,
marcui :)
The text was updated successfully, but these errors were encountered: