Rewriting the dlmstp for Linux to use sockets. In progress, not compiling.

This commit is contained in:
skarg
2007-07-02 14:41:59 +00:00
parent 27f84b2a85
commit 5435d46621
3 changed files with 311 additions and 73 deletions
+2 -2
View File
@@ -146,7 +146,7 @@ void RS485_Send_Frame(
{
uint8_t turnaround_time;
uint32_t baud;
size_t written = 0;
ssize_t written = 0;
if (mstp_port) {
baud = RS485_Get_Baud_Rate();
@@ -224,7 +224,7 @@ void RS485_Initialize(void)
perror(RS485_Port_Name);
exit(-1);
}
#if 1
#if 0
/* non blocking for the read */
fcntl(RS485_Handle, F_SETFL, FNDELAY);
#else