Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/BlueNRGGap.h
- Revision:
- 252:0c2cb16a7166
- Parent:
- 242:058b2e731adc
- Parent:
- 251:86df2c289e7c
- Child:
- 253:9665a6f8bbdb
--- a/x-nucleo-idb0xa1/BlueNRGGap.h Tue Jun 21 17:00:00 2016 +0200 +++ b/x-nucleo-idb0xa1/BlueNRGGap.h Mon Jun 27 15:51:20 2016 +0200 @@ -165,13 +165,15 @@ uint8_t deviceAppearance[2]; uint8_t local_name_length; - uint8_t local_name[LOCAL_NAME_MAX_SIZE]; + uint8_t local_name[ADV_DATA_MAX_SIZE];//LOCAL_NAME_MAX_SIZE]; uint8_t servUuidlength; uint8_t servUuidData[UUID_BUFFER_SIZE]; uint8_t AdvLen; uint8_t AdvData[ADV_DATA_MAX_SIZE]; + + uint8_t txPowLevSet; Timeout advTimeout; bool AdvToFlag; @@ -186,6 +188,8 @@ uint16_t scanInterval; uint16_t scanWindow; uint16_t advInterval; + uint16_t slaveConnIntervMin; + uint16_t slaveConnIntervMax; uint16_t conn_min_interval; uint16_t conn_max_interval; void setAdvParameters(void); @@ -198,7 +202,7 @@ ble_error_t updateAdvertisingData(void); - BlueNRGGap() { + BlueNRGGap(): txPowLevSet(0) { m_connectionHandle = BLE_CONN_HANDLE_INVALID; addr_type = BLEProtocol::AddressType::RANDOM_STATIC;