design: fields: serial - 32 chars MACs - 3*12 chars Disk - 36 chars additional - 24 chars string length in GET could be up to 128+3+? (160) string is concatenated without delimiters and then hashed the hash must be updated if device changes machine-id (dual-hash to go from device ID) --- Linux: 33+39+37+? = 109 + hostname design: 33+39+37+18 7d461dac87e84043a3360614c96496d8; e4b31843d1c7,507b9dea1a57; 52f04894-f403-4ea1-b5dd-4ad04deb9cbd; pecka --- OpenWRT: 32+39+1+? = 72 + hostname 000000001711bd41,a01041,BCM2835; b827eb11bd41; ; OpenWrt --- Advrouter: 8+13+1+15 = 37 6602882; 000A1485E3BC; ; SPECTRE-v3L-LTE --- CS-Tech device 1) Serial no ... 10+1? l_tok="$(status sys -v | grep -i "^Serial Number" | sed "s/[^:]*:[ ]*//")" 2) MAC ... 12+1 l_tok="$(status lan -v | grep -i "^MAC Address" | sed "s/[^:]*:[ ]*//")" 3) HW UUID ... 36+1 l_tok="$(status sys -v | grep -i "^Hardware UUID" | sed "s/[^:]*:[ ]*//")" 4) product type ... 5+1 l_tok="$(status sys -v | grep -i "^Product Type" | sed "s/[^:]*:[ ]*//")"