CANedge2 Docs, Release FW 01.04.02
0.5 Device file
A Device File (
device.json
) is located in the root of the SD card with info on the device. The content
of the Device File is updated when the device powers on.
{
"id"
:
"4F07A3C3"
,
"type"
:
"0000001F"
,
"kpub"
:
"l27UKi4ehjpxxEdmRstBk5UaqSGQYnfylzUNs9EOoJfDodvr/
˓
→
PqNnMrz61IxzrBfFTmuhw2K2cJ4q60iFiYM8w=="
,
"fw_ver"
:
"01.01.02"
,
"hw_ver"
:
"00.01"
,
"cfg_ver"
:
"01.01"
,
"cfg_name"
:
"config-01.01.json"
,
"cfg_crc32"
:
"9ECC0C10"
,
"sch_name"
:
"schema-01.01.json"
,
"log_meta"
:
"Truck1"
,
"space_used_mb"
:
"36/7572"
,
"wifi_fw_ver"
:
"19.3.0/19.6.1"
,
"wifi_mac"
:
"F8-F0-05-94-39-2E"
,
"certs_server"
: [
"5BDA1A96DF69FEB62E2E0A61BD2672C03CAA9473"
,
˓
→
"F46B682C4D72E3394C22189AE16DD9A79AFFFD82"
]
}
Additional content may be added to the
device.json
in future firmware updates.
Fields explained
•
id
: Device unique ID number
•
type
: Device type (CANedge1 =
0000001D
, CANedge2 =
0000001F
)
•
kpub
: Device public key in Base-64 format
•
fw_ver
: Firmware version
•
hw_ver
: Hardware version
•
cfg_ver
: Configuration File version
•
cfg_name
: Configuration File name
•
cfg_crc32
: Configuration File checksum
•
sch_name
: Configuration Rule Schema name
•
log_meta
: Configurable device string (e.g. application name)
•
space_used_mb
: The SD-card used space of the total in MB (
[used]/[total]
)
•
wifi_fw_ver
: WiFi module version
•
wifi_mac
: WiFi module MAC address
•
certs_server
: List of loaded TLS certificate hashes from the Server Certificate Bundle
46
CONTENTS