MPLAB Harmony Bluetooth Help
|
Enable or disable advertising.
Function DRV_BM71_BLE_EnableAdvertising:
void DRV_BM71_BLE_EnableAdvertising(const DRV_HANDLE handle, bool enable);
Enable or disable BLE advertising.
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 |
enable |
true to enable advertising, false to disable advertising |
None.
// note generic version of call (DRV_BT instead of DRV_BM71) is used DRV_BM71_BLE_EnableAdvertising(appData.bt.handle, true);
void DRV_BM71_BLE_EnableAdvertising( const DRV_HANDLE handle, bool enable );
MPLAB Harmony Bluetooth Help
|