Send and transmit using radio works now. Sends initial request for registration.

This commit is contained in:
2018-11-15 18:23:35 +01:00
parent fbf8af5684
commit 2eda00c694
8 changed files with 65 additions and 17 deletions

View File

@@ -5,10 +5,14 @@
struct clockMsg_s {
uint8_t msgType;
uint8_t day;
uint8_t hour;
uint8_t minute;
uint8_t second;
uint8_t speed; // msPerModelSecond / 4 --> 0..250
};
#define msgType_Clock 'c'
#define msgType_Clock 'c' /* clock update, sent by master using broadcast */
#define msgType_ReqReg 'R' /* Request Registration, sent by Master using broadcast; ask clients to register */
#define msgType_Reg 'r' /* Registration message, sent by Client using 1:1 message to master */
#endif