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 was trying to send a NOTIFICATION type of message of message_type 0x02 without service discovery (service discovery = false). I have events and event groups as well. First of all is this kind of communication feasible between two devices?
I have tried changing the message type to notification type and sending it using app_->send(). I have tried sending it using notify and subscribe. As soon as the message type is notification type the data is not received.
I have used the subscribe-sample.cpp and notify-sample.cpp in the examples folder to achieve this making service discovery as false.
The text was updated successfully, but these errors were encountered:
Hello @jennyj1,
Notifications do not work without Service Discovery, this is because the whole subscription mechanism is part of the Service Discovery.
It's possible to use methods without Service Discovery ("static routing", e.g. test/payload_tests). And there as many methods than events/notification identifiers available.
In theory, it could be possible to implement "Unicast Service Discovery"(would be needed to support Service Discovery via TCP), but this is neither implemented nor planned.
Hello Community,
I was trying to send a NOTIFICATION type of message of message_type 0x02 without service discovery (service discovery = false). I have events and event groups as well. First of all is this kind of communication feasible between two devices?
I have tried changing the message type to notification type and sending it using app_->send(). I have tried sending it using notify and subscribe. As soon as the message type is notification type the data is not received.
I have used the subscribe-sample.cpp and notify-sample.cpp in the examples folder to achieve this making service discovery as false.
The text was updated successfully, but these errors were encountered: