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 nRF51822 by
Diff: nRF51GattServer.cpp
- Revision:
- 12:e151f55035b8
- Parent:
- 11:6277845e1cc5
- Child:
- 14:5ca08f962e4f
diff -r 6277845e1cc5 -r e151f55035b8 nRF51GattServer.cpp --- a/nRF51GattServer.cpp Thu May 29 08:24:36 2014 +0100 +++ b/nRF51GattServer.cpp Thu May 29 08:26:42 2014 +0100 @@ -46,7 +46,7 @@ /* Add the service to the nRF51 */ ble_uuid_t nordicUUID; - nordicUUID = custom_convert_to_transport_uuid(service.primaryServiceID); + nordicUUID = custom_convert_to_nordic_uuid(service.primaryServiceID); ASSERT( ERROR_NONE == sd_ble_gatts_service_add(BLE_GATTS_SRVC_TYPE_PRIMARY, &nordicUUID, @@ -57,7 +57,7 @@ for (uint8_t i = 0; i < service.characteristicCount; i++) { GattCharacteristic *p_char = service.characteristics[i]; - nordicUUID = custom_convert_to_transport_uuid(p_char->uuid); + nordicUUID = custom_convert_to_nordic_uuid(p_char->uuid); ASSERT ( ERROR_NONE == custom_add_in_characteristic(service.handle,