Not able to connect to cloud[Done]

morethegr8
Posts: 1
Joined: Sun May 08, 2016 9:41 pm

Not able to connect to cloud[Done]

Postby morethegr8 » Tue May 17, 2016 3:41 pm

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 ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒"}}

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ankitsohliya
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?

ankitsohliya
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>. :o

Who is online

Users browsing this forum: No registered users and 1 guest