收藏官网首页
查看: 2848|回复: 3

[求助] 请问一下为什么我的8266只有在连接机智云串口助手才能正常工作

1

主题

5

帖子

94

积分

注册会员

Rank: 2

积分
94
跳转到指定楼层
楼主
发表于 2019-4-26 01:44:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
免费使用STM32、APP自动代码生成工具
我的8266 12F 用机智云串口助手调试的时候 APP设备在线,一切正常。就是当直接上电的时候 虽然连上了路由器 但是APP里面的设备却没有上线。也用手机热点和demo APP试过了 也是一样 自己迟迟不能解决 还望大佬解答一下 附一个通讯模组调试日志不知道有没有帮助

1

主题

5

帖子

94

积分

注册会员

Rank: 2

积分
94
沙发
 楼主| 发表于 2019-4-27 03:57:33 | 只看该作者
---UPGRADE_FW_BIN1---
[Auth] gagentAuthInit : start ...
[029624][Dev]  Get gagent config data from master eare.
[029624][Dev]  Save gagent config data
[Auth] GAgetn Stander had did don't need to get authkey!!!
[Auth] gagentAuthInit : end ...
[028592][Dev] sizeof(pgContextData->gc.Ursvd.rsvd_st) : 244 result=0.
[028592][Dev] Domain:api.gizwits.com:80.
[028592][Dev] tz in sec:28800,timezone:8.0
[028528][WiFiEvent] In Station mode
[028528][WiFiEvent] SSID:GB2312,KEY:30444444
[028528][WiFiEvent]  Wifi station connect failed!
[028528][NWK] NWK_WIFI_STA_UP
[028528][Dev] uart sendLen:9 ok.
[028528][Local] GAgent_LocalInit OK!
[028528][LanOTA] lanOTAInit ...... ok
[028480][Simulator] GAgent lib Time:Jun  9 2018 14:47:38
[028480][GAgent] GAgent Start...
[028480][Local] ----------------------------------------- GAGENT INFO --------------------------------------
[028480][Local] GAgent Work in GAGENT_STANDARD.
[028480][Local] GAgent Product Soft Version: 04020034. Hard Version: 00ESP826
[028480][Local] GAgent Compiled Time: Jun  9 2018, 14:47:49.
[028480][Local] GAgent cache first ssid GB2312.
[028480][Local] GAgent backup ssid GB2312.
[028480][Local] GAgent mac :84F3EB73FE9B
[028480][Local] GAgent authKey : [028480][Local] GAgent passcodelen:10 : SN****CP
[028480][Local] GAgent did : 37fGa*********osHM
[028480][Local] GAgent old passcode: NULL
[028480][Local] GAgent old_did: NULL
[028480][Local] GAgent old pk :662bb49aa649432e939c64fdcea8bf0e len:32
[028480][Local] GAgent AP name:XPG-GAgent-FE9B
[028480][Local] GAgent 3rd cloud :
[028480][Local] GAgent M2M Host :sandbox.gizwits.com , IP :203.195.142.207
[028480][Local] GAgent Default GServer Host :api.gizwits.com port:80
[028480][Local] GAgent GService Host :api.gizwits.com , Port :0 , IP :139.199.92.156
[028480][Local] GAgent BizLogLev:00,SysLogLev:00
[028480][Local] GAgent MCU Protocol Vertion:.
[028480][Local] GAgent MCU P0 Vertion:.
[028480][Local] GAgent MCU Hard Vertion:.
[028480][Local] GAgent MCU Soft Vertion:.
[028480][Local] GAgent WeChat Device Type: gh_35****ab57
[028480][Local] Flash Size:FLASH_SIZE_32Mbit .
[028480][Local] --------------------------------------------------------------------------------------

mode : sta(84:f3:eb:73:fe:9b)
add if0
[027120][NWK] gagentNwkEventCB event: 0x0004
[027120][Local] GAgentStatus change, lastGAgentStatus:0x0000, newGAgentStatus:0x0002
[026984][Local] Local send list node cnt 1
[026984][Local] Local is busy,will be sent for a while
[026984][NWK] haiNwkStatus: 0x000A, gagentStatus: 0x0002
[027208][Local] BaudRate : 9600
[027208][Dev] uart sendLen:9 ok.
[027208][Local] Local_UartRx_Timer resendTime = 1
[027208][Local] BaudRate : 9600
[027208][Dev] uart sendLen:9 ok.
[027208][Local] Local_UartRx_Timer resendTime = 2
[027208][Local] BaudRate : 9600
[027208][Dev] uart sendLen:9 ok.
[027208][Local] Local_UartRx_Timer resendTime = 3
[027208][Local] BaudRate : 9600
[027208][Dev] uart sendLen:9 ok.
[027208][Local] Local_UartRx_Timer resendTime = 4
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 4
cnt

connected with GB2312, channel 1
dhcp client start...
[026264][WiFiEvent] connect to ssid GB2312, channel 1
[026752][Local] BaudRate : 9600
[026752][Dev] uart sendLen:9 ok.
[026752][Local] Local_UartRx_Timer resendTime = 5
[026752][Local] BaudRate : 9600
[026752][Dev] uart sendLen:9 ok.
[026752][Local] Local_UartRx_Timer resendTime = 6
ip:2.2.2.123,mask:255.255.255.0,gw:2.2.2.2
[026584][WiFiEvent] ip:2.2.2.123,mask:255.255.255.0,gw:2.2.2.2
[026584][NWK] NWK_WIFI_STA_CONNECTED
[026752][NWK] gagentNwkEventCB event: 0x0010
[026752][Local] GAgentStatus change, lastGAgentStatus:0x0002, newGAgentStatus:0x0012
[026608][Local] Local send list node cnt 2
[026608][Local] Local is busy,will be sent for a while
[026448][WiFiEvent] enable bind mode, timeout time: 0.
[026448][GServer]  Has ip, Connect GServer.
[026448][Dev]  Save gagent config data
[026448][WiFiEvent] enable bind mode, timeout time: 0.
[026448][FR]  Cancle router connect monitor.
[026448][NWK] haiNwkStatus: 0x001A, gagentStatus: 0x001A
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 7
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 8
[026448][WiFiEvent] Scan wifi:GB2312 power. wifiRSSI: -34
[026448][WiFiEvent] SSID power:-34 level:7 wifistatus:071a
[026448][WiFiEvent] To bc airkiss config OK.
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 9
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 10
[026448][WiFiEvent] To bc airkiss config OK.
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 11
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 12
[026448][WiFiEvent] To bc airkiss config OK.
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 13
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 14
[026448][WiFiEvent] To bc airkiss config OK.
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 15
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 16
[026448][WiFiEvent] To bc airkiss config OK.
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 17
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 18
[026448][WiFiEvent] To bc airkiss config OK.
[026448][Local] BaudRate : 9600
[026448][Dev] uart sendLen:9 ok.
[026448][Local] Local_UartRx_Timer resendTime = 19
[026448][Local]  GAgent get local info fail ...
[026448][Local]  Please check your local data,and restart GAgent again !!
[026448][Dev] gagentDevRestart 1176 GAGENT_RESTART_DIRECT
[026448][Dev] some net err occur,do nothing !!!
[026448][Dev] Please restart GAgent !!!
state: 5 -> 0 (0)
rm 0
del if0
usl
[027048][Dev] uart sendLen:9 ok.
[027048][Local] Local_UartRx_Timer resendTime = 20
[027048][WiFiEvent] disconnect from ssid GB2312, reason 8
[027048][NWK] NWK_WIFI_STA_DISCONNECTED
[027104][NWK] gagentNwkEventCB event: 0x0020
[027104][Local] GAgentStatus change, lastGAgentStatus:0x0012, newGAgentStatus:0x000A
[026968][Local] Local send list node cnt 3
[026968][Local] Local is busy,will be sent for a while
[026968][Timer]  gagentTimerDel <null> has not linked.
[026968][Timer]  gagentTimerDel <null> has not linked.
[026968][NWK] haiNwkStatus: 0x000A, gagentStatus: 0x000A
@奪-nP酠 %掏        %Y+Q
       

蔔*9E        )dP        5y NPA        i籢僋*9∩        )D        5轕)LPA        I蚔X-凗∩F        )dP諽
NRP 権        JT        p-蒦托zB@LA
詤+k
*7S)17宜杏蟺
P藦€*孋L!        p---------------SDK version:2.0.0(5a875ba)--------------
system_get_free_heap_size=36208
reset reason: 4
Time:Jun  9 2018 : 14:48:13

1

主题

5

帖子

94

积分

注册会员

Rank: 2

积分
94
板凳
 楼主| 发表于 2019-4-27 03:59:02 | 只看该作者
没有人解答嘛。。。串口日志上了。现在是WIFI会一会一会掉线的 还是没办法连上云。

7

主题

14

帖子

221

积分

中级会员

Rank: 3Rank: 3

积分
221
地板
发表于 2019-4-28 16:51:48 | 只看该作者
可能是你烧录固件的时候出现了问题,建议重新烧录固件,而且是建议将原来出厂的固件烧进去后再烧写机智云的固件。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )

快速回复 返回顶部 返回列表