Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

Azure and EXS62-W issues to formate the json string | Telit Cinterion IoT Developer Community

April 8, 2022 - 1:29am, 1744 views

When i try to do this in C :

lteiot9_send_cmd( &lteiot9, "AT^SISD=1,\"setParam\",hcContent,\"{ \"batteryLevel\": 50, \"terminalState\": \"Idle\" }\"" );

 i get Invalide index.

If i remove the \" around the batterylevel it is accepted, but then Azure dont accept it. 

this is the text i wan tto send :

 

{ "batteryLevel": 50, "terminalState": "Idle" }