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

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2471|回复: 4

[已解答] 关于用笔记本电脑热点无法连接ESP8266

[复制链接]
发表于 2020-11-5 19:43 | 显示全部楼层 |阅读模式
我在烧录官方例程之后发现,用手机开热点,可以正常工作,能用blinker控制板载的LED灯,但是同样的例程,改用笔记本电脑开热点之后,更改了对应的ssid之后就不能正常工作了,有哪位大佬能帮我看看是出了什么问题吗?
用的电脑是win10系统,电脑是可以正常上网的,用手机连接电脑热点之后也可以正常上网,开发板是ESP8266 node MCU,笔记本电脑的热点设置如下:
热点设置.png
可以看到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


发表于 2020-11-6 08:45 | 显示全部楼层
调试信息没有问题,8266已经正确连接到MQTT broker
 楼主| 发表于 2020-11-6 09:38 | 显示全部楼层
奈何col 发表于 2020-11-6 08:45
调试信息没有问题,8266已经正确连接到MQTT broker

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

点评

https://www.arduino.cn/thread-95396-1-1.html  详情 回复 发表于 2020-11-6 10:19
发表于 2020-11-6 10:19 | 显示全部楼层
Var 发表于 2020-11-6 09:38
但是在APP上设备还是离线,并且按了按钮之后也没法控制灯

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

内网隔离?我是用的学校的WiFi,需要学号认证的那种,但是电脑已经认证了,用电脑开的热点连接的设备也还需要认证吗
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-28 13:40 , Processed in 0.086571 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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