MSTP on Linux appears to be function for the server demo, but dlmstp needs to be rewritten to use posix queues or sockets, and multiple threads for the state machines.
This commit is contained in:
@@ -224,7 +224,7 @@ void RS485_Initialize(void)
|
||||
perror(RS485_Port_Name);
|
||||
exit(-1);
|
||||
}
|
||||
#if 0
|
||||
#if 1
|
||||
/* non blocking for the read */
|
||||
fcntl(RS485_Handle, F_SETFL, FNDELAY);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user