add "LE Device Address" 0x1B to advertising data types
Fork of BLE_API by
Revision 717:3129b149a6b2, committed 2015-07-02
- Comitter:
- rgrover1
- Date:
- Thu Jul 02 09:06:11 2015 +0100
- Parent:
- 716:11b41f651697
- Child:
- 718:cb41f5a422a9
- Commit message:
- Synchronized with git rev dde04982
Author: Rohit Grover
fix mbedmicro/BLE_API/#16: move GATT_MTU_SIZE_DEFAULT into blecommon.h
Changed in this revision
ble/blecommon.h | Show annotated file Show diff for this revision Revisions of this file |
ble/services/UARTService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ble/blecommon.h Thu Jul 02 09:06:11 2015 +0100 +++ b/ble/blecommon.h Thu Jul 02 09:06:11 2015 +0100 @@ -126,6 +126,9 @@ BLE_ERROR_UNSPECIFIED = 9, /**< Unknown error. */ }; +/** @brief Default MTU size. */ +static const unsigned GATT_MTU_SIZE_DEFAULT = 23; + #ifdef __cplusplus } #endif
--- a/ble/services/UARTService.h Thu Jul 02 09:06:11 2015 +0100 +++ b/ble/services/UARTService.h Thu Jul 02 09:06:11 2015 +0100 @@ -41,7 +41,6 @@ class UARTService { public: /**< Maximum length of data (in bytes) that can be transmitted by the UART service module to the peer. */ - static const unsigned GATT_MTU_SIZE_DEFAULT = 23; static const unsigned BLE_UART_SERVICE_MAX_DATA_LEN = (GATT_MTU_SIZE_DEFAULT - 3); public: