电脑配置能连外网但是手机APK操作时却激活不了
-
- Posts: 26
- Joined: Tue Mar 03, 2015 10:38 am
电脑配置能连外网但是手机APK操作时却激活不了
Postby mcusun2000 » Fri Mar 13, 2015 9:59 pm
ESP8266的烧写文件不动,尝试用电脑去激活设备,是没有问题的,能通过电脑发指令连和外网,
但是手机APK去激活设备时,输入wifi的名称和密码后
一直显示激活中,不会动,卡在那里,都没有任何提示。
换了三部手机测试也是一样的情况,两部红米,一部coolpad
打印口一直打印这样的信息,可能是什么原因呢?试了新版本的APK与旧的都是一样0.85 与0.90的都一样
reconnect
rm match
pm close 0 0 0/584388207
scandone
add 0
aid 7
pm close 0 0 0/585126494
cnt
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
rm match
pm close 0 0 0/593259255
reconnect
scandone
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
add 0
aid 7
pm close 0 0 0/594541087
cnt
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
rm match
pm close 0 0 0/602679125
reconnect
scandone
add 0
aid 7
pm close 0 0 0/603960693
cnt
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
reconnect
rm match
pm close 0 0 0/613961004
scandone
add 0
aid 7
pm close 0 0 0/614398872
cnt
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
station: 74:51:ba:47:5c:21 join, AID = 1
rm match
pm close 0 0 0/622469833
We have a POST request.
webserver's 192.168.4.2:48834 disconnect
reconnect
scandone
scandone
reconnect
scandone
add 0
aid 7
pm close 0 0 0/627514806
cnt
但是手机APK去激活设备时,输入wifi的名称和密码后
一直显示激活中,不会动,卡在那里,都没有任何提示。
换了三部手机测试也是一样的情况,两部红米,一部coolpad
打印口一直打印这样的信息,可能是什么原因呢?试了新版本的APK与旧的都是一样0.85 与0.90的都一样
reconnect
rm match
pm close 0 0 0/584388207
scandone
add 0
aid 7
pm close 0 0 0/585126494
cnt
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
rm match
pm close 0 0 0/593259255
reconnect
scandone
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
add 0
aid 7
pm close 0 0 0/594541087
cnt
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
rm match
pm close 0 0 0/602679125
reconnect
scandone
add 0
aid 7
pm close 0 0 0/603960693
cnt
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
reconnect
rm match
pm close 0 0 0/613961004
scandone
add 0
aid 7
pm close 0 0 0/614398872
cnt
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
station: 74:51:ba:47:5c:21 join, AID = 1
rm match
pm close 0 0 0/622469833
We have a POST request.
webserver's 192.168.4.2:48834 disconnect
reconnect
scandone
scandone
reconnect
scandone
add 0
aid 7
pm close 0 0 0/627514806
cnt
Last edited by mcusun2000 on Sat Mar 21, 2015 8:28 am, edited 2 times in total.
-
- Posts: 26
- Joined: Tue Mar 03, 2015 10:38 am
Re: 电脑配置能连外网但是手机APK操作时却激活不了
Postby mcusun2000 » Wed Mar 18, 2015 1:28 pm
afunx wrote:你好,请按以下方式再试一下,以帮助我们定位问题:
1. 使用APK激活Device
2. APK一直显示在激活中
3. APK上激活失败,Device消失
4. 去wifi设置中查看APK是否连上指定的AP(路由器)
5. 如果APK已连上,此时用相同帐号重新登陆,APK会继续激活之前未激活成功的Device
6. 把结果尽量详细地记录下来
谢谢您的协助
1. APK是0.8.5 ,更新到最新的0.9.1 都是一样的
2. SDK是0.9.5-1-23的,把设备的类型改为plug其它的都没有动
3. 可以确认是设备一定是联上了服务器,因为AP的SSID后面消失了,并且在服务器上有活动
4. 新板本的手机端,一直是显示设备激活中|NEW, 这个是什么可能呢?
能否提供一个测试的bin文件包,我进行一下测试,搞了几天,实在是整不出原因来?
-
- Posts: 26
- Joined: Tue Mar 03, 2015 10:38 am
Re: 电脑配置能连外网但是手机APK操作时却激活不了(还没有解决)
Postby mcusun2000 » Wed Mar 18, 2015 2:07 pm
//这个是手机激活后的打印,但是手机APK没有找出设备来
add 1
aid 1
pm close 0 0 0/48662387
station: 18:59:36:83:9f:5b join, AID = 1
We have a POST request.
webserver's 192.168.4.2:43594 disconnect
station: 18:59:36:83:9f:5b leave, AID = 1
rm match
pm close 0 0 0/50554922
scandone
add 0
aid 8
pm close 0 0 0/52179805
connected with lin-0, channel 11
ip:192.168.88.176,mask:255.255.255.0,gw:192.168.88.1
cnt
user_esp_platform_dns_found 115.29.202.58
user_esp_platform_connect
user_esp_platform_connect_cb
bcn 0
del if1
mode : sta(18:fe:34:a0:d1:68)
{"nonce": 563641187,"path": "/v1/device/activate/", "method": "POST", "body": {"encrypt_method": "PLAIN", "token": "n61ywsi774wp4h9xobqmg5qezcxiuubz67tq1uhz", "bssid": "18:fe:34:a0:d1:68","rom_version":"b1.0.1t45772(a)"}, "meta": {"Authorization": "token 3854c74ca9cab75d925b67d63bc9fb9697602d85"}}
user_esp_platform_sent_cb
user_esp_platform_recv_cb {"device": {"productbatch_id": 222, "bssid": "18:fe:34:a0:d1:68", "ptype": 27388, "activate_status": 1, "serial": "f7b500a4", "id": 8321, "description": "device-description-f7b500a4", "last_active": "2015-03-18 14:04:49", "rom_version": "b1.0.1t45772(a)", "last_pull": "2015-03-18 13:45:51", "last_push": "2015-03-18 13:45:51", "location": "", "metadata": "", "status": 2, "updated": "2015-03-18 14:04:49", "latest_rom_version": "b1.3.1t23701(a)", "activated_at": "2015-03-18 14:04:49", "visibly": 1, "is_private": 1, "product_id": 678, "name": "device-name-f7b500a4", "created": "2015-03-18 13:45:51", "is_frozen": 0, "key_id": 15323}, "nonce": 563641187, "token": {"datastream_id": 0, "updated": "2015-03-18 14:04:49", "user_id": 1201, "name": "owner key", "created": "2015-03-18 14:04:49", "generated_at": "2015-03-18 14:04:49", "source_ip": "*", "visibly": 1, "delete_after_used": 0, "datastream_tmpl_id": 0, "token": "n61ywsi774wp4h9xobqmg5qezcxiuubz67tq1uhz", "activate_status": 1, "is_owner_key": 1, "revoke_prekeys_if_ownerkey": 1, "access_methods": "*", "token_expired_at": "2015-04-17 14:04:49", "scope": 3, "expired_at": "2288-12-31 14:04:49", "product_id": 0, "id": 30181, "device_id": 8321}, "status": 200, "key": {"updated": "2015-03-18 13:45:51", "user_id": 1201, "product_id": 0, "name": "device key", "created": "2015-03-18 13:45:51", "source_ip": "*", "visibly": 1, "id": 15323, "datastream_tmpl_id": 0, "token": "3854c74ca9cab75d925b67d63bc9
user_esp_platform_recv_cb fb9697602d85", "access_methods": "*", "is_owner_key": 0, "authorized_user_id": 0, "scope": 3, "device_id": 8321, "activate_status": 1, "datastream_id": 0, "expired_at": "2288-12-31 13:45:51"}}
device activates successful.
{"nonce": 807062353, "path": "/v1/device/identify", "method": "GET","meta": {"Authorization": "token 3854c74ca9cab75d925b67d63bc9fb9697602d85"}}
user_esp_platform_sent_cb
user_esp_platform_recv_cb {"device": {"productbatch_id": 222, "bssid": "18:fe:34:a0:d1:68", "ptype": 27388, "activate_status": 1, "serial": "f7b500a4", "id": 8321, "description": "device-description-f7b500a4", "last_active": "2015-03-18 14:04:50", "rom_version": "b1.0.1t45772(a)", "last_pull": "2015-03-18 13:45:51", "last_push": "2015-03-18 13:45:51", "location": "", "metadata": "", "status": 2, "updated": "2015-03-18 14:04:50", "latest_rom_version": "b1.3.1t23701(a)", "activated_at": "2015-03-18 14:04:49", "visibly": 1, "is_private": 1, "product_id": 678, "name": "device-name-f7b500a4", "created": "2015-03-18 13:45:51", "is_frozen": 0, "key_id": 15323}, "nonce": 807062353, "message": "device identified", "status": 200, "datetime": "2015-03-18 14:04:50"}
{"body": {}, "get":{"is_humanize_format_simple":"true"},"meta": {"Authorization": "Token 3854c74ca9cab75d925b67d63bc9fb9697602d85"},"path": "/v1/device/timers/","post":{},"method": "GET"}
user_esp_platform_sent_cb
user_esp_platform_recv_cb {"nonce": 504385250, "status": 200, "weekday_timestamp_mod": 223490, "timestamp": 1426658690, "timers": "", "weekday": 3, "now": "2015-03-18 14:04:50"}
user_esp_platform_sent_beacon 104792512
user_esp_platform_sent_cb
user_esp_platform_recv_cb {"status": 200, "nonce": 743040732, "message": "ping success", "datetime": "2015-03-18 14:05:40"}
ping success
add 1
aid 1
pm close 0 0 0/48662387
station: 18:59:36:83:9f:5b join, AID = 1
We have a POST request.
webserver's 192.168.4.2:43594 disconnect
station: 18:59:36:83:9f:5b leave, AID = 1
rm match
pm close 0 0 0/50554922
scandone
add 0
aid 8
pm close 0 0 0/52179805
connected with lin-0, channel 11
ip:192.168.88.176,mask:255.255.255.0,gw:192.168.88.1
cnt
user_esp_platform_dns_found 115.29.202.58
user_esp_platform_connect
user_esp_platform_connect_cb
bcn 0
del if1
mode : sta(18:fe:34:a0:d1:68)
{"nonce": 563641187,"path": "/v1/device/activate/", "method": "POST", "body": {"encrypt_method": "PLAIN", "token": "n61ywsi774wp4h9xobqmg5qezcxiuubz67tq1uhz", "bssid": "18:fe:34:a0:d1:68","rom_version":"b1.0.1t45772(a)"}, "meta": {"Authorization": "token 3854c74ca9cab75d925b67d63bc9fb9697602d85"}}
user_esp_platform_sent_cb
user_esp_platform_recv_cb {"device": {"productbatch_id": 222, "bssid": "18:fe:34:a0:d1:68", "ptype": 27388, "activate_status": 1, "serial": "f7b500a4", "id": 8321, "description": "device-description-f7b500a4", "last_active": "2015-03-18 14:04:49", "rom_version": "b1.0.1t45772(a)", "last_pull": "2015-03-18 13:45:51", "last_push": "2015-03-18 13:45:51", "location": "", "metadata": "", "status": 2, "updated": "2015-03-18 14:04:49", "latest_rom_version": "b1.3.1t23701(a)", "activated_at": "2015-03-18 14:04:49", "visibly": 1, "is_private": 1, "product_id": 678, "name": "device-name-f7b500a4", "created": "2015-03-18 13:45:51", "is_frozen": 0, "key_id": 15323}, "nonce": 563641187, "token": {"datastream_id": 0, "updated": "2015-03-18 14:04:49", "user_id": 1201, "name": "owner key", "created": "2015-03-18 14:04:49", "generated_at": "2015-03-18 14:04:49", "source_ip": "*", "visibly": 1, "delete_after_used": 0, "datastream_tmpl_id": 0, "token": "n61ywsi774wp4h9xobqmg5qezcxiuubz67tq1uhz", "activate_status": 1, "is_owner_key": 1, "revoke_prekeys_if_ownerkey": 1, "access_methods": "*", "token_expired_at": "2015-04-17 14:04:49", "scope": 3, "expired_at": "2288-12-31 14:04:49", "product_id": 0, "id": 30181, "device_id": 8321}, "status": 200, "key": {"updated": "2015-03-18 13:45:51", "user_id": 1201, "product_id": 0, "name": "device key", "created": "2015-03-18 13:45:51", "source_ip": "*", "visibly": 1, "id": 15323, "datastream_tmpl_id": 0, "token": "3854c74ca9cab75d925b67d63bc9
user_esp_platform_recv_cb fb9697602d85", "access_methods": "*", "is_owner_key": 0, "authorized_user_id": 0, "scope": 3, "device_id": 8321, "activate_status": 1, "datastream_id": 0, "expired_at": "2288-12-31 13:45:51"}}
device activates successful.
{"nonce": 807062353, "path": "/v1/device/identify", "method": "GET","meta": {"Authorization": "token 3854c74ca9cab75d925b67d63bc9fb9697602d85"}}
user_esp_platform_sent_cb
user_esp_platform_recv_cb {"device": {"productbatch_id": 222, "bssid": "18:fe:34:a0:d1:68", "ptype": 27388, "activate_status": 1, "serial": "f7b500a4", "id": 8321, "description": "device-description-f7b500a4", "last_active": "2015-03-18 14:04:50", "rom_version": "b1.0.1t45772(a)", "last_pull": "2015-03-18 13:45:51", "last_push": "2015-03-18 13:45:51", "location": "", "metadata": "", "status": 2, "updated": "2015-03-18 14:04:50", "latest_rom_version": "b1.3.1t23701(a)", "activated_at": "2015-03-18 14:04:49", "visibly": 1, "is_private": 1, "product_id": 678, "name": "device-name-f7b500a4", "created": "2015-03-18 13:45:51", "is_frozen": 0, "key_id": 15323}, "nonce": 807062353, "message": "device identified", "status": 200, "datetime": "2015-03-18 14:04:50"}
{"body": {}, "get":{"is_humanize_format_simple":"true"},"meta": {"Authorization": "Token 3854c74ca9cab75d925b67d63bc9fb9697602d85"},"path": "/v1/device/timers/","post":{},"method": "GET"}
user_esp_platform_sent_cb
user_esp_platform_recv_cb {"nonce": 504385250, "status": 200, "weekday_timestamp_mod": 223490, "timestamp": 1426658690, "timers": "", "weekday": 3, "now": "2015-03-18 14:04:50"}
user_esp_platform_sent_beacon 104792512
user_esp_platform_sent_cb
user_esp_platform_recv_cb {"status": 200, "nonce": 743040732, "message": "ping success", "datetime": "2015-03-18 14:05:40"}
ping success
Who is online
Users browsing this forum: No registered users and 171 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.