Makefile cleanup, start implementation of nval commands (not working yet)
[metawatch.git] / metawatch_protocol.h
index 65b991b..ca61057 100644 (file)
 #define MW_RTC_DATE_MMDD               0x00
 #define MW_RTC_DATE_DDMM               0x01
 
+#define MW_NVAL_OPERATION              0x30
+#define MW_NVAL_OPERATION_RSP          0x31
+
+#define MW_NVAL_OPERATION_READ         0x01
+#define MW_NVAL_OPERATION_WRITE                0x02
+#define MW_NVAL_TIME_FORMAT            0x2009
+#define MW_NVAL_DATE_FORMAT            0x200a
+
+
 #define MW_RESERVED                    0x32
 #define MW_STATUS_CHANGE_EVENT         0x33
 #define MW_BUTTON_EVENT_MESSAGE                0x34