Get Firmware Version and BT Version

Function Table: getBleAndBtVersion

Flutter Example:

/// Get Firmware Version and BT Version event number
getFirmwareBtVersion(
  evtBase: _VBusEvtBase.base_app_get,
  evtType: _VBusEvtType.app_get_get_firmware_bt_version),

/// Get Firmware Version and BT Version
libManager.send(evt: CmdEvtType.getFirmwareBtVersion, json: jsonEncode(json));

JSON Fields Received by the App:

Field Name Field Type Description
firmware_version1 int Firmware version level 1
firmware_version2 int Firmware version level 2
firmware_version3 int Firmware version level 3
BT_flag int BT version flag
0: Invalid
1: Indicates that the firmware has a corresponding BT firmware
BT_version1 int BT version level 1
BT_version2 int BT version level 2
BT_version3 int BT version level 3
BT_match_version1 int BT matching version level 1
BT_match_version2 int BT matching version level 2
BT_match_version3 int BT matching version level 3

Example:

{
  "BT_flag" : 1,
  "BT_match_version1" : 2,
  "BT_match_version2" : 0,
  "BT_match_version3" : 7,
  "BT_version1" : 2,
  "BT_version2" : 0,
  "BT_version3" : 9,
  "firmware_version1" : 2,
  "firmware_version2" : 0,
  "firmware_version3" : 6
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2025-04-30 09:32:44

results matching ""

    No results matching ""