我在烧录官方例程之后发现,用手机开热点,可以正常工作,能用blinker控制板载的LED灯,但是同样的例程,改用笔记本电脑开热点之后,更改了对应的ssid之后就不能正常工作了,有哪位大佬能帮我看看是出了什么问题吗?
用的电脑是win10系统,电脑是可以正常上网的,用手机连接电脑热点之后也可以正常上网,开发板是ESP8266 node MCU,笔记本电脑的热点设置如下:
可以看到ESP8266已经连接到了热点上,并且分配了IP地址,但是在手机APP上一直显示的是离线状态,串口输出的信息如下:
[67]
__ __ __
/\ \ /\ \ __ /\ \ v0.3.5
\ \ \___ \ \ \ /\_\ ___\ \ \/'\ __ _ __
\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , < /'__`\/\`'__\
\ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\ __/\ \ \./
\ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\
\/___/ \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/
To better use blinker with your IoT project!
Download latest blinker library here!
=> https://github.com/blinker-iot/blinker-library
[101] _aliType:
[102] _duerType:
[104] _miType:
[106] _authKey: 6de0a3e460a2
[108] Connecting to ESP8266Station
[116] ESP8266_MQTT initialized...
[116]
===========================================================
================== Blinker Timer loaded! ==================
Warning!EEPROM address 1536-2431 is used for Blinker Timer!
============= DON'T USE THESE EEPROM ADDRESS! =============
===========================================================
[143] countdown state: false
[144] _cdRunState: 1
[146] _totalTime: 1
[147] _runTime: 0
[149] _action: ⸮⸮⸮?tn-abc":"tap"}]
[153] loop state: false
[154] _lpRunState: 0
[156] _times: 0
[158] _tri_times: 0
[160] _time1: 0
[161] _action1:
[163] _time2: 0
[164] _action2:
[166] _lpData: 0
[167] checkNum count: 2
[169] checkNum count: 2
[682] WiFi Connected.
[682] IP Address:
[682] 192.168.137.139
[693] [HTTP] begin: https://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=6de0a3e460a2&version=0.1.0&protocol=mqtts
[5446] [HTTP] GET... code: 200
[5458] reply was:
[5458] ==============================
[5458] {"detail": {"broker": "blinker", "deviceName": "9AC084662AHVWZVNDHXMJABV", "host": "mqtts://broker.diandeng.tech", "iotId": "3PrHBoEQYoup8SWAzxK2r2867e", "iotToken": "CUapYvUri8ZaAKhXZJDqSaCqTNyWsnVM", "port": "1884", "productKey": "blinker", "uuid": "9ac084671daa11ebb5d95254"}, "message": 1000}
[5479] ==============================
[5483] _num: 5
[5483] ====================
[5486] DEVICE_NAME_MQTT: 9AC084662AHVWZVNDHXMJABV
[5490] MQTT_PRODUCTINFO_MQTT: blinker
[5494] MQTT_ID_MQTT: 9AC084662AHVWZVNDHXMJABV
[5498] MQTT_NAME_MQTT: 3PrHBoEQYoup8SWAzxK2r2867e
[5502] MQTT_KEY_MQTT: CUapYvUri8ZaAKhXZJDqSaCqTNyWsnVM
[5507] MQTT_BROKER: blinker
[5509] HOST: broker.diandeng.tech
[5513] PORT: 1884
[5514] HOST: broker.diandeng.tech
[5517] PORT: 1884
[5519] UUID_MQTT: 9ac084671daa11ebb5d95254
[5523] ====================
[5525] BLINKER_PUB_TOPIC_MQTT: /device/9AC084662AHVWZVNDHXMJABV/s
[5531] BLINKER_SUB_TOPIC_MQTT: /device/9AC084662AHVWZVNDHXMJABV/r
[5537] Freeheap: 8464
[5543] mDNS responder started
[5544] webSocket_MQTT server started
[5545] ws://9AC084662AHVWZVNDHXMJABV.local:81
|