skarg
5aa78916ae
Fixed Nikola Jelic's name in comments, originally written in Cyrillic script.
2012-09-27 19:24:50 +00:00
skarg
5920a624b3
Added 76800 baud support on Linux port of RS-485 driver. Thank you, Nikola Jelic!
2012-09-27 19:22:57 +00:00
vasyl-tkhir
2f73bcae44
BACnet router added.
2012-09-27 14:36:11 +00:00
skarg
48e2c60ce2
indented to standard from script
2012-05-13 15:07:12 +00:00
skarg
0f0c41d347
Added usleep for Tturnaround time before RS485 Transmit. Added tcdrain to wait for write to have written before returning. Thank you, Nikola Jelic!
2012-01-21 01:46:46 +00:00
skarg
087584e85e
Corrected baud rate setting for mstpcap demo utility. Thank you, Michael D!
2011-11-26 16:32:17 +00:00
skarg
26b5fdd3d0
Returned Tusage_delay to the MS/TP state machines to fix excessive Reply-Posponed messages when received packet is decoupled from immediate handling. Some BACnet routers do not handle Reply-Postponed correctly and drop the subsequent valid reply.
...
Added Slave Node FSM to linux/win32 MS/TP layer.
Added PDU queue to Linux MS/TP datalink layer.
2011-08-24 12:33:20 +00:00
skarg
7f109b0abe
Corrected compile errors.
2011-08-19 17:40:29 +00:00
skarg
0fe647a678
removed Reader_Mutex, IOMutex, rs485_read_task and placed select inside of getting characters call to reduce CPU usage.
2011-08-19 16:33:07 +00:00
skarg
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +00:00
skarg
b863996349
Added yield to lower CPU usage when no characters are arriving.
2011-05-10 22:00:32 +00:00
skarg
e85ab0b49f
Changed RS-485 in linux port to use FIFO instead of Ringbuffer. Added FIFO to library build.
2011-05-10 16:29:49 +00:00
skarg
1d4e487b29
Adjusted for linux builds without RS485 specific terminal I/O settings.
2011-05-10 15:52:52 +00:00
skarg
267f5c03b3
Corrected the Linux MS/TP and RS-485 modules. Thank you to Никола Јелић!
2011-05-10 15:44:53 +00:00
skarg
d6e74ba51b
Fixed compiler warnings when compiled MS/TP datalink on Linux.
2011-01-14 15:34:28 +00:00
skarg
57781b40cb
Changed Tturnaround time in MS/TP modules to be a minimum of 2ms, or use a dummy transmit of 4 bytes while the transceiver is disabled. 1ms delay will always give smaller than 1ms of delay due to silence timer tick.
2010-10-18 20:42:26 +00:00
tbrennan3
53d0a1510c
The beginning of doxygenation, for the Linux port:
...
As a first step, added an @file description for each file.
2010-02-14 05:46:31 +00:00
skarg
e37fd2d56b
Updated comment.
2009-11-19 18:21:56 +00:00
skarg
adf0f282e7
Added delay and flush to correctly flush RS485 buffer.
2009-07-27 18:48:06 +00:00
skarg
b85c4355d0
Indented according to standard indent rules for this project.
2009-04-18 20:50:04 +00:00
brayra
9a2f058623
Added usleep(30) to RS485_Check_UART_Data allowing the process to give up time to the system,
...
rather than hogging the processor.
2009-02-27 16:33:16 +00:00
skarg
209f63b1dc
Adding time stamp to mstpcap file name. Untested.
2009-02-15 13:27:41 +00:00
skarg
b310bd055a
Indented with indent.sh script.
2008-08-05 13:53:57 +00:00
skarg
a81814147a
Added some print info the mstpcap demo like packet count, baud rate, and interface.
2008-07-30 20:33:00 +00:00
skarg
9daa40131d
Corrected the MS/TP monitor on Linux.
2008-02-28 02:08:40 +00:00
skarg
411d6c1b24
Indented.
2007-11-29 15:56:53 +00:00
skarg
eabe6dee96
Converted SilenceTimer on MS/TP datalink to be a function so that it can be atomic on 8-bit microcontrollers.
2007-08-19 12:30:51 +00:00
skarg
53f2fc3f35
Updated the unit test make files. Fixed the init sections of MS/TP monitor (rx_fsm) modules. Corrected the rx_fsm code to check the correct return value of the read. Fixed the return value of the RS485 prototypes.
2007-08-18 16:14:06 +00:00
skarg
f2e0bbe834
Fixed makefile for atmega168.
2007-08-15 22:41:53 +00:00
skarg
5435d46621
Rewriting the dlmstp for Linux to use sockets. In progress, not compiling.
2007-07-02 14:41:59 +00:00
skarg
63300e86bd
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.
2007-07-01 01:23:12 +00:00
skarg
0e3c2e01af
Updated dlmstp to be consistent with other datalink layers.
2007-06-30 23:11:58 +00:00
skarg
ade401f44b
Modified the MS/TP datalink on Linux to be able to run correctly as a datalink layer when built with the demos.
2007-06-30 22:47:23 +00:00
skarg
3ceed4535e
Corrected the RS485 initialization for MS/TP on Linux. Added args to functional unit tests.
2007-06-30 22:30:13 +00:00
skarg
1824d4a95e
Testing the MS/TP datalink layer on Linux.
2007-06-29 22:46:19 +00:00
skarg
250cc92e00
Added MS/TP to Linux using the USB->RS485 from SerialGear. Tested Receive only using the rx_fsm.c and rx_fsm.mak functional test. Works as an MS/TP network monitor.
2007-06-29 21:22:46 +00:00
skarg
9069c939da
Fixing indent oops which removed the contents of all these files.
2007-06-14 05:33:15 +00:00
skarg
ea4863ca25
Indented.
2007-06-14 05:14:26 +00:00
skarg
b686fa7ca7
changed c++ comments to c comments using comment.sh script.
2006-02-19 01:33:30 +00:00
skarg
d6a891f0d1
running the indent on the files.
2006-02-18 23:11:25 +00:00
akchu
e5274a8881
1) Created MSTP_Create_And_Send_Frame function.
...
2) Moved MSTP_Create_Frame call out of rs485.c and into mstp.c
3) Modified all previous calls to RS485_Send_Frame calls to call
MSTP_Create_And_Send_Frame instead.
2004-10-03 17:20:48 +00:00
skarg
9a9e31ace6
Initial revision
2004-09-22 19:08:48 +00:00