Hello,
I'm using esp8266 - esp-01 module.
im not able to establish cloud & esp connection.
I receive following in serial monitor. Kindly clarify.
SERIAL MONITOR :
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
user_esp_platform_connect
user_e▒p_platform_connect_cb
bcn 0
del if1
pm open,type:2 0
m▒de : sta(18:fe:34:e1:12:db)
{"nonce": 1345441741,"path": "/v1/device/act▒vate/", "method": "POST", "body": {"encrypt_method": "PLAIN", "token": "2f8nvqxa4al796c7kh7ir4cyy77tgigxc4wn1x1i", "bssid": "18:fe:34:e1:12:db","rom▒version":"v1.0.5t23701(a)"}, "meta": ▒"Authorization": "token ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒"}}
user_esp_platform_sent_cb
user_esp_platform_recv_cb {"status": 400, "message": "invalid json string"}
please check device is activated.
{"nonce": 2057316636,"path": "/v1/device/activate/", "method": "PO▒T", "body": {"encrypt_method": "PLAIN", "token": "2f8nvqxa4al796c7kh7ir4cyy77tgigxc4wn1x1i", "bssid": "18:fe:34:e1:12:db","rom_version":"v1.0.5t23701(a)"}, "meta": {"Au▒horization": "token ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒"}}
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Not able to connect to cloud[Done]
-
- Posts: 1
- Joined: Sun May 08, 2016 9:41 pm
-
- Posts: 5
- Joined: Thu Mar 12, 2015 3:57 pm
Re: Not able to connect to cloud
Postby ankitsohliya » Wed May 18, 2016 1:52 pm
I have the same issue. my jason data is
{"nonce": 350621222, "path": "/v1/datastreams/cpu6/datapoints", "method": "POST","meta": {"Authorization": "token 2700cdabb3fec1b08d831252c0952cb00d118d5c"}, "body":{"datapoints": [{"at":"2016-04-09 11:28:01","x":1010101010112.0
}]}}
The same format is working fine, but since last two date is responsing with
{"status": 400, "message": "invalid json string"}
Is anything changed from espressif.
Or I am doing any typo or any other mistake?
{"nonce": 350621222, "path": "/v1/datastreams/cpu6/datapoints", "method": "POST","meta": {"Authorization": "token 2700cdabb3fec1b08d831252c0952cb00d118d5c"}, "body":{"datapoints": [{"at":"2016-04-09 11:28:01","x":1010101010112.0
}]}}
The same format is working fine, but since last two date is responsing with
{"status": 400, "message": "invalid json string"}
Is anything changed from espressif.
Or I am doing any typo or any other mistake?
-
- Posts: 5
- Joined: Thu Mar 12, 2015 3:57 pm
Re: Not able to connect to cloud
Postby ankitsohliya » Wed May 18, 2016 3:03 pm
Hi,
I find out the solution, I am putting <LF> in between just after x value, I think you should check for similar. It might be <CR> or <LF>.
I find out the solution, I am putting <LF> in between just after x value, I think you should check for similar. It might be <CR> or <LF>.

Who is online
Users browsing this forum: No registered users and 3 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.