fka mod
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 1056:ce2fb3d09929
- Parent:
- 1054:f59e5d9a992a
- Child:
- 1062:a3fd424b73ca
diff -r 576c739b56a2 -r ce2fb3d09929 ble/Gap.h --- a/ble/Gap.h Mon Jan 11 08:51:33 2016 +0000 +++ b/ble/Gap.h Mon Jan 11 08:51:34 2016 +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