- Reworked the connection object and the IO system

- Reworked the support for TRICS
- Added a second generation motor
This commit is contained in:
koennecke
2009-02-03 08:05:39 +00:00
parent f6d595665e
commit 361ee9ebea
119 changed files with 16455 additions and 3674 deletions

View File

@ -237,7 +237,7 @@ int readRS232TillTerm(prs232 self, void *data, int *datalen){
}
else if(iRet == -1)
{
printf("Incomplete read: %s\n", (char *)data);
printf("Incomplete read: %s, errno = %d\n", (char *)data, errno);
return INCOMPLETE;
}
else if (iRet < 0)
@ -374,7 +374,7 @@ int transactRS232(prs232 self, void *send, int sendLen,
}
else
{
printf("RS232 IN/TRANS/INCOMPLETE: %s",(char *)reply);
printf("RS232 IN/TRANS/INCOMPLETE: %s, errno = %d",(char *)reply, errno);
}
}
if(iRet == 0)