Bike service
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 1036:7af23cdcfcac
- Parent:
- 1035:d8ba3cb5a39a
- Child:
- 1042:21a86ac7f5b1
--- a/ble/Gap.h Thu Dec 10 09:15:04 2015 +0000 +++ b/ble/Gap.h Thu Dec 10 09:15:04 2015 +0000 @@ -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