Шлюз на базе ESP32 для R4S-устройств (Ready for Sky/Nordic)

Подключение исполнительных устройств, датчиков, контроллеров.

Модератор: immortal

alexval2007
Сообщения: 9
Зарегистрирован: Чт фев 27, 2014 5:04 pm
Благодарил (а): 1 раз
Поблагодарили: 1 раз

Re: Шлюз на базе ESP32 для R4S-устройств (Ready for Sky/Nordic)

Сообщение alexval2007 » Сб дек 07, 2019 10:51 pm

Есть вопрос к автору темы что делаю не так?
Имеем ЧАЙНИК RK-M170S-E MAC: D4:00:F8:52:64:4D
//----------------------------------------------------------------------------------------------
Авторизация
//----------------------------------------------------------------------------------------------
0x55:<счетчик>:0xFF:<8 байт токен>:0xAA - Запрос (команда 0xFF, токен 8 байт)
0x55:<счетчик>:0xFF:0x01:0xAA - ответ на запрос (1 = успешно, 0 = неудачно)
//----------------------------------------------------------------------------------------------
Управление
//----------------------------------------------------------------------------------------------
* 0x01 - Запрос версии прошивки
* 0x05 - включите чайник, кипечение, кипечение и нагрев, нагрев
* 0x04 - Выключите чайник
* 0х06 - статус
* 0xFF - авторизация
//----------------------------------------------------------------------------------------------
Включение
//----------------------------------------------------------------------------------------------
Кипячение
старт counter cmd стоп
0x55:<счетчик>:<команда>:<режим>:<температура нагрева>:0x00:0x00:0xAA - запрос
0x55, 0x00, 0x05, 0x00, 0x00, 0x00,0x00,0xAA

режим (0 = кипячение (возможно кипячение + нагрев, если задана температура), 1 = только нагрев)
температура нагрева (1 = 40C, 2 = 55C, 3 = 70C, 4 = 85C, 5 = 95C)

старт counter cmd стоп
0x55:<счетчик>:<команда>:0x00:0xAA - ответ на запрос
0x55, 0x00, 0x05, 0x00,0xAA
//----------------------------------------------------------------------------------------------
Нагрев 85
0x55, 0x00, 0x05, 0x01, 0x04, 0x00, 0x00, 0xAA - запрос
//----------------------------------------------------------------------------------------------
Кипячение и нагрев 95
0x55, 0x00, 0x05, 0x00, 0x05, 0x00, 0x00, 0xAA - запрос
//----------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------
Выключение
//----------------------------------------------------------------------------------------------
0x55, 0x00, 0x04, 0xAA - запрос
0x55, 0x00, 0x04, 0x01, 0xAA - ответ на запрос
//----------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------
Статус: 6
0x55, 0x00, 0x06, 0xAA - запрос

6, 1, 0, 51, 0, 0, 11, 0, 0, 0,
0x55, 0x00, 0x06, 0x01, 0x00, 0x33, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0xAA - ответ на запрос
//----------------------------------------------------------------------------------------------
6, 1, 0, 0, 0, 0, 11, 0, 0, 0,
0x55, 0x00, 0x06, 0x01, 0x00, 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0xAA
//----------------------------------------------------------------------------------------------
6, 1, 0, 83, 0, 0, 11, 0, 0, 0,
0x55, 0x00, 0x06, 0x01, 0x00, 0x53, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0xAA - ожидание
//----------------------------------------------------------------------------------------------
6, 1, 5, 82, 0, 0, 11, 0, 0, 2,
0x55, 0x00, 0x06, 0x01, 0x05, 0x52, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x02, 0xAA - подогрев 95
//----------------------------------------------------------------------------------------------
6, 0, 0, 83, 0, 0, 11, 0, 0, 2,
0x55, 0x00, 0x06, 0x00, 0x00, 0x53, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x02, 0xAA - кипячение
//----------------------------------------------------------------------------------------------
6, 0, 5, 86, 0, 0, 11, 0, 0, 2,
0x55, 0x00, 0x06, 0x00, 0x05, 0x56, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x02, 0xAA - кипячение+подогрев 95
0 1 2 3 4 5 6 7 8
//----------------------------------------------------------------------------------------------

Лог

Код: Выделить всё

[spoiler]
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
[I][r4sGate.ino:7] setup(): Starting Arduino R4S Gateway...
[I][r4sFuncs.cpp:274] setupWiFi(): 
WiFi connected
IP address: 192.168.1.98
[I][WebAPI.cpp:12] setupWeb(): WebAPI server started
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
[W][BLEScan.cpp:69] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
[I][BLE.cpp:169] scanDevices(): Starting device scan...
ets Jun  8 2016 00:22:57[/spoiler]
exo
Сообщения: 11
Зарегистрирован: Вт апр 11, 2017 11:06 am
Благодарил (а): 0
Поблагодарили: 0

Re: Шлюз на базе ESP32 для R4S-устройств (Ready for Sky/Nordic)

Сообщение exo » Вт фев 11, 2020 4:39 pm

У меня дальше
r4s online в MQTT и

ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:8424
ho 0 tail 12 room 4
load:0x40080400,len:5868
entry 0x4008069c

в логе порта не продвигается.
Сменил две wroom 32, все версии IDE, все возможные настройки в "Платы", спалил внешнюю звуковуху доппитанием. Не пашет !!!
что может быть ?
Аватара пользователя
Divan
Сообщения: 498
Зарегистрирован: Пн июл 08, 2019 5:04 pm
Благодарил (а): 66 раз
Поблагодарили: 127 раз

Re: Шлюз на базе ESP32 для R4S-устройств (Ready for Sky/Nordic)

Сообщение Divan » Ср фев 12, 2020 1:48 am

Автор данной темы редко отвечает, рекомендую посмотреть эту тему, здесь хоть можно чайником управлять через модуль и достаточно иметь bluetooth , либо встройка, либо usb. Через модуль работает кипячение и подогрев. Можно выставить температуру подогрева. Ночник пока не работает.
Xpenology DSM 6.2.2 + Ubuntu Server 18.10 + Majordomo + MariaDB
exo
Сообщения: 11
Зарегистрирован: Вт апр 11, 2017 11:06 am
Благодарил (а): 0
Поблагодарили: 0

Re: Шлюз на базе ESP32 для R4S-устройств (Ready for Sky/Nordic)

Сообщение exo » Вс фев 23, 2020 9:37 am

Спасибо за ответ. Дело в том, что у меня все организовано на баз Syonology в котором крутятся Doker контейнеры.
Для реализации того варианта нужен 4.0 synology совместиый донгл и его нужно пропихнуть в контейнер. Не знаю насколько это геморно, стик еще в пути. а этот вариант меня устраивает наличием esp32, mqtt как универсальный буфер, и еще момент, что есп можно расположить ближе к чайнику, для хорошего коннекта.
конечно же буду пробовать и тот вариант.

Разобрался с логом, надос тавить Core Debug на максимум.
твоя подпись соответствует моей :))) Xpenology DSM 6.2.2 + Ubuntu Server 18.10 + Majordomo + MariaDB
получилось запустить ? так же не могу сконнектить с чайником S200
СпойлерПоказать
21:02:38.745 -> [D][WiFiGeneric.cpp:342] _eventCallback(): Event: 0 - WIFI_READY
21:02:38.745 -> [D][WiFiGeneric.cpp:342] _eventCallback(): Event: 2 - STA_START
21:02:40.618 -> [D][WiFiGeneric.cpp:342] _eventCallback(): Event: 5 - STA_DISCONNECTED
21:02:40.618 -> [W][WiFiGeneric.cpp:357] _eventCallback(): Reason: 2 - AUTH_EXPIRE
21:02:40.618 -> [D][WiFiGeneric.cpp:342] _eventCallback(): Event: 0 - WIFI_READY
21:02:40.618 -> [D][WiFiGeneric.cpp:342] _eventCallback(): Event: 2 - STA_START
21:02:40.651 -> [D][WiFiGeneric.cpp:342] _eventCallback(): Event: 2 - STA_START
21:02:40.855 -> [D][WiFiGeneric.cpp:342] _eventCallback(): Event: 4 - STA_CONNECTED
21:02:40.889 -> [D][WiFiGeneric.cpp:342] _eventCallback(): Event: 7 - STA_GOT_IP
21:02:40.889 -> [D][WiFiGeneric.cpp:385] _eventCallback(): STA IP: 192.168.1.147, MASK: 255.255.255.0, GW: 192.168.1.1
21:02:41.265 -> [r4sFuncs.cpp:252] setupWiFi():
21:02:41.265 -> WiFi connected
21:02:41.265 -> IP address: 192.168.1.147
21:02:41.265 -> [D][r4sFuncs.cpp:255] setupWiFi(): MDNS responder started
21:02:41.265 -> [WebAPI.cpp:12] setupWeb(): WebAPI server started
21:02:41.882 -> [D][BLEDevice.cpp:62] createClient(): >> createClient
21:02:41.882 -> [D][BLEDevice.cpp:68] createClient(): << createClient
21:02:41.882 -> [D][MQTT.cpp:24] reconnectMQTT(): Attempting MQTT connection...
21:02:43.700 -> [D][MQTT.cpp:27] reconnectMQTT(): connected
21:02:43.700 -> [BLE.cpp:152] scanDevices(): Starting device scan...
21:02:43.700 -> [D][BLEScan.cpp:204] start(): >> start(duration=10)
21:02:43.700 -> [D][FreeRTOS.cpp:165] take(): Semaphore taking: name: ScanEnd (0x3ffdeb48), owner: <N/A> for start
21:02:43.700 -> [D][FreeRTOS.cpp:174] take(): Semaphore taken: name: ScanEnd (0x3ffdeb48), owner: start
21:02:43.733 -> [D][BLEScan.cpp:236] start(): << start()
21:02:43.733 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:43.733 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:43.733 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:43.733 -> [D][BLEAdvertisedDevice.cpp:424] setRSSI(): - setRSSI(): rssi: -71
21:02:43.733 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0x01 (), length: 1, data: 1a
21:02:43.768 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0xff (), length: 26, data: 4c000c0e0017d64d6350b35607769ccce4f41006511eee479463
21:02:43.768 -> [D][BLEAdvertisedDevice.cpp:401] setManufacturerData(): - manufacturer data: 4c000c0e0017d64d6350b35607769ccce4f41006511eee479463
21:02:43.768 -> [D][BLE.cpp:42] onResult(): BLE Advertised Device found : Name: , Address: 74:ea:76:82:31:93, manufacturer data: 4c000c0e0017d64d6350b35607769ccce4f41006511eee479463
21:02:43.836 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:43.836 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:43.836 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:43.836 -> [D][BLEAdvertisedDevice.cpp:424] setRSSI(): - setRSSI(): rssi: -68
21:02:43.836 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0x01 (), length: 1, data: 1a
21:02:43.869 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0xff (), length: 9, data: 4c0010051118e785a0
21:02:43.869 -> [D][BLEAdvertisedDevice.cpp:401] setManufacturerData(): - manufacturer data: 4c0010051118e785a0
21:02:43.869 -> [D][BLE.cpp:42] onResult(): BLE Advertised Device found : Name: , Address: 77:ae:05:b8:96:4b, manufacturer data: 4c0010051118e785a0
21:02:44.006 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.006 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:44.109 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.109 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 77:ae:05:b8:96:4b, already seen it.
21:02:44.109 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.109 -> [D][BLEAdvertisedDevice.cpp:424] setRSSI(): - setRSSI(): rssi: -62
21:02:44.142 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0x09 (), length: 8, data: 524b2d4732303053
21:02:44.142 -> [D][BLEAdvertisedDevice.cpp:413] setName(): - setName(): name: RK-G200S
21:02:44.142 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0x01 (), length: 1, data: 06
21:02:44.142 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0xff (), length: 10, data: c2014000d03418e3ecf6
21:02:44.176 -> [D][BLEAdvertisedDevice.cpp:401] setManufacturerData(): - manufacturer data: c2014000d03418e3ecf6
21:02:44.176 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0xff (), length: 11, data: c201400101000000021e00
21:02:44.176 -> [D][BLEAdvertisedDevice.cpp:401] setManufacturerData(): - manufacturer data: c201400101000000021e00
21:02:44.176 -> [D][BLE.cpp:42] onResult(): BLE Advertised Device found : Name: RK-G200S, Address: f6:ec:e3:18:34:d0, manufacturer data: c201400101000000021e00
21:02:44.211 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.211 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:44.211 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.211 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:44.246 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.246 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:44.246 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.246 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:44.313 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.347 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:44.347 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.347 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:44.415 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.415 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:44.450 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.450 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:44.518 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.552 -> [D][BLEAdvertisedDevice.cpp:424] setRSSI(): - setRSSI(): rssi: -64
21:02:44.552 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0x01 (), length: 1, data: 1a
21:02:44.552 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0x0a (), length: 1, data: 0c
21:02:44.552 -> [D][BLEAdvertisedDevice.cpp:484] setTXPower(): - txPower: 12
21:02:44.552 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0xff (), length: 10, data: 4c001006111e66844b2f
21:02:44.586 -> [D][BLEAdvertisedDevice.cpp:401] setManufacturerData(): - manufacturer data: 4c001006111e66844b2f
21:02:44.586 -> [D][BLE.cpp:42] onResult(): BLE Advertised Device found : Name: , Address: 78:07:4c:a7:93:66, manufacturer data: 4c001006111e66844b2f, txPower: 12
21:02:44.586 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.586 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:44.621 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.621 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:44.656 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.656 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:44.656 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.656 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 77:ae:05:b8:96:4b, already seen it.
21:02:44.656 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.690 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:44.759 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.759 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:44.863 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:44.863 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:45.341 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:45.341 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 78:07:4c:a7:93:66, already seen it.
21:02:45.375 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:45.375 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:45.476 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:45.476 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 77:ae:05:b8:96:4b, already seen it.
21:02:45.546 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:45.546 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:46.264 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:46.299 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 77:ae:05:b8:96:4b, already seen it.
21:02:46.471 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:46.471 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:47.399 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:47.399 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:47.503 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:47.537 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 78:07:4c:a7:93:66, already seen it.
21:02:47.913 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:47.913 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 77:ae:05:b8:96:4b, already seen it.
21:02:48.117 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:48.117 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:48.358 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:48.358 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 78:07:4c:a7:93:66, already seen it.
21:02:48.872 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:48.872 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:49.045 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:49.045 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:49.147 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:49.147 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 78:07:4c:a7:93:66, already seen it.
21:02:49.250 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:49.250 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 77:ae:05:b8:96:4b, already seen it.
21:02:49.559 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:49.559 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:49.663 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:49.663 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:49.765 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:49.765 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:49.765 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:49.765 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:49.834 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:49.867 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:49.970 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:49.970 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:49.970 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:49.970 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 78:07:4c:a7:93:66, already seen it.
21:02:50.072 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:50.072 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:50.072 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:50.072 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 77:ae:05:b8:96:4b, already seen it.
21:02:50.176 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:50.176 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:50.280 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:50.280 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:50.382 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:50.382 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:50.485 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:50.485 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:50.691 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:50.691 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:50.795 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:50.795 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 78:07:4c:a7:93:66, already seen it.
21:02:50.899 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:50.899 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 77:ae:05:b8:96:4b, already seen it.
21:02:51.412 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:51.412 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:51.583 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:51.583 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:51.617 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:51.617 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 78:07:4c:a7:93:66, already seen it.
21:02:51.719 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:51.719 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 77:ae:05:b8:96:4b, already seen it.
21:02:52.097 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:52.097 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:52.234 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:52.234 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:52.335 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:52.335 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:52.404 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:52.438 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 78:07:4c:a7:93:66, already seen it.
21:02:52.438 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:52.438 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:52.506 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:52.540 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:52.540 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:52.540 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 77:ae:05:b8:96:4b, already seen it.
21:02:52.712 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:52.712 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:52.815 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:52.815 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:52.918 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:52.953 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:52.953 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:52.953 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:53.023 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.023 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:53.229 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.229 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:53.229 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.264 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 78:07:4c:a7:93:66, already seen it.
21:02:53.264 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.264 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:53.330 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.330 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 77:ae:05:b8:96:4b, already seen it.
21:02:53.365 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.365 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:53.468 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.468 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:53.536 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.571 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:53.571 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.571 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:53.639 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.639 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:53.674 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.674 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:53.708 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.708 -> [W][BLEScan.cpp:78] handleGAPEvent(): ESP_GAP_SEARCH_INQ_CMPL_EVT
21:02:53.742 -> [BLE.cpp:152] scanDevices(): Starting device scan...
21:02:53.742 -> [D][BLEScan.cpp:204] start(): >> start(duration=10)
21:02:53.742 -> [D][FreeRTOS.cpp:165] take(): Semaphore taking: name: ScanEnd (0x3ffdeb48), owner: <N/A> for start
21:02:53.742 -> [D][FreeRTOS.cpp:174] take(): Semaphore taken: name: ScanEnd (0x3ffdeb48), owner: start
21:02:53.742 -> [D][BLEScan.cpp:236] start(): << start()
21:02:53.742 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.777 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.777 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.777 -> [D][BLEAdvertisedDevice.cpp:424] setRSSI(): - setRSSI(): rssi: -61
21:02:53.777 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0x09 (), length: 8, data: 524b2d4732303053
21:02:53.777 -> [D][BLEAdvertisedDevice.cpp:413] setName(): - setName(): name: RK-G200S
21:02:53.810 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0x01 (), length: 1, data: 06
21:02:53.810 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0xff (), length: 10, data: c2014000d03418e3ecf6
21:02:53.810 -> [D][BLEAdvertisedDevice.cpp:401] setManufacturerData(): - manufacturer data: c2014000d03418e3ecf6
21:02:53.810 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0xff (), length: 11, data: c201400101000000021e00
21:02:53.843 -> [D][BLEAdvertisedDevice.cpp:401] setManufacturerData(): - manufacturer data: c201400101000000021e00
21:02:53.843 -> [D][BLE.cpp:42] onResult(): BLE Advertised Device found : Name: RK-G200S, Address: f6:ec:e3:18:34:d0, manufacturer data: c201400101000000021e00
21:02:53.877 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.877 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:53.877 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.877 -> [D][BLEAdvertisedDevice.cpp:424] setRSSI(): - setRSSI(): rssi: -75
21:02:53.877 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0x01 (), length: 1, data: 1a
21:02:53.911 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0xff (), length: 26, data: 4c000c0e0018d6e347d5b09b3a50dd3814a41006511eee479463
21:02:53.911 -> [D][BLEAdvertisedDevice.cpp:401] setManufacturerData(): - manufacturer data: 4c000c0e0018d6e347d5b09b3a50dd3814a41006511eee479463
21:02:53.911 -> [D][BLE.cpp:42] onResult(): BLE Advertised Device found : Name: , Address: 74:ea:76:82:31:93, manufacturer data: 4c000c0e0018d6e347d5b09b3a50dd3814a41006511eee479463
21:02:53.978 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:53.978 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:54.082 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:54.082 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:54.082 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:54.082 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:54.150 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:54.150 -> [D][BLEAdvertisedDevice.cpp:424] setRSSI(): - setRSSI(): rssi: -67
21:02:54.150 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0x01 (), length: 1, data: 1a
21:02:54.185 -> [D][BLEAdvertisedDevice.cpp:253] parseAdvertisement(): Type: 0xff (), length: 9, data: 4c0010051118e785a0
21:02:54.185 -> [D][BLEAdvertisedDevice.cpp:401] setManufacturerData(): - manufacturer data: 4c0010051118e785a0
21:02:54.185 -> [D][BLE.cpp:42] onResult(): BLE Advertised Device found : Name: , Address: 77:ae:05:b8:96:4b, manufacturer data: 4c0010051118e785a0
21:02:54.218 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:54.218 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:54.253 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:54.253 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring 74:ea:76:82:31:93, already seen it.
21:02:54.287 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!
21:02:54.287 -> [D][BLEScan.cpp:106] handleGAPEvent(): Ignoring f6:ec:e3:18:34:d0, already seen it.
21:02:54.387 -> [D][BLEClient.cpp:464] handleGAPEvent(): BLEClient ... handling GAP event!

Никак не хочет видеть чайник в режиме сопряжения, с телефона цепляется без проблем.
Есть подозрения о несовместимости библиотек ESP32_BLE_Arduino и arduino-esp32. Пробовал много разных вариантов. Сопряжение не пашет от слова "НИКАК". Прошивка чайника 3.10 при покупке стояла 2.29, может пофиксили сторонний доступ ?
Ответить