mirror of https://github.com/ARMmbed/mbed-os.git
References to time should do so using std::chrono. We reworked tests in connectivity and drivers to use std::chrono and new APIs in order to remove deprecation warnings resulting from deprecated API calls. This required addition of a macro for test assertions using std::chrono values. As host test "timing_drift_auto" expects time values represented as an integral number of microseconds, we explicitly provide this in place using "microseconds{TICKER_TIME}.count()" in the relevant ticker tests. We recognise this is ugly, but thought it best to descriptively convert from std::chrono to the host test's required representation. Co-authored-by: Hari Limaye <hari.limaye@arm.com> |
||
---|---|---|
.. | ||
TESTS/cordio_hci | ||
driver | ||
source | ||
stack_adaptation | ||
CMakeLists.txt | ||
README.md | ||
mbed_lib.json |
README.md
BLE API Cordio Implementation
The BLE API Cordio implementation allows Cordio licensee to easily deliver a complete and up to date implementation of mbed BLE to their customers using mbed OS.
To deliver a BLE port, vendors simply have to provide an HCI driver tailored for the BLE module present on the board they want to support.
Source Organization
The root contains the public header of the classes implementing BLE API public interface.
doc
: Documentation such as the HCI extension guide and the porting guide.driver
: HCI driver and transport interfaces. Also contains standard driver implementation.sources
: BLE API Implementation filesstack
: Cordio stackcordio_stack
: Headers and sources of the cordio stackmbed_os_adaptation
: Headers of the interface responsible for the bridge between BLE API and the Cordio stack.
Build time configuration
Build time configuration may be controlled through options set in:
features\FEATURE_BLE\targets\TARGET_CORDIO\mbed_lib.json