Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'm_securityCallbacks' is not a member of 'BLEDevice' #1

Open
stefanosky opened this issue Jun 18, 2018 · 1 comment
Open

'm_securityCallbacks' is not a member of 'BLEDevice' #1

stefanosky opened this issue Jun 18, 2018 · 1 comment

Comments

@stefanosky
Copy link

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.

@pjunni
Copy link

pjunni commented Oct 10, 2018

I have the same problem, any advancement with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants