Release 0.3.0



* Updated to use of new APIs for authorizeRead() and authorizeWrite() which
  return status.

* Implement APIs for getMinAdvertisingInterval() and variants.

* add #ifdef __cplusplus to pstorage.h


Rohit Grover 2015-03-23 16:11:30 +00:00
parent afdc7154d5
commit 270603e302
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,11 @@ public:
virtual ble_error_t setAddress(addr_type_t type, const address_t address);
virtual ble_error_t getAddress(addr_type_t *typeP, address_t address);
virtual ble_error_t setAdvertisingData(const GapAdvertisingData &, const GapAdvertisingData &);
virtual uint16_t getMinAdvertisingInterval(void) const {return GAP_DURATION_UNITS_TO_MS(BLE_GAP_ADV_INTERVAL_MIN);}
virtual uint16_t getMinNonConnectableAdvertisingInterval(void) const {return GAP_DURATION_UNITS_TO_MS(BLE_GAP_ADV_NONCON_INTERVAL_MIN);}
virtual uint16_t getMaxAdvertisingInterval(void) const {return GAP_DURATION_UNITS_TO_MS(BLE_GAP_ADV_INTERVAL_MAX);}
virtual ble_error_t startAdvertising(const GapAdvertisingParams &);
virtual ble_error_t stopAdvertising(void);
virtual ble_error_t disconnect(DisconnectionReason_t reason);