|kapua connection [message #1782308]
||Wed, 21 February 2018 15:10
| Ahmad Arif
Registered: February 2018
I am facing some issues regarding Kapua connection. I am using Raspbian on raspberry pi 3. I have installed MQTT client on my system. when I run the following commands on my terminal the connection is successfully established but it does not send any message.
For publish: sudo mosquitto_pub -h "IPaddress " -p "Port" -t "topic" -m "message" -u "user-name" -P "user-pass" -i "client-id"
For subscribe: sudo mosquitto_sub -h "IPaddress " -p "Port" -t "topic" -u "user-name" -P "user-pass" -i "client-id"
When I do the same for localhost it does send the message. I am using two different terminals to publish and subscribe.
Note: Kapua is also installed on the same network.
Is there any method to send a message to Kapua using MQTT in the terminal. Kindly help me regarding this issue.
Powered by FUDForum
. Page generated in 0.02293 seconds