-
Notifications
You must be signed in to change notification settings - Fork 716
Added arduino security examples #315
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
Conversation
#302 addressed |
Hello, i am referring to BLE_server_passkey.ino. |
I have no idea if its possible, because all passkeys are generated by bluedroid stack. I will have to ask devs. |
Hello, do you have any update? |
@felixzhang97 |
@chegewara alright then, thankyou |
Hello @chegewara What do you mean by modified library? Are the changes in code that you did in #293 ? |
I remember now, there was time when security was not implemented in arduino because arduino library for some time was not updated on github. So i decided to export zip library like is described here since some arduino users dont have option to do it: https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/ArduinoBLE.md But this post is outdated now. |
oh ok @chegewara so If I understood, I can make use of the BLE security examples you provide here without modifying any library |
Yes, and if for some reason you have any problems please open issue and i will try to help. |
Ok, I´ll give it a try, thanks a lot @chegewara |
Thanks for providing the examples @chegewara Hi I have the most recent version of ESP32_BLE and get a compile error 'LOG_TAG' was not declared in this scope Has the security features not been implemented in the main library? |
In which file you have this error? You can find this line and change |
Thanks for the quick reply, it's in the BLE_client_numeric_confirmation.ino and BLE_client_passkey.ino |
If I comment o
8000
ut esp_log_buffer_hex(LOG_TAG, auth_cmpl.bd_addr, sizeof(auth_cmpl.bd_addr)); |
Could you open new issue and provide logs when it crash? Also ty to use this tool: |
As for now those examples will work only with modified library since we still are waiting for new arduino-esp32 commit with c++ exceptions included. ESP32Arduino.zip is added, but its only to excercise with new features.
ESP32_BLE.zip