MPLAB Harmony Bluetooth Help
|
Gets the current status of the BM64 Bluetooth driver module (BM64-specific).
Function DRV_BM64_GetPowerStatus:
DRV_BM64_DRVR_STATUS DRV_BM64_GetPowerStatus( void );
This routine provides the current status (power on/off/ready) of the BM64 Bluetooth driver module passed back as type DRV_BM64_DRVR_STATUS enum.
DRV_BM64_Initialize must have been called to initialize the driver instance.
Driver status, encoded as type DRV_BM64_DRVR_STATUS enum.
case APP_STATE_WAIT_INIT: { // note generic version of call (DRV_BT instead of DRV_BM64) is used if (DRV_BT_STATUS_READY == DRV_BT_GetPowerStatus()) { appData.state=APP_STATE_IDLE; // start can processing audio } } break;
DRV_BM64_DRVR_STATUS DRV_BM64_GetPowerStatus();
MPLAB Harmony Bluetooth Help
|