MPLAB Harmony Bluetooth Help
|
Enable or disable advertising.
Function DRV_BM64_BLE_EnableAdvertising:
void DRV_BM64_BLE_EnableAdvertising(const DRV_HANDLE handle, bool enable);
Enable or disable BLE advertising.
DRV_BM64_Open must have been called to obtain a valid opened device handle.
Parameters |
Description |
handle |
valid handle to an opened BM64 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_BM64) is used DRV_BM64_BLE_EnableAdvertising(appData.bt.handle, true);
void DRV_BM64_BLE_EnableAdvertising( const DRV_HANDLE handle, bool enable );
MPLAB Harmony Bluetooth Help
|