WiFi智慧农业设备显示未激活

Viewed 76

技术支持提问请严格按照以下格式提供对应信息,否则会影响回复时效,一定要描述清楚,以免一次回复无法解决问题

(提问前请先自查自己是否很仔细看过教程了,教程中的每句话都很重要,教程都是经过验证的,不会有问题的)

一、描述你遇到的问题

wifi智慧农业不能连接华为云平台显示设备未激活,但设备已成功连接手机热点

二、你具体做的所有步骤结果截图

修改过代码地方的截图


三、当前开发板状态全景照片

四、开发板串口所有日志

DEBUG][19831][task_sensor_entry] SENSOR:lum:15.000000 temp:33.294044 hum:48.523689
[ERROR][19961][Esp8266Close] ATCLOSE:0 FAILED
[DEBUG][19965][dmp_connect] oc_mqtt_connect:recode:2 :FAILED
[DEBUG][19971][hub_step] hub_step:err:2
[DEBUG][1][link_main] linkmain:V2.2.2 AT 19:50:52 ON Sep 17 2024
[DEBUG][7][link_tcpip_imp_init] ESP8266 CONFIGURE:SSID:BearPi PWD:123456789 RCVCACHE:1024(Byte) CMDTIMEOUT:2000(ms)
[DEBUG][18][link_tcpip_imp_init] Try to connect ap..
WELCOME TO IOT_LINK SHELL

LiteOS:/>ATSND:8 bytes:AT+RST

ATRCV:31 bytes:AT+RST

OK
WIFI DISCONNECT

ATRCV:51 bytes:
ets Jan 8 2013,rst cause:2, boot mode:(3,6)

ATRCV:37 bytes:load 0x40100000, len 2592, room 16

ATRCV:56 bytes:tail 0
chksum 0xf3
load 0x3ffe8000, len 764, room 8

ATRCV:56 bytes:tail 4
chksum 0x92
load 0x3ffe82fc, len 676, room 4

ATRCV:173 bytes:tail 0
chksum 0x22
csum 0x22

2nd boot version : 1.7(5d6f877)
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user1 @ 1000

ATRCV:199 bytes:屸?俷鞉r傭n|?l lll`b? 瀨r?l渘?俷ATE0

ATRCV:12 bytes:ATE0

OK

ATSND:15 bytes:AT+CIPDINFO=0

ATRCV:6 bytes:
OK

ATSND:17 bytes:AT+CWMODE_CUR=1

ATRCV:6 bytes:
OK

ATSND:13 bytes:AT+CIPMUX=1

ATRCV:6 bytes:
OK

ATSND:35 bytes:AT+CWJAP_CUR="BearPi","123456789"

ATRCV:16 bytes:WIFI CONNECTED

ATRCV:13 bytes:WIFI GOT IP

ATRCV:6 bytes:
OK

[DEBUG][7023][link_tcpip_init] IOT_LINK:DO TCPIP LOAD-IMPLEMENT RET:0
[DEBUG][7030][dtls_al_init] IOT_LINK:DO DTLS LOAD-IMPLEMENT RET:0
[DEBUG][7036][mqtt_al_init] IOT_LINK:DO MQTT LOAD-IMPLEMENT RET:0
[DEBUG][7042][oc_mqtt_init] IOT_LINK:DO OC MQTT LOAD-IMPLEMENT RET:0
[DEBUG][7048][standard_app_demo_main] This Is MQTT V5 DEMOS:HC Display
[DEBUG][7381][task_sensor_entry] SENSOR:lum:14.166667 temp:33.336769 hum:48.609138
[DEBUG][7389][hub_step] hub_step:enter
[DEBUG][7393][dmp_connect] oc_mqtt_connect:server:117.78.5.125 port:1883
[DEBUG][7400][dmp_connect] oc_mqtt_connect:client_id:66e93ee7617f15471921b73d_202011409_0_0_1970000100
[DEBUG][7409][dmp_connect] oc_mqtt_connect:user:66e93ee7617f15471921b73d_202011409 passwd:881017598f8830735e0d4b75e00a9c9703fde07861badf75b911142b0cd1eb15
[ERROR][9608][Esp8266Close] ATCLOSE:0 FAILED
[DEBUG][9612][dmp_connect] oc_mqtt_connect:recode:6 :FAILED
[DEBUG][9617][hub_step] hub_step:err:6
[DEBUG][12606][task_sensor_entry] SENSOR:lum:14.166667 temp:33.294044 hum:48.340580
[DEBUG][17831][task_sensor_entry] SENSOR:lum:30.000000 temp:33.251320 hum:48.078125
[DEBUG][23056][task_sensor_entry] SENSOR:lum:30.833334 temp:33.262001 hum:47.895020
[DEBUG][28281][task_sensor_entry] SENSOR:lum:30.000000 temp:33.251320 hum:47.675289
[DEBUG][33506][task_sensor_entry] SENSOR:lum:30.833334 temp:33.262001 hum:47.614250
[DEBUG][38731][task_sensor_entry] SENSOR:lum:30.000000 temp:33.272682 hum:47.675289
[DEBUG][43956][task_sensor_entry] SENSOR:lum:30.833334 temp:33.251320 hum:47.736324
[DEBUG][49181][task_sensor_entry] SENSOR:lum:30.833334 temp:33.336769 hum:47.797359
[DEBUG][54406][task_sensor_entry] SENSOR:lum:14.166667 temp:33.422218 hum:47.791256
[DEBUG][59631][task_sensor_entry] SENSOR:lum:14.166667 temp:33.400856 hum:47.705807
[DEBUG][64856][task_sensor_entry] SENSOR:lum:15.000000 temp:33.432899 hum:47.608147
[DEBUG][70081][task_sensor_entry] SENSOR:lum:14.166667 temp:33.507668 hum:48.096436
[DEBUG][75306][task_sensor_entry] SENSOR:lum:14.166667 temp:33.539711 hum:47.882812
[DEBUG][80532][task_sensor_entry] SENSOR:lum:15.000000 temp:33.475624 hum:48.371098
[DEBUG][85757][task_sensor_entry] SENSOR:lum:14.166667 temp:33.464943 hum:48.285648
[DEBUG][90982][task_sensor_entry] SENSOR:lum:14.166667 temp:33.443581 hum:48.493172
[DEBUG][96207][task_sensor_entry] SENSOR:lum:14.166667 temp:33.507668 hum:48.255131
[DEBUG][101432][task_sensor_entry] SENSOR:lum:14.166667 temp:33.422218 hum:48.316166
[DEBUG][106658][task_sensor_entry] SENSOR:lum:14.166667 temp:33.422218 hum:48.859386
[DEBUG][111884][task_sensor_entry] SENSOR:lum:14.166667 temp:33.358131 hum:48.883804
[DEBUG][117110][task_sensor_entry] SENSOR:lum:14.166667 temp:33.422218 hum:48.889908
[DEBUG][122336][task_sensor_entry] SENSOR:lum:14.166667 temp:33.358131 hum:48.651867
[DEBUG][127562][task_sensor_entry] SENSOR:lum:14.166667 temp:33.390175 hum:47.840084
[DEBUG][132788][task_sensor_entry] SENSOR:lum:15.000000 temp:33.432899 hum:47.461662
[DEBUG][138014][task_sensor_entry] SENSOR:lum:15.000000 temp:33.422218 hum:47.388420
[DEBUG][143240][task_sensor_entry] SENSOR:lum:15.000000 temp:33.368813 hum:47.895020
[DEBUG][148466][task_sensor_entry] SENSOR:lum:14.166667 temp:33.390175 hum:47.754635
[DEBUG][153692][task_sensor_entry] SENSOR:lum:29.166666 temp:33.422218 hum:47.742428
[DEBUG][158918][task_sensor_entry] SENSOR:lum:15.000000 temp:33.464943 hum:48.786144
[DEBUG][164144][task_sensor_entry] SENSOR:lum:14.166667 temp:33.507668 hum:48.676281
[DEBUG][169370][task_sensor_entry] SENSOR:lum:14.166667 temp:33.561073 hum:47.809566

2 Answers


把这个切换成标准版,重新创建产品和设备,或者把对接IP改成基础版的

老哥,你用的是liteos stduio吗?如果是哪个版本的?