Notify Firmware to Enable BT Broadcasting from the App
Flutter Example:
/// Event number for notifying firmware to enable BT broadcasting from the app
setNoticeOpenBroadcastn(
evtBase: _VBusEvtBase.base_app_set,
evtType: _VBusEvtType.app_app_to_ble_notcie_open_broadcast
),
/// Notify firmware to enable BT broadcasting from the app
libManager.send(evt: CmdEvtType.setNoticeOpenBroadcastn, json: jsonEncode(json));
JSON fields received by the app:
Field Name | Field Type | Field Description |
---|---|---|
err_code | int | 0: Success 1: Failure |
Example:
{
"err_code": 1
}