CROTUS / Crotus_Com

Files at this revision

API Documentation at this revision

Comitter:
libv2001
Date:
Mon Apr 03 18:00:07 2017 +0000
Parent:
5:320244af8c99
Commit message:
IAM command ajout?

Changed in this revision

communication.h Show annotated file Show diff for this revision Revisions of this file
--- a/communication.h	Mon Apr 03 17:44:24 2017 +0000
+++ b/communication.h	Mon Apr 03 18:00:07 2017 +0000
@@ -1,6 +1,7 @@
 //Commands OPCODEs
 #define LOG_COMMAND 0x42
 #define STOP_COMMAND 0x66
+#define IAM_COMMAND 0x32
 
 //Log command params
 #define SPEED_STATE_INDEX 0x01
@@ -16,4 +17,8 @@
 
 #define DIRECTION_STATE_INDEX 0x03
 #define DIRECTION_STATE_FORWARD 0x01
-#define DIRECTION_STATE_BACKWARD 0x10
\ No newline at end of file
+#define DIRECTION_STATE_BACKWARD 0x10
+
+//IAM command params
+#define IAM_RFID 0x42
+#define IAM_COMMAND_CENTER 0x69
\ No newline at end of file