关于用笔记本电脑热点无法连接ESP8266-Arduino中文社区 - Powered by Discuz! Archiver

Var 发表于 2020-11-5 19:43

关于用笔记本电脑热点无法连接ESP8266

我在烧录官方例程之后发现,用手机开热点,可以正常工作,能用blinker控制板载的LED灯,但是同样的例程,改用笔记本电脑开热点之后,更改了对应的ssid之后就不能正常工作了,有哪位大佬能帮我看看是出了什么问题吗?
用的电脑是win10系统,电脑是可以正常上网的,用手机连接电脑热点之后也可以正常上网,开发板是ESP8266 node MCU,笔记本电脑的热点设置如下:

可以看到ESP8266已经连接到了热点上,并且分配了IP地址,但是在手机APP上一直显示的是离线状态,串口输出的信息如下:

__       __                __
/\ \   /\ \    __      /\ \            v0.3.5
\ \ \___ \ \ \/\_\    ___\ \ \/'\      __   _ __   
\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
\ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\__/\ \ \./
   \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\
    \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/
    To better use blinker with your IoT project!
    Download latest blinker library here!
    => https://github.com/blinker-iot/blinker-library

_aliType:
_duerType:
_miType:
_authKey: 6de0a3e460a2
Connecting to ESP8266Station
ESP8266_MQTT initialized...

===========================================================
================== Blinker Timer loaded! ==================
Warning!EEPROM address 1536-2431 is used for Blinker Timer!
============= DON'T USE THESE EEPROM ADDRESS! =============
===========================================================

countdown state: false
_cdRunState: 1
_totalTime: 1
_runTime: 0
_action: ⸮⸮⸮?tn-abc":"tap"}]
loop state: false
_lpRunState: 0
_times: 0
_tri_times: 0
_time1: 0
_action1:
_time2: 0
_action2:
_lpData: 0
checkNum count: 2
checkNum count: 2
WiFi Connected.
IP Address:
192.168.137.139
begin: https://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=6de0a3e460a2&version=0.1.0&protocol=mqtts
GET... code: 200
reply was:
==============================
{"detail": {"broker": "blinker", "deviceName": "9AC084662AHVWZVNDHXMJABV", "host": "mqtts://broker.diandeng.tech", "iotId": "3PrHBoEQYoup8SWAzxK2r2867e", "iotToken": "CUapYvUri8ZaAKhXZJDqSaCqTNyWsnVM", "port": "1884", "productKey": "blinker", "uuid": "9ac084671daa11ebb5d95254"}, "message": 1000}
==============================
_num: 5
====================
DEVICE_NAME_MQTT: 9AC084662AHVWZVNDHXMJABV
MQTT_PRODUCTINFO_MQTT: blinker
MQTT_ID_MQTT: 9AC084662AHVWZVNDHXMJABV
MQTT_NAME_MQTT: 3PrHBoEQYoup8SWAzxK2r2867e
MQTT_KEY_MQTT: CUapYvUri8ZaAKhXZJDqSaCqTNyWsnVM
MQTT_BROKER: blinker
HOST: broker.diandeng.tech
PORT: 1884
HOST: broker.diandeng.tech
PORT: 1884
UUID_MQTT: 9ac084671daa11ebb5d95254
====================
BLINKER_PUB_TOPIC_MQTT: /device/9AC084662AHVWZVNDHXMJABV/s
BLINKER_SUB_TOPIC_MQTT: /device/9AC084662AHVWZVNDHXMJABV/r
Freeheap: 8464
mDNS responder started
webSocket_MQTT server started
ws://9AC084662AHVWZVNDHXMJABV.local:81


奈何col 发表于 2020-11-6 08:45

调试信息没有问题,8266已经正确连接到MQTT broker

Var 发表于 2020-11-6 09:38

奈何col 发表于 2020-11-6 08:45
调试信息没有问题,8266已经正确连接到MQTT broker

但是在APP上设备还是离线,并且按了按钮之后也没法控制灯

奈何col 发表于 2020-11-6 10:19

Var 发表于 2020-11-6 09:38
但是在APP上设备还是离线,并且按了按钮之后也没法控制灯
https://www.arduino.cn/thread-95396-1-1.html
另外可能是热点开启了内网隔离

Var 发表于 2020-11-6 10:41

奈何col 发表于 2020-11-6 10:19
https://www.arduino.cn/thread-95396-1-1.html
另外可能是热点开启了内网隔离

内网隔离?我是用的学校的WiFi,需要学号认证的那种,但是电脑已经认证了,用电脑开的热点连接的设备也还需要认证吗
页: [1]
查看完整版本: 关于用笔记本电脑热点无法连接ESP8266