mbed-os/features
Paul Szczeanek dd615f7943 Add direct advertising support.
To start direct connectable advertising on the cordio stack, the programmer should call the function DmConnAccept instead of the function DmAdvStart .
This functions expect the target address and address type as parameter, which are passed to the controller when the programmer sets the advertising parameters and not known when advertising_enable is called.
Therefore, this information should be kept in memory when advertising parameters are set and retrieved when advertising is enable to choose the right call to start (or stop) advertising.
Timeout of direct advertising is also handled in an uncommon way, a connection timeout is received. Similarly, DmConnClose should be called to stop connectable direct advertising.

The state is kept in an array of direct_adv_cb_t. Each items contains a peer address, the peer address type, the connection handle and the advertising handle as well as a state which indicate if the advertising is running, pending or not used.
When advertising parameters are set, the state is updated to match the target address or disable direct advertising management for the advertising set being configured.
When advertising is enabled, the pal dispatch the operation to the right calls (DmAdvStart/DmConnAccept or DmAdvStop/DmConnClose).
When an advertising timeout happen or a connection is made, the pal cleans any direct advertising state of this advertising set
2020-06-03 16:25:23 +01:00
..
FEATURE_BLE Add direct advertising support. 2020-06-03 16:25:23 +01:00
FEATURE_BOOTLOADER General clean-up of unsupported targets 2020-04-09 15:36:21 +01:00
FEATURE_EXPERIMENTAL_API Fix astyle issues 2020-05-29 13:19:12 +01:00
cellular Cellular: Convert to Chrono 2020-05-11 14:18:04 +03:00
cryptocell/FEATURE_CRYPTOCELL310 NRF52840_DK: Fix baremetal linker error 2020-02-10 15:18:46 +00:00
deprecated_warnings Squashed 'features/nanostack/coap-service/' changes from 086e7ba..3c79829 2019-05-21 14:21:19 +03:00
device_key DeviceKey: Fix test code with key size change in generate_root_of_trust() 2020-05-04 09:11:42 +08:00
frameworks Move frameworks/TARGET_PSA to TARGET_EXPERIMENTAL_API 2020-05-29 13:19:12 +01:00
lorawan Remove explicit include of mbedtls/config.h 2020-02-27 09:45:22 +02:00
lwipstack Remove Ublox targets 2020-05-06 16:39:29 +01:00
mbedtls Move TARGET_MBED_PSA_SRV to FEATURE_EXPERIMENTAL_API 2020-05-29 13:19:12 +01:00
nanostack Merge pull request #12903 from kjbracey-arm/chrono_ns 2020-05-15 08:21:41 +02:00
netsocket Merge pull request #12429 from kjbracey-arm/chrono_dtls 2020-05-13 19:29:10 +02:00
nfc NFC: Convert to Chrono 2020-04-30 13:28:29 +03:00
storage Merge pull request #12623 from toyowata/baremetal_lpc1114 2020-05-15 13:17:52 +02:00