According to CSIS specification v1.0.1: "Allowed values for the Set
Member Lock characteristic are Unlocked (corresponding to the
numeric value 0x01) and Locked (corresponding to the numeric
value 0x02); all other values are RFU".
switch (lock) {
case 0x01:
- print_field(" Locked (0x%02x)", lock);
+ print_field(" Unlocked (0x%02x)", lock);
break;
case 0x02:
- print_field(" Unlocked (0x%02x)", lock);
+ print_field(" Locked (0x%02x)", lock);
break;
default:
print_field(" RFU (0x%02x)", lock);