Hello, I try your lib but i have this issue
can you check? thanks
Stefano
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp: In static member function 'static void BLEDevice::gapEventHandler(esp_gap_ble_cb_event_t, esp_ble_gap_cb_param_t*)':
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp:123:7: error: 'm_securityCallbacks' is not a member of 'BLEDevice'
if(BLEDevice::m_securityCallbacks!=nullptr){
^
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp:124:66: error: 'm_securityCallbacks' is not a member of 'BLEDevice'
esp_ble_confirm_reply(param->ble_security.ble_req.bd_addr, BLEDevice::m_securityCallbacks->onConfirmPIN(param->ble_security.key_notif.passkey));
^
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp:132:7: error: 'm_securityCallbacks' is not a member of 'BLEDevice'
if(BLEDevice::m_securityCallbacks!=nullptr){
^
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp:133:70: error: 'm_securityCallbacks' is not a member of 'BLEDevice'
esp_ble_passkey_reply(param->ble_security.ble_req.bd_addr, true, BLEDevice::m_securityCallbacks->onPassKeyRequest());
^
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp:145:7: error: 'm_securityCallbacks' is not a member of 'BLEDevice'
if(BLEDevice::m_securityCallbacks!=nullptr){
^
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp:146:67: error: 'm_securityCallbacks' is not a member of 'BLEDevice'
esp_ble_gap_security_rsp(param->ble_security.ble_req.bd_addr, BLEDevice::m_securityCallbacks->onSecurityRequest());
^
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp:160:7: error: 'm_securityCallbacks' is not a member of 'BLEDevice'
if(BLEDevice::m_securityCallbacks!=nullptr){
^
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp:162:5: error: 'm_securityCallbacks' is not a member of 'BLEDevice'
BLEDevice::m_securityCallbacks->onPassKeyNotify(param->ble_security.key_notif.passkey);
^
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp:176:8: error: 'm_securityCallbacks' is not a member of 'BLEDevice'
if(BLEDevice::m_securityCallbacks!=nullptr){
^
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp:177:6: error: 'm_securityCallbacks' is not a member of 'BLEDevice'
BLEDevice::m_securityCallbacks->onAuthenticationComplete(param->ble_security.auth_cmpl);
^
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp: In static member function 'static void BLEDevice::init(std::__cxx11::string)':
C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light\src\BLEDevice.cpp:255:43: error: 'gattClientEventHandler' is not a member of 'BLEDevice'
errRc = esp_ble_gattc_register_callback(BLEDevice::gattClientEventHandler);
^
Più di una libreria trovata per "BLEDevice.h"
Usata: C:\Users\StefanoskyW\Documents\Arduino\libraries\esp32_ble_light
Non usata: C:\Users\StefanoskyW\Documents\Arduino\hardware\espressif\esp32\libraries\BLE
Non usata: C:\Users\StefanoskyW\Documents\Arduino\hardware\espressif\esp32\libraries\BLE
Non usata: C:\Users\StefanoskyW\Documents\Arduino\hardware\espressif\esp32\libraries\BLE
Non usata: C:\Users\StefanoskyW\Documents\Arduino\hardware\espressif\esp32\libraries\BLE
exit status 1
Errore durante la compilazione per la scheda SparkFun ESP32 Thing.
Hello, I try your lib but i have this issue can you check? thanks Stefano