leaps_dev_info_get
Get information about the firmware and hardware of the module.
(none)
fw_id: ? 32-bits integer ? (firmware id. Possible values are ‘0’ for BLDR, ‘1’ for ELDR - Extended Loader or ‘2’ for main firmware. Main firmware is the default. ELDR is a limited version of main firmware and servers mainly as backup during the firmware update. The ELDR is not supported on all HW.)
bldr_version: ? 32-bits integer ? (maj, min, patch, res, var)
eldr_version: ? 32-bits integer ? (maj, min, patch, res, var, value 0xFFFFFFFF means that the HW does not support ELDR)
fw_version: ? 32-bits integer ? (maj, min, patch, res, var)
bldr_checksum: ? 32-bits integer ?
eldr_checksum: ? 32-bits integer ? (value 0xFFFFFFFF means that the HW does not support ELDR)
fw_checksum: ? 32-bits integer ?
cfg_version: ? 32-bits integer ?
hw_version: ? 32-bits integer ?
firmware version encoding |
||||
---|---|---|---|---|
maj = bits 24 - 31 (MAJOR) |
min = bits 16 - 23 (MINOR) |
patch = bits 8 - 15 (PATCH) |
res = bits 4 - 7 (RESERVED) |
var = bits 0 - 3 (VARIANT) |
Example
TLV Request |
|
---|---|
Type |
Length |
0x15 |
0x00 |
Type 0x15 means command leaps_dev_info_get
TLV response |
||||||||
---|---|---|---|---|---|---|---|---|
Type |
Length |
Value |
Type |
Length |
Value |
|||
fw_id |
bldr_version eldr_version fw_version bldr_checksum eldr_checksum fw_checksum |
cfg_version |
hw_version |
|||||
0x40 |
0x01 |
0x00 |
0x50 |
0x24 |
0x00 0x00 0x00 0x01 |
0x00 0x00 0x03 0x01 0xff 0xff 0xff 0xff 0x01 0x00 0x03 0x01 0xd2 0x81 0x9d 0x59 0xff 0xff 0xff 0xff 0xa7 0x34 0x01 0xcd |
0x00 0x07 0x01 0x00 |
0x00 0x01 0x41 0xDE |
Type 0x40 means status code
Type 0x50 means device information