Bike service
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 1135:d540a48f650d
- Parent:
- 1133:6362b7c2fdff
- Child:
- 1136:22aada733dbd
diff -r 98dfa6ac8242 -r d540a48f650d ble/Gap.h --- a/ble/Gap.h Wed Apr 06 19:13:50 2016 +0100 +++ b/ble/Gap.h Wed Apr 06 19:13:52 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