AT commands to Update Property value through Arduino+ESP8266
I'm trying to update property value on Thingworx through Arduino connected to ESP8266mod,by using HTTP PUT with AT commands. I managed to test updating in Postman and it works fine.
1. I only manage to connect to thingworx with AT+CIPSTART="UDP","XX.XX.XX.XX","8080"
When I use AT+CIPSTART="TCP","XX.XX.XX.XX","8080" it hangs for a bit and i get ERROR.
(TCP works when connecting to Academic but not Trial)
2. Can anyone give me example how would AT+CIPSEND data package look like?
My guess is something like:
AT+CIPSEND=0,226
PUT /Thingworx/Things/TestThing/Properties/TestValue?appKey=xxxxxxxxxxxxxxxxxxxxxx HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: XX.X.XX.X
{"TestValue" : "15"}
#26
But all i get is SEND OK
Thanks in advance.
