alpha
Login
or
Join now
jmrp.io
/
kleidos
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/jmrplens/kleidos. Kleidos — Hardware BLE password manager for ESP32-S3 (M5StickC Plus2, StickS3, M5Stack Gray, T-Deck, Cardputer)
jmrplens.github.io/kleidos/
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
kleidos
/
test
/
ble
/
test_ble_layering
/
at
main
1 file
José M. Requena Plens
Make the raw NimBLE C-API adapter the sole BLE host
3mo ago
d29eb4f7
test_ble_layering.cpp
Make the raw NimBLE C-API adapter the sole BLE host Delete the esp-nimble-cpp adapter (stack/nimble_host.cpp) and un-gate the raw Apache NimBLE C-API adapter (stack/nimble_host_raw.cpp) so it compiles unconditionally as the only NimBleHostPort on device. The host:: shim, BondStore and BleHidManager are unchanged; the BLE/HID/bonding/security wire formats and the BleFacade public API are byte-identical (validated on hardware on ESP32-S3 and classic ESP32). Drop esp-nimble-cpp from the device firmware: - src/idf_component.yml: esp-nimble-cpp becomes `require: false` (still downloaded for the BLE host-test harness, but no longer auto-added to the src component's requirements). - src/CMakeLists.txt: remove h2zero__esp-nimble-cpp from the device REQUIRES; keep it only on the BLE host-harness branch. - CMakeLists.txt: ESP-IDF whole-archive links every component present in managed_components/ regardless of the requirements graph, so add EXCLUDE_COMPONENTS=h2zero__esp-nimble-cpp for every non-harness build. Device firmware now links zero esp-nimble-cpp symbols; the harness env (-DKLEIDOS_BLE_HOST_HARNESS=ON) lifts the exclusion and keeps the central role. Remove the redundant esp_bt_controller_mem_release(CLASSIC) in the raw adapter's init(): nimble_port_init() already releases the Classic-BT controller RAM internally. Update the NimBleHostPort/adapter Doxygen and the check_layout/test_ble_layering references to point at nimble_host_raw.cpp. Claude-Session: https://claude.ai/code/session_01Y7Cy1HetRp6TZAUAeekN8X
3 months ago