summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authormeri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-04-10 21:50:12 +0000
committermeri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-04-10 21:50:12 +0000
commit6f440df07f8c30de45e944736ca2a11ae9ce3c43 (patch)
treedd2fc523a42619357907b8bb5c936bfc8cbd859c /firmware/include
parentd10804d38f81d6aea3f5b0a570c0bb6ba2648159 (diff)
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
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/openpcd.h4
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))
personal git repositories of Harald Welte. Your mileage may vary