Unable to receive data from mqtt

I have implemented the publish and subscribe code individually and it works but when I try to implement both publish and subscribe with a different topic in the same code, publish works fine but for subscribing I receive data in mqtt server and I m able to change the led status high/ low. But when I try to change the value of the variable it doesn’t change. (solved)

Glad you got it solved :slight_smile:

hi pooja can help me by sending your code…i working on the same problem ,i am able to publish data ,but i am not send data from from control knob on thingsboard to device