Coverage for tropicsquare / constants / cmd_result.py: 100%
11 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-27 21:24 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-27 21:24 +0000
1# Generic result codes
2CMD_RESULT_OK = 0xC3
3CMD_RESULT_FAIL = 0x3C
4CMD_RESULT_UNAUTHORIZED = 0x01
5CMD_RESULT_INVALID_CMD = 0x02
7# Resutls for memory commands
8CMD_RESULT_MEM_WRITE_FAIL = 0x10
9CMD_RESULT_MEM_SLOT_EXPIRED = 0x11
11# Results for ECC commands
12CMD_RESULT_ECC_INVALID_KEY = 0x12
14# Results for MCounter
15CMD_RESULT_MCOUNTER_UPDATE_ERROR = 0x13
16CMD_RESULT_MCOUNTER_COUNTER_INVALID = 0x14
18# Results for pairing keys
19CMD_RESULT_PAIRING_KEY_EMPTY = 0x15
20CMD_RESULT_PAIRING_KEY_INVALID = 0x16