Getting firmware local beep file information for V3
Menu: getSupportGetBleBeepV3
Flutter example:
/// V3 command to get firmware local beep file information
getBleBeepV3(
evtBase: _VBusEvtBase.base_app_get,
evtType: _VBusEvtType.func_v3_get_ble_beep
),
/// Send V3 command to get firmware local beep file information
libManager.send(evt: CmdEvtType.getBleBeepV3, json: jsonEncode(json));
JSON fields received by the app:
Field Name | Field Type | Field Description |
---|---|---|
version | int | Protocol version number |
err_code | int | Error code, 0 for success, non-zero for failure |
item_count | int | Number of beep files |
item | array | List of beep file names |
Field Name | Field Type | Field Description |
---|---|---|
name | char [] | Beep file name, maximum 30 bytes |
Example:
{
"version": 0,
"err_code": 0,
"item_count": 2,
"item": [
{
"name": " "
},
{
"name": " "
}
]
}