I am working on IOT application wherein I will be connecting a mobile application to a pub sub broker to release portable chargers from a powerbank box. I have documentation from the manufacture of the boxes but I can't seem to establish two way communication between my computer and the box. I am using THE PAHO-eclipse client to debug the connection but I keep getting a subscription failed message when trying to send the subscriptions that they suggest in the documentation. Does anyone see anything inherently wrong with what I am trying? is there a better approach that I am overlooking to troubleshoot subscriptions?
Here is what my eclipse client looks like
Here is the call I make to get specific information on each powerbank
I am new to using PubSub so any suggestions or pointers would be super appreciated. Thanks in advance