Finally got MS/TP communicating on ports/rtos32. I still need to verify that it is doing things correctly since it seems a little slow to respond to service requests. Still more work to do refactoring the state machine.
This commit is contained in:
@@ -161,10 +161,8 @@ int main(int argc, char *argv[])
|
||||
#ifdef BACDL_MSTP
|
||||
dlmstp_task();
|
||||
#endif
|
||||
#if (defined(BACDL_ETHERNET) || defined(BACDL_BIP))
|
||||
/* returns 0 bytes on timeout */
|
||||
pdu_len = datalink_receive(&src, &Rx_Buf[0], MAX_MPDU, timeout);
|
||||
#endif
|
||||
/* process */
|
||||
if (pdu_len) {
|
||||
npdu_handler(&src, &Rx_Buf[0], pdu_len);
|
||||
|
||||
Reference in New Issue
Block a user