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 BLE_API by
Revision 718:cb41f5a422a9, committed 2015-07-02
- Comitter:
- rgrover1
- Date:
- Thu Jul 02 09:06:11 2015 +0100
- Parent:
- 717:3129b149a6b2
- Child:
- 719:5f5c3812ea8f
- Commit message:
- Synchronized with git rev 26015995
Author: Rohit Grover
#46: rename GATT_MTU_SIZE_DEFAULT to BLE_GATT_MTU_SIZE_DEFAULT. This avoids a name conflict with the contant defined in Nordic-SDK.
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 @@ -127,7 +127,7 @@ }; /** @brief Default MTU size. */ -static const unsigned GATT_MTU_SIZE_DEFAULT = 23; +static const unsigned BLE_GATT_MTU_SIZE_DEFAULT = 23; #ifdef __cplusplus }
--- 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,7 @@
class UARTService {
public:
/**< Maximum length of data (in bytes) that can be transmitted by the UART service module to the peer. */
- static const unsigned BLE_UART_SERVICE_MAX_DATA_LEN = (GATT_MTU_SIZE_DEFAULT - 3);
+ static const unsigned BLE_UART_SERVICE_MAX_DATA_LEN = (BLE_GATT_MTU_SIZE_DEFAULT - 3);
public:
