Nordic stack and drivers for the mbed BLE API
Dependents: idd_hw5_bleFanProto
Fork of nRF51822 by
Diff: nRF51GattServer.cpp
- Revision:
- 12:e151f55035b8
- Parent:
- 11:6277845e1cc5
- Child:
- 14:5ca08f962e4f
--- 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,