Drivers Libraries Help > BM64 Bluetooth Driver Library > Library Interface > a) System Functions > DRV_BM64_TaskReq Function
MPLAB Harmony Bluetooth Help
DRV_BM64_TaskReq Function

Make a power on/power off task request.

Description

Function DRV_BM64_TaskReq: 

void DRV_BM64_TaskReq(DRV_BM64_REQUEST request); 

Make a power on/power off task request using the DRV_BM64_REQUEST enum.

Preconditions

DRV_BM64_Initialize must have been called to initialize the driver instance.

Parameters
Parameters 
Description 
request 
power on/off request of type DRV_BM64_REQUEST 
Returns

None.

Example
// note generic version of call (DRV_BT instead of DRV_BM64) is used
DRV_BT_TaskReq(DRV_BM64_REQ_SYSTEM_ON);
C
void DRV_BM64_TaskReq(
    DRV_BM64_REQUEST request
);