-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
cannot upload extended example to esp c3 #865
Comments
Sorry I forgot I was going to remove the option to enable periodic advertising, it's not supported yet. Just comment out that line again and it should be fine. |
also i cant get any example code to work even nimble_server is broken (exit status 1 |
maybe how you say ( periodic adverising issue for this one also? ) |
and also i wanna ask if you have the time can you make a example sketch where the esp is in phy coded mode ( the 125kbps one ) and you can pair with a phone and stores the mac ( using the irc,etc ) to decrypt the mac and if the connection is lost it attempts to reconnect to it ( same logic like bluetooth headphones ) ( also i'm willing to pay you ;) if you can make it ) Because i want to make a remote start system for my car where when you approach it it starts automaticaly ( using rssi ) and the mac,key etc is used to identify the phone ( as trusted ) |
You need to use the BT5 examples with extended advertising. NimBLE-Arduino/src/nimconfig.h Line 50 in 3081bc1
This already exists to a large extent in the above examples, just enable bonding by setting the first parameter in |
when i try to upload the example code for extended server it gives this error ( reinstalled everything ) ( and enabled phy in the h file )
Arduino: 1.8.19 (Windows 10), Board: "ESP32C3 Dev Module, Disabled, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 160MHz (WiFi), QIO, 80MHz, 4MB (32Mb), 921600, None, Disabled, Disabled"
C:\Users\mihai\Documents\Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_hs_periodic_sync.c: In function 'ble_hs_periodic_sync_free':
C:\Users\mihai\Documents\Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_hs_periodic_sync.c:58:24: error: 'struct ble_npl_event' has no member named 'event'
58 | if((psync->lost_ev).event != NULL)
exit status 1
Error compiling for board ESP32C3 Dev Module.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered: