fork BLE_API to add update adv payload API

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

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: