Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Kapua » kapua connection(how to connect to kapua using raspberry pi 3)
kapua connection [message #1782308] Wed, 21 February 2018 15:10
Ahmad Arif is currently offline Ahmad ArifFriend
Messages: 10
Registered: February 2018
Junior Member
Hi all,

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.

Kind Regards,
Ahmad Arif
Previous Topic:Kura connection to Kapua over LTE
Next Topic:Problem with connection Kura Kapua
Goto Forum:

Current Time: Wed Nov 14 08:59:05 GMT 2018

Powered by FUDForum. Page generated in 0.02293 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top