Closed stefano88ita closed 6 months ago
Trying to investigate the type of device is legacy, event type and adv type are BLE_HCI_ADV_RPT_EVTYPE_ADV_IND and BLE_HCI_ADV_TYPE_ADV_IND.
In fact, the device is not instantiated in the scan callback (setAdvertisedDeviceCallbacks).
To make a try i inserted:
else{ pScan->m_pAdvertisedDeviceCallbacks->onResult(advertisedDevice); }
after line 154 in NIMBleScan.cpp.
The Advertising device has a correct manufaturer name, but still unable to connect.
Error code in connection is 574
E NimBLEClient: Connection failed; status=574
Any suggestion to make the connection? Thanks!
Resolved by changing esp 32 with another one, maybe faulty
Hi! I have a fireplace (Dimplex). A couple of years ago i wrote an implementation in node.js to be used directly from home assistant and alexa. The code is pretty simple after sniffing the correct service and characteristics, here's an extract:
I want to port this code in an esp32 to shut down the raspberry pi that runs the node.js code. I tried in many ways, like:
Connection result is always false. I'm i doing something wrong? Thanks!