diff --git a/ble/blecommon.h b/ble/blecommon.h index 7a6cd59..b572f08 100644 --- a/ble/blecommon.h +++ b/ble/blecommon.h @@ -127,7 +127,7 @@ enum ble_error_t { }; /** @brief Default MTU size. */ -static const unsigned GATT_MTU_SIZE_DEFAULT = 23; +static const unsigned BLE_GATT_MTU_SIZE_DEFAULT = 23; #ifdef __cplusplus } diff --git a/ble/services/UARTService.h b/ble/services/UARTService.h index 2b0ef49..3ba367b 100644 --- a/ble/services/UARTService.h +++ b/ble/services/UARTService.h @@ -41,7 +41,7 @@ extern const uint8_t UARTServiceRXCharacteristicUUID[UUID::LENGTH_OF_LONG_UUID] 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: