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.
Dependents: mbed_EddystoneURL_Beacon_ssci mbed_EddystoneURL_Beacon_ssci mbed_EddystoneURL_Beacon_ssci
Fork of BLE_API by
Diff: ble/services/UARTService.h
- Revision:
- 722:eab9499e4250
- Parent:
- 718:cb41f5a422a9
- Child:
- 723:71507679c9b2
--- a/ble/services/UARTService.h Thu Jul 02 09:06:12 2015 +0100 +++ b/ble/services/UARTService.h Thu Jul 02 09:06:12 2015 +0100 @@ -117,7 +117,7 @@ if ((sendBufferIndex == BLE_UART_SERVICE_MAX_DATA_LEN) || // (sendBuffer[sendBufferIndex - 1] == '\r') || (sendBuffer[sendBufferIndex - 1] == '\n')) { - ble.updateCharacteristicValue(getRXCharacteristicHandle(), static_cast<const uint8_t *>(sendBuffer), sendBufferIndex); + ble.gattServer().write(getRXCharacteristicHandle(), static_cast<const uint8_t *>(sendBuffer), sendBufferIndex); sendBufferIndex = 0; } }