MPLAB Harmony Bluetooth Help
|
Close an opened-instance of the BM71 Bluetooth driver.
Function DRV_BM71_Close:
void DRV_BM71_Close(DRV_HANDLE handle);
This routine closes an opened-instance of the BM71 driver, invalidating the handle. Any buffers in the driver queue that were submitted by this client will be removed. After calling this routine, the handle passed in "handle" must not be used with any of the remaining driver routines. A new handle must be obtained by calling DRV_BM71_Open before the caller may use the driver again
DRV_BM71_Open must have been called to obtain a valid opened device handle.
Parameters |
Description |
handle |
valid handle to an opened BM71 device driver unique to client |
None.
// note generic version of call (DRV_BT instead of DRV_BM71) is used
DRV_BT_Close(appData.bt.handle);
*
void DRV_BM71_Close( const DRV_HANDLE handle );
MPLAB Harmony Bluetooth Help
|