From 6f440df07f8c30de45e944736ca2a11ae9ce3c43 Mon Sep 17 00:00:00 2001 From: meri Date: Tue, 10 Apr 2007 21:50:12 +0000 Subject: main_presence initial check in - continuous scanning for new tag id git-svn-id: https://svn.openpcd.org:2342/trunk@306 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- firmware/include/openpcd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/include') 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)) -- cgit v1.2.3