Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 1134:faa0160c87ff
- Parent:
- 1132:be7a1281777f
- Child:
- 1137:290d499dd0e8
--- a/ble/Gap.h Wed Apr 06 18:40:28 2016 +0100 +++ b/ble/Gap.h Wed Apr 06 18:40:30 2016 +0100 @@ -183,14 +183,16 @@ } /** - * @return Minimum Advertising interval in milliseconds. + * @return Minimum Advertising interval in milliseconds for connectable + * undirected and connectable directed event types. */ virtual uint16_t getMinAdvertisingInterval(void) const { return 0; /* Requesting action from porter(s): override this API if this capability is supported. */ } /** - * @return Minimum Advertising interval in milliseconds for non-connectible mode. + * @return Minimum Advertising interval in milliseconds for scannable + * undirected and non-connectable undirected event types. */ virtual uint16_t getMinNonConnectableAdvertisingInterval(void) const { return 0; /* Requesting action from porter(s): override this API if this capability is supported. */ @@ -464,11 +466,6 @@ * peripheral faster, at the expense of more power being used by the radio * due to the higher data transmit rate. * - * @note: This API is now *deprecated* and will be dropped in the future. - * You should use the parallel API from Gap directly. A former call to - * ble.setAdvertisingInterval(...) should now be achieved using - * ble.gap().setAdvertisingInterval(...). - * * @Note: [WARNING] This API previously used 0.625ms as the unit for its * 'interval' argument. That required an explicit conversion from * milliseconds using Gap::MSEC_TO_GAP_DURATION_UNITS(). This conversion is