Airvantage MQTT : topic


#1

Hi,
I need information about Airvantage MQTT topic. I am sending json data to airvantage. Data is visible only with topic name LL738501430810/messages/json. When I try to send data using different topic name ,it’s not visible on airvantage.

Please let me know about any restrictions on topic name or specific format required for topic name.
Also please let me know Content-Type supported : text,json etc.

Please find below logs :

Using topic : LL738501430810/messages/json
Data is visible in airvantage.

amrutha@RelySys:~ mosquitto_pub -d -h "www.eu.airvantage.net" -p 1883 -q 2 -u LL738501430810 -P "AirVantage" -t LL738501430810/messages/json -m "{\"flowmeter.RId\":\"1\",\"flowmeter.Record_Written_Time\":\"01/01/2018 11:21:32\",\"flowmeter.Flow_Rate\":\"404443901281042\",\"flowmeter.Totalize\":\"-57\",\"flowmeter.DIStatus\":\"17\",\"flowmeter.DITimeStamp\":\"13/06/2018 13:06:12\"}" Received CONNACK Sending PUBLISH (d0, q2, r0, m1, 'LL738501430810/messages/json', ... (214 bytes)) Received PUBREC (Mid: 1) Sending PUBREL (Mid: 1) Received PUBCOMP (Mid: 1) amrutha@RelySys:~

==========================================================
Using topic : LL738501430810/messages
Data is not visible in airvantage

amrutha@RelySys:~ mosquitto_pub -d -h "www.eu.airvantage.net" -p 1883 -q 2 -u LL738501430810 -P "AirVantage" -t LL738501430810/messages -m "{\"flowmeter.RId\":\"1\",\"flowmeter.Record_Written_Time\":\"01/01/2018 11:21:32\",\"flowmeter.Flow_Rate\":\"404443901281042\",\"flowmeter.Totalize\":\"-57\",\"flowmeter.DIStatus\":\"17\",\"flowmeter.DITimeStamp\":\"13/06/2018 13:06:12\"}" Received CONNACK Sending PUBLISH (d0, q2, r0, m1, 'LL738501430810/messages', ... (214 bytes)) Received PUBREC (Mid: 1) Sending PUBREL (Mid: 1) Received PUBCOMP (Mid: 1) amrutha@RelySys:~

============================================================
Toipic name : hello
//Data is not visible on Airvantage

amrutha@RelySys:~ mosquitto_pub -d -h "www.eu.airvantage.net" -p 1883 -q 2 -u LL738501430810 -P "AirVantage" -t hello -m "{\"flowmeter.RId\":\"1\",\"flowmeter.Record_Written_Time\":\"01/01/2018 11:21:32\",\"flowmeter.Flow_Rate\":\"404443901281042\",\"flowmeter.Totalize\":\"-57\",\"flowmeter.DIStatus\":\"17\",\"flowmeter.DITimeStamp\":\"13/06/2018 13:06:12\"}" Received CONNACK Sending PUBLISH (d0, q2, r0, m1, 'hello', ... (214 bytes)) Received PUBREC (Mid: 1) Sending PUBREL (Mid: 1) Received PUBCOMP (Mid: 1) amrutha@RelySys:~