I am trying shared attributes updates. When I use mosquitto on command prompt to subscribe it works. But when I replicated the subscription using mosquitto C library in a device, it never receives any updates.
On a side not the attribute request and response subscription works fine.
For unknown reasons the agent I made can't simultaneously send data and subscribe at the same time. it worked fine when I split each function in a script of its own. (fork() didn't help)
Component
Description
I am trying shared attributes updates. When I use mosquitto on command prompt to subscribe it works. But when I replicated the subscription using mosquitto C library in a device, it never receives any updates. On a side not the attribute request and response subscription works fine.
Environment