]> git.kernelconcepts.de Git - metawatch.git/blobdiff - metawatch_protocol.h
Mostly reformatting
[metawatch.git] / metawatch_protocol.h
index cae11c95d3d5384397bae192d95b0db8947345e8..35460d69651d05e6d9f0dcbb315d6cba68b28d55 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _MW_PROT_H
 #define _MW_PROT_H
 
-#define MW_SOF         0x01
+#define MW_SOF                         0x01
 
 #define MW_GET_DEVICE_TYPE             0x01
 #define MW_GET_DEVICE_TYPE_RSP         0x02
 #define MW_GET_REAL_TIME_CLOCK         0x27
 #define MW_GET_REAL_TIME_CLOCK_RSP     0x28
 
+#define MW_RTC_CLOCK_12HR              0x00
+#define MW_RTC_CLOCK_24HR              0x01
+#define MW_RTC_DATE_MMDD               0x00
+#define MW_RTC_DATE_DDMM               0x01
+
 #define MW_RESERVED                    0x32
 #define MW_STATUS_CHANGE_EVENT         0x33
 #define MW_BUTTON_EVENT_MESSAGE                0x34
@@ -41,3 +46,4 @@
 
 
 #endif
+