Jump to content









Photo

MQTT Client

mqtt java client program api keys broker topic paho

  • Please log in to reply
4 replies to this topic

#1 parvathyr

parvathyr

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 19 December 2015 - 05:44 AM

Hi,

 

Can anyone help me in this?

I got a sample code of MQTT which is written in Java and it worked in my eclipse. Now I want to check which messages has been send ? How to determine that ? Also it is written that the clientId must not exceed 23 characters.But the API keys have got more length than 23. 



#2 boopathi

boopathi

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 21 December 2017 - 11:10 AM

hi frd

 

how to subscribe the data from carriots  cloud using MQTT ?



#3 mbaeoi

mbaeoi

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 26 December 2017 - 12:08 PM

Hi friend

I do not understand your question. If you want to send a data streams to Carriots, all the information that you need is:

Host: mqtt.carriots.com     
Port: 1883     
Username: your apikey
Password: empty
Topics:

  • {apikey}/streams
  • {apikey}/status


You can publish xml or json to these topics.



#4 boopathi

boopathi

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 28 December 2017 - 06:20 AM

hi

how to subscribe the data from carriots  cloud using MQTT ?

 

any format is there?



#5 mbaeoi

mbaeoi

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 28 December 2017 - 09:16 AM

Hi friend

 

You can find all the information about that here: https://www.carriots...ots-mqtt-broker

 

Note that this feature is only available for payment accounts, but you can request its activation throught the support email (normally they do not put any problem)

 

Hope it helps!







Also tagged with one or more of these keywords: mqtt, java, client program, api keys, broker, topic, paho

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users