MPLAB Harmony Bluetooth Help
|
Gets the current system status of the BM71 Bluetooth driver module.
Function DRV_BM71_Status:
SYS_STATUS DRV_BM71_Status( void );
This routine provides the current status of the BM71 Bluetooth driver module, passed back as type SYS_STATUS.
None.
Driver status, encoded as type SYS_STATUS enum:
SYS_STATUS_DEINITIALIZED - Indicates that the driver has been deinitialized SYS_STATUS_READY - Indicates that any previous module operation for the specified module has completed SYS_STATUS_BUSY - Indicates that a previous module operation for the specified module has not yet completed SYS_STATUS_ERROR - Indicates that the specified module is in an error state *
* // note generic version of call (DRV_BT instead of DRV_BM71) is used if (SYS_STATUS_READY == DRV_BT_Status()) { // This means the driver can be opened using the // DRV_BT_Open() function. }
SYS_STATUS DRV_BM71_Status();
MPLAB Harmony Bluetooth Help
|