Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: public/BLEDevice.h
- Revision:
- 334:6bc1223306b9
- Parent:
- 333:098598ba075d
- Child:
- 335:dea9e14b7ddc
--- a/public/BLEDevice.h Wed Apr 15 09:05:10 2015 +0100 +++ b/public/BLEDevice.h Wed Apr 15 09:05:10 2015 +0100 @@ -100,6 +100,12 @@ * \par * See Bluetooth Core Specification, Vol 3., Part C, * Appendix A for suggested advertising intervals. + * + * @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 + * no longer required as the new units are milliseconds. Any application + * code depending on the old semantics would need to be updated accordingly. */ void setAdvertisingInterval(uint16_t interval);