SDK version:2.0.0(656edbf) IOT VERSION = v1.0.5t45772(a) reset reason: 0 LIGHT PARAM: R: 33883397 LIGHT PARAM: G: 84148229 LIGHT PARAM: B: 84214789 LIGHT PARAM: CW: -131580 LIGHT PARAM: WW: -521080592 LIGHT PARAM: P: 1000 malloc:1 prd:1000 r : 22222 g: 22222 b: 22222 cw: 22222 ww: 22222 free:0 PWM version : 00000003 mode : sta(5c:cf:7f:8b:97:f0) + softAP(5e:cf:7f:8b:97:f0) add if0 add if1 dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1) bcn 100 finish add 1 aid 1 station: 74:e5:0b:99:52:c8 join, AID = 1 len:145 We have a GET request. webserver's 192.168.4.2:52773 disconnect len:321 A_dat:0,tot:0,lenght:0 We have a POST request. webserver's 192.168.4.2:52774 disconnect len:260 We have a GET request. webserver's 192.168.4.2:52775 disconnect len:260 We have a GET request. webserver's 192.168.4.2:52776 disconnect len:260 We have a GET request. webserver's 192.168.4.2:52777 disconnect len:260 We have a GET request. webserver's 192.168.4.2:52778 disconnect len:94 We have a GET request. webserver's 192.168.4.2:52788 disconnect len:94 We have a GET request. webserver's 192.168.4.2:52793 disconnect len:288 A_dat:141,tot:141,lenght:141 We have a POST request. webserver's 192.168.4.2:52794 disconnect scandone switch to channel 12 state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 4 cnt
connected with Netcore1702, channel 12 dhcp client start... err already associed! station: 74:e5:0b:99:52:c8 leave, AID = 1 rm 1 add 1 aid 1 station: 74:e5:0b:99:52:c8 join, AID = 1 ip:192.168.1.10,mask:255.255.255.0,gw:192.168.1.1 host_name = espressif_light_demo server_name = _espLight._tcp.local user_esp_platform_dns_found 115.29.202.58 user_esp_platform_connect len:145 We have a GET request. webserver's 192.168.4.2:52797 disconnect len:321 A_dat:0,tot:0,lenght:0 We have a POST request. webserver's 192.168.4.2:52798 disconnect user_esp_platform_connect_cb station: 74:e5:0b:99:52:c8 leave, AID = 1 rm 1 bcn 0 del if1 pm open,type:2 0 mode : sta(5c:cf:7f:8b:97:f0) {"nonce": 1548589168,"path": "/v1/device/activate/", "method": "POST", "body": {"encrypt_method": "PLAIN", "token": "37ff6cc04f30b1bf37d4c698534c27568c7a81e7", "bssid": "5c:cf:7f:8b:97:f0","rom_version":"v1.0.5t45772(a)"}, "meta": {"Authorization": "token "}}
When I Send the command"curl -X POST -H "Content-Type:application/json" -d '{"Request" :{"Station":{"Connect_Station":{"ssid":"Netcore1702","password":"liuxintai","token":"37ff6cc04f30b1bf37d4c698534c27568c7a81e7"}}}}' http://192.168.4.1/config?command=wifi" the message "{"nonce": 1548589168,"path": "/v1/device/activate/", "method": "POST", "body": {"encrypt_method": "PLAIN", "token": "37ff6cc04f30b1bf37d4c698534c27568c7a81e7", "bssid": "5c:cf:7f:8b:97:f0","rom_version":"v1.0.5t45772(a)"}, "meta": {"Authorization": "token "}}
user_esp_platform_sent_cb user_esp_platform_recv_cb {"status": 403, "result": "failed", "message": "not valid key, Authorization: token AUTH-TOKEN"}"has been printed. It probable means the esp8266 load 694ae031991698b605d4571f7ebbb5923b2bbf90.bin(master_device_key.bin) failed. The flash download message as the img:
Statistics: Posted by yangyang — Sun Oct 09, 2016 9:22 pm
]]>2016-10-09T20:48:58+08:002016-10-09T20:48:58+08:00https://bbs.espressif.com:443/viewtopic.php?t=2859&p=10091#p10091the log as blow: ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x40100000, len 816, room 16 tail 0 chksum 0x8d load 0x3ffe8000, len 788, room 8 tail 12 chksum 0xcf ho 0 tail 12 room 4 load 0x3ffe8314, len 288, room 12 tail 4 chksum 0xcf csum 0xcf
2nd boot version : 1.2 SPI Speed : 40MHz SPI Mode : QIO SPI Flash Size : 4Mbit jump to run user1
SDK version:2.0.0(656edbf) IOT VERSION = v1.0.5t45772(a) reset reason: 0 LIGHT PARAM: R: 0 LIGHT PARAM: G: 0 LIGHT PARAM: B: 0 LIGHT PARAM: CW: 0 LIGHT PARAM: WW: 0 LIGHT PARAM: P: 1000 malloc:1 prd:1000 r : 0 g: 0 b: 0 cw: 0 ww: 0 free:0 finish light sleep en sleep enable,type: 1 PWM version : 00000003 mode : sta(5c:cf:7f:8b:97:f0) + softAP(5e:cf:7f:8b:97:f0) add if0 add if1 dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1) bcn 100 add 1 aid 1 station: 74:e5:0b:99:52:c8 join, AID = 1 len:145 We have a GET request. webserver's 192.168.4.2:51911 disconnect len:321 A_dat:0,tot:0,lenght:0 We have a POST request. webserver's 192.168.4.2:51912 disconnect len:260 We have a GET request. webserver's 192.168.4.2:51913 disconnect len:260 We have a GET request. webserver's 192.168.4.2:51914 disconnect len:260 We have a GET request. webserver's 192.168.4.2:51915 disconnect len:260 We have a GET request. webserver's 192.168.4.2:51916 disconnect add 2 aid 2 station: f8:23:b2:90:9f:60 join, AID = 2 len:288 A_dat:141,tot:141,lenght:141 We have a POST request. [E]sec fd error [E]sec fd error [E]sec fd error [E]sec fd error [E]sec fd error [E]sec fd error [E]sec fd error [E]sec fd error After I send the command" curl -X POST -H "Content-Type:application/json" -d '{"Request" :{"Station":{"Connect_Station":{"ssid":"Netcore1702","password":"liuxintai","token":"37ff6cc04f30b1bf37d4c698534c27568c7a81e7"}}}}' http://192.168.4.1/config?command=wifi",As seen "[E]sec fd error" been print through the serial debugging assistant. by the way,i set the spi size and map as 4096KB(1024KB+1024KB). So ,my you help me analyze the problem?
Statistics: Posted by yangyang — Sun Oct 09, 2016 8:48 pm