共享esp8266后子设备显示离线,主设备正常
本帖最后由 祁老师 于 2020-6-22 00:30 编辑[*]硬件:ESP8266 01s
[*]接入方式: WIFI
[*]package版本: esp8266-arduino-2.7.0dev|esp32-1.0.1-rc3
[*]blinker库版本: arduino 0.3.4
[*]开发环境: Arduino
[*]操作系统: Windows
[*]IDE 中的设置
[*]Module: Nodemcu1.0
[*]Flash Mode: ?
[*]Flash Size: 4MB(FS:2MB OTA:~1019KB)
[*]lwip Variant: v2 Lower Memory
[*]Reset Method: ?
[*]Flash Frequency: ?
[*]CPU Frequency: 80Mhz
[*]Upload Using: ?
[*]Upload Speed: 115200
[*]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfUAAAE/CAYAAABfO1rDAAAgAElEQVR4nO2dPZLzOnNGZ1UMZwGzgUnNbcwChqld5QV88RQT78JOpF0ovmJgh3QggQSBBtDgv6ATnLr3HYEg/ogHaDTZH13X9XP5559/BpbkAwAAAPP517/+1fd9338syQRRBwAAOB5EHQAAoBAQdQAAgEJA1AEAAAoBUQcAACgERB0AAKAQEHUAAIBCQNQBAAAKAVEHAAAohE1F/X5t+urjo//Iou7b+/1x/b3t64+qb66Bf7d1/1E1/fWZ3uXaVP1H3arq0NYffd3K+ZyV+/3aN9WHuo4AZ2PuGG7rj+izD/Cu7LZTNw+vK5wP4R+FfPKbI9r3tp6Iftc9H25L6G1sUX8sCBILCuXEYhYrdfP8r1Wna1MF81pbhOfmN5QxMSk+2lZe7Ejtaadr63XaIGdh9hgfY3mq5prdhkPbROrm3sdtRzGPGQIUqrvU9m5dNfVYe0zsOYZzRT2UPvYsA5yJy+WiSndaUTfp7ckqNMlp/u7u8pfwKHPVN9fH5CqKujBBnErUq+pZB7k9TB0roc9MHd2/t/WY31JRn1h5FPV7CK1lxXlenxL2R1uMk737bzG9M17vbe2PU3sxauqsFKFU3dt6Wi+zyIiVYesxsfcYzhV1aT6x6yQ9ywBn4vv7u//5+UmmO7GoK3bWgd222U1MdzLNRqI+zfMxOdZ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/x/D7siAcAAGVzuVz6z8/P/u/vT/x9W1G3zMBmZ5p+Tc0yhZ9Z1Bfu1F0z/8SqoahPyJEPAADKJCXoXbe5qJud+LgjH8Vr/NvU7HywqCvOyrXpgmfq9r+ttpi+9peuTxtxuAMAgHLQCHrX7eAo99ihN4NYn13UTZk1942lk0TfFfWh3HXYFJ+8P6IOAFA8X19fSUHvur2+KFdV43vqO4j6Eke5yfXe++fXvqmk99SnZYy+p+6kNWZ0W/z9+hivdv86zO8AAOVzu91U6fb5+Mxwjl71TZMr6vmfiV0q6obhC3CRr7jJ6WSxlURdOpsXHeWeTnfjPdKLHQAAeC/2+/iM82qbK7ajgFtm6IPM7wAAAK/IqT8+AwAAAHoQdQAAgEJA1AEAAAoBUQcAACgERB0AAKAQBlH/j//5v34u//7f/zuwJB8AAADIB1EHAAAoBEQdAACgEFxR/38jABmobjwv2QAAAABJRU5ErkJggg==
[*]手机信息及APP信息
[*]小米MIX2s
[*]Android10 MIUI11稳定版
[*]blinker App版本 2.4.7
[*]问题描述使用设备共享功能时,将配置好的esp8266用主设备共享给对方的子设备,主设备一切正常可以对8266进行控制,子设备则显示离线,无法对8266进行控制。8266上也收不到任何来自子设备的信息。
[*]代码#define BLINKER_WIFI
#define BLINKER_MIOT_OUTLET
#include <Blinker.h>
char auth[] = "206a531db6ab";
char ssid[] = "*******";
char pswd[] = "*****************";
bool oState = false, mark = 0;
//新建组件对象
BlinkerButton Button1("btn-abc");
//按下按钮后执行
void button1_callback(const String & state)
{
BLINKER_LOG("get button state: ", state);
digitalWrite(0,!digitalRead(0));
if (digitalRead(0) == 0)
{
Button1.print("off");
}
if (digitalRead(0) == 1)
{
Button1.print("on");
}
}
//小爱同学唤醒执行
void miotPowerState(const String & state)
{
BLINKER_LOG("need set power state: ", state);
if (state == BLINKER_CMD_ON) {
digitalWrite(0, 1);
BlinkerMIOT.powerState("on");
BlinkerMIOT.print();
oState = true;
}
else if (state == BLINKER_CMD_OFF) {
digitalWrite(0, 0);
BlinkerMIOT.powerState("off");
BlinkerMIOT.print();
oState = false;
}
}
//小爱查询电源状态
void miotQuery(int32_t queryCode)
{
BLINKER_LOG("MIOT Query codes: ", queryCode);
switch (queryCode)
{
case BLINKER_CMD_QUERY_ALL_NUMBER :
BLINKER_LOG("MIOT Query All");
BlinkerMIOT.powerState(oState ? "on" : "off");
BlinkerMIOT.print();
break;
case BLINKER_CMD_QUERY_POWERSTATE_NUMBER :
BLINKER_LOG("MIOT Query Power State");
BlinkerMIOT.powerState(oState ? "on" : "off");
BlinkerMIOT.print();
break;
default :
BlinkerMIOT.powerState(oState ? "on" : "off");
BlinkerMIOT.print();
break;
}
}
//接受其他数据的返回值
void dataRead(const String & data)
{
BLINKER_LOG("Blinker readString: ", data);
Blinker.vibrate();
uint32_t BlinkerTime = millis();
Blinker.print("millis", BlinkerTime);
}
void setup()
{
//设置端口
Serial.begin(115200);
BLINKER_DEBUG.stream(Serial);
//初始化接口
pinMode(2, INPUT_PULLUP);
pinMode(0, OUTPUT);
digitalWrite(0,0);
//初始化blinker
Blinker.begin(auth, ssid, pswd);
Blinker.attachData(dataRead);
//注册回调函数
BlinkerMIOT.attachPowerState(miotPowerState);
BlinkerMIOT.attachQuery(miotQuery);
Button1.attach(button1_callback);
}
void loop()
{
if (digitalRead(2) == 0 && mark == 0)
{
digitalWrite(0, !digitalRead(0));
oState = digitalRead(0);
mark = 1;
}
if (digitalRead(2) == 1 && mark == 1)
{
mark = 0;
}
Blinker.run();
}
跪求有大佬来救救孩子啊
我也是这个情况,分享给我爱人的iphone,接受共享一直都不在线,有时候按还好使, https://www.arduino.cn/thread-84332-1-1.html
奈何col 发表于 2020-6-23 09:12
https://www.arduino.cn/thread-84332-1-1.html
程序和app设置都正常,程序运行也没问题,但是手机端共享设备之后子设备不能控制硬件,主设备一切正常,能控制也能正常显示debug信息 祁老师 发表于 2020-6-23 09:21
程序和app设置都正常,程序运行也没问题,但是手机端共享设备之后子设备不能控制硬件,主设备一切正常, ...
看调试信息额,启动时会获取设备分享相关的数据,看是否正常 我也出现这个问题了,关键是网上还找不到相关的信息 更新到最新的点灯库
页:
[1]