* Add upload target for Arduino Nano 33 BLE, fix linker script preprocessing, add option for USB serial by default * astyle error * Use HINTS instead of PATHS so that the Arduino dir is searched first * Enable OpenOCD and PyOCD for Nano 33 BLE in SWD mode * Fix missing dependency for USB tests on Windows * Add RAM defines for nrf52840 * Fix mbed-storage-kv-config depending on SD card library even if said library was not enabled * Update dsrdtr value * No longer need to modify linker script now that we aren't using whole-archive! * Add OPENOCD_ADAPTER_SERIAL * Add handling for cmsis dap * Fix typo * Fix weak symbol issue causing Bluetooth to not work. In this case, the weak implementation can simply be removed, because there's no legitimate case where it is used. |
||
|---|---|---|
| .. | ||
| include/ble | ||
| libraries | ||
| source | ||
| tests/UNITTESTS | ||
| .gitignore | ||
| .mbedignore | ||
| CMakeLists.txt | ||
| DOXYGEN_FRONTPAGE_BLE.md | ||
| LICENSE | ||
| README.md | ||
| apache-2.0.txt | ||
| ble.doxyfile | ||
| mbed_lib.json | ||
README.md
mbed Bluetooth Low Energy Stack
This is the Github repository for the BLE_API. Please see the Mbed OS Example BLE GitHub Repo for all code examples, and the Mbed OS BLE API page for all code documentation and general help.
Getting Started
- Mbed OS examples for all Mbed OS and BLE examples.
- Mbed OS example BLE GitHub repo for all Mbed OS BLE examples.
- Mbed OS BLE introduction for an introduction to Mbed BLE.
- Mbed OS BLE API page for the Mbed BLE API documentation.
Privacy notice
The Cordio Bluetooth stack only stores one single signing key. This key is then shared across all bonded devices. If a malicious device bonds with the Mbed OS application it then gains knowledge of the shared signing key of the Mbed OS device. The malicious device can then track the Mbed OS device whenever a signing write is issued from it.
To overcome this privacy issue do not issue signed writes from the Mbed OS device.
A signed write occurs when the member function write of GattClient is called
with its cmd argument set to GATT_OP_SIGNED_WRITE_CMD.
Instead of using signed writes, enable encryption on the connection. This is achieved
by calling the function setLinkEncryption of the SecurityManager. Set the encryption
to at least ENCRYPTED.