diff options
Diffstat (limited to 'firmware/include/openpcd.h')
-rw-r--r-- | firmware/include/openpcd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/include/openpcd.h b/firmware/include/openpcd.h index 904b8ff..e5a0ac7 100644 --- a/firmware/include/openpcd.h +++ b/firmware/include/openpcd.h @@ -33,6 +33,7 @@ enum openpcd_cmd_class { OPENPCD_CMD_CLS_PWM = 0x4, OPENPCD_CMD_CLS_ADC = 0x5, OPENPCD_CMD_CLS_LIBRFID = 0x6, + OPENPCD_CMD_CLS_PRESENCE = 0x7, /* PICC (transponder) side */ OPENPCD_CMD_CLS_PICC = 0xe, @@ -89,6 +90,9 @@ enum openpcd_cmd_class { /* CMD_CLS_LIBRFID */ #define OPENPCD_CMD_LRFID_DETECT_IRQ (0x1|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_LIBRFID)) +/* CMD_CLS_LIBRFID */ +#define OPENPCD_CMD_PRESENCE_UID_GET (0x1|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_PRESENCE)) + /* CMD_CLS_USBTEST */ #define OPENPCD_CMD_USBTEST_IN (0x1|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_USBTEST)) #define OPENPCD_CMD_USBTEST_OUT (0x2|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_USBTEST)) |