Hello,
I am trying to subscribe on a topic to get retained message.
I am using ncs 2.7.0
The problem is that whenever I am trying to subscribe to a certain topic, I have to call the subscription function 2 times to be able to get the retained message on the broker.
If it's only once then I cannot get the message.