RDK-B
Bluetooth HAL APIs

Description

Functions

int ble_Enable (BLE_Status_e status)
 
int ble_GetStatus (BLE_Status_e *status)
 

Function Documentation

◆ ble_Enable()

int ble_Enable ( BLE_Status_e  status)

@description Enable/disable BLE radio.

Parameters
BLE_Status_estatus New BLE radio status
Returns
The status of the operation.
Return values
RETURN_OKif successful.
RETURN_ERRif any error is detected
Execution:\n Synchronous.
Side Effects:\n None.
Note
This function must not suspend and must not invoke any blocking system calls.

◆ ble_GetStatus()

int ble_GetStatus ( BLE_Status_e status)

@description Returns BLE status.

Parameters
BLE_Status_e* status Pointer to status, to be returned
Returns
The status of the operation.
Return values
RETURN_OKif successful.
RETURN_ERRif any error is detected
Execution:\n Synchronous.
Side Effects:\n None.
Note
This function must not suspend and must not invoke any blocking system calls.