Swimate V2 without RTOS code
Dependencies: Adafruit_GFX_128x64 DS3231 PinDetect SDFileSystem USBDevice mbed RealtimeMath MODSERIAL
sync.h@13:227a6cfd2097, 2014-05-28 (annotated)
- Committer:
- paulbartell
- Date:
- Wed May 28 22:56:25 2014 +0000
- Revision:
- 13:227a6cfd2097
- Parent:
- 9:a711b5b34d73
- Child:
- 18:06b718f8e6fd
Started bluetooth functionality.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ellingjp | 9:a711b5b34d73 | 1 | #ifndef _SYNC_H |
ellingjp | 9:a711b5b34d73 | 2 | #define _SYNC_H |
ellingjp | 9:a711b5b34d73 | 3 | |
ellingjp | 9:a711b5b34d73 | 4 | bool sync_init(); |
ellingjp | 9:a711b5b34d73 | 5 | void sync(); |
ellingjp | 9:a711b5b34d73 | 6 | |
paulbartell | 13:227a6cfd2097 | 7 | #define CMD_RTCSET 0x01 |
paulbartell | 13:227a6cfd2097 | 8 | #define CMD_LISTSESSIONS 0x02 |
paulbartell | 13:227a6cfd2097 | 9 | #define CMD_SYNCSESSION 0x03 |
paulbartell | 13:227a6cfd2097 | 10 | #define CMD_DELETESESSION 0x04 |
paulbartell | 13:227a6cfd2097 | 11 | #define CMD_DONE 0x05 |
paulbartell | 13:227a6cfd2097 | 12 | #define ACK 0x06 |
paulbartell | 13:227a6cfd2097 | 13 | #define NACK 0x07 |
paulbartell | 13:227a6cfd2097 | 14 | |
paulbartell | 13:227a6cfd2097 | 15 | |
ellingjp | 9:a711b5b34d73 | 16 | #endif // _SYNC_H |