blinker-iot / blinker-library

An IoT Solution,Blinker library for embedded hardware. Works with Arduino, ESP8266, ESP32.
https://diandeng.tech/
MIT License
3.9k stars 232 forks source link

MIOT例子中如下代码中AliGenie Query outlet的意思是? #569

Closed molun closed 3 years ago

molun commented 3 years ago

void miotQuery(int32_t queryCode, uint8_t num) { BLINKER_LOG("AliGenie Query outlet: ", num,", codes: ", queryCode);

heavenla commented 3 years ago

个人理解是:反馈给服务器及app,天猫精灵请求的是那个插座或者开关,请求代码是ON或者OFF之类的

i3water commented 3 years ago

忘记改了,应该是MIOT Query outlet,大意是服务器要查询排插上第几个开关的状态。