mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-03 15:05:12 -04:00
TCP mode
This commit is contained in:
parent
d8a89c5de2
commit
13b792fcbe
4 changed files with 37 additions and 17 deletions
|
@ -8,6 +8,8 @@
|
|||
#define MP1_ENABLE_TCP_COMPATIBILITY false
|
||||
#if MP1_ENABLE_TCP_COMPATIBILITY
|
||||
#define MP1_ENABLE_COMPRESSION false
|
||||
#else
|
||||
#define MP1_ENABLE_COMPRESSION true
|
||||
#endif
|
||||
#define MP1_ENABLE_CSMA true
|
||||
|
||||
|
@ -15,6 +17,7 @@
|
|||
#define MP1_INTERLEAVE_SIZE 12
|
||||
#if MP1_ENABLE_COMPRESSION
|
||||
#define MP1_MAX_FRAME_LENGTH 22 * MP1_INTERLEAVE_SIZE
|
||||
#define MP1_USE_TX_QUEUE false
|
||||
#else
|
||||
#define MP1_MAX_FRAME_LENGTH 25 * MP1_INTERLEAVE_SIZE
|
||||
#define MP1_USE_TX_QUEUE true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue