Swimate V2 without RTOS code
Dependencies: Adafruit_GFX_128x64 DS3231 PinDetect SDFileSystem USBDevice mbed RealtimeMath MODSERIAL
Diff: sync.h
- Revision:
- 13:227a6cfd2097
- Parent:
- 9:a711b5b34d73
- Child:
- 18:06b718f8e6fd
--- a/sync.h Wed May 28 20:28:14 2014 +0000 +++ b/sync.h Wed May 28 22:56:25 2014 +0000 @@ -4,4 +4,13 @@ bool sync_init(); void sync(); +#define CMD_RTCSET 0x01 +#define CMD_LISTSESSIONS 0x02 +#define CMD_SYNCSESSION 0x03 +#define CMD_DELETESESSION 0x04 +#define CMD_DONE 0x05 +#define ACK 0x06 +#define NACK 0x07 + + #endif // _SYNC_H \ No newline at end of file