FreeRTOS: BLE
BLE
Return to main page ↑
IotBle_CreateService

Create a new service.

BTStatus_t IotBle_CreateService( BTService_t * pService,
IotBleAttributeEventCallback_t pEventsCallbacks[] );

Allocate memory for a new service.

Parameters
[in]pService: Service to create
[in]pEventsCallbacksCall backs for events on each attributes in the service.
Returns
Returns eBTStatusSuccess on successful call.