Get BT Name
Menu: getBtAddrV2
Flutter Example:
/// Get BT Bluetooth name event code
getBtName(
evtBase: _VBusEvtBase.base_app_get,
evtType: _VBusEvtType.app_get_bt_name)
/// Get BT Bluetooth name
libManager.send(evt: CmdEvtType.getBtName, json: jsonEncode(json));
JSON fields received by the App:
Field Name | Field Type | Field Description |
---|---|---|
bt_name | char [32] | BT Bluetooth name bt name will only be returned if firmware has v2_get_bt_addr enabled and alarm_count > 0, otherwise it will be empty |
Example:
{
"bt_name" : "ID206"
}