Gemalto is now part of the Thales Group, find out more.

You are here

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

April 8, 2022 - 1:29am, 825 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" }