Flag Bytes

ByteDescription76543210
ser_cfgAvailable serial interfaces 
WiFi
USR
Loconet
m_stat
General status
SN1_type
0 = SNI
1 = FD1
 
SN2_text
EUSART2
text mode
SN1_text
EUSART1
text mode
SN_busy
DCC_EOM3
future
DCC_EOM2
future
DCC_EOM1
future
EP_ctl
Event flags
 
EPF_ETH
message in ERX_buf
EPF_ser
message in SIO_buf
EPF_DG
DCC generator empty
SN1 (Serial Network 1) uses EUSART1 and may be used with SNI for the Loconet compatible single wire network (SWN) or FD1 for USR TCP232
SN2 (Serial Network 2) uses EUSART2 and is used exclusively with ENI for ESP-01 WiFi
Text mode is used while setting up an interface that uses the "AT" commands

The SNI driver is half duplex party line type with collision detection, uses SN_busy [EUSART1 only]
The FD1 driver is full duplex point to point type with no collision detection or busy control [EUSART1 only]
The ENI driver is capable of setting up an ESP-01, after wich is becomes like FD1 [EUSART2 only]