1
0

add TOKEN in macSender

This commit is contained in:
2024-04-20 12:40:44 +02:00
parent d00b873275
commit 964e9247c4
2 changed files with 80 additions and 29 deletions

4
main.h
View File

@@ -27,13 +27,13 @@
#define TIME_SAPI 0x03 // sapi time application number (0-7)
#define BROADCAST_ADDRESS 0x0F // broadcast address
#define TOKEN_TAG 0xFF // tag of tokenring frame
#define TOKENSIZE 19 // size of a token frame
#define TOKENSIZE 19 // size of a token frame (16 stations + 1 tag + start + end)
#define STX 0x02 // any frame start char
#define ETX 0x03 // any frame end char
#define CONTINUE 0x0 // for check return code halt
//--------------------------------------------------------------------------------
// identifiers used in more the one file (thread)
// identifiers used in more the one file (thread)
//--------------------------------------------------------------------------------
extern GListener gl;
extern osMemoryPoolId_t memPool;