Commit Graph

187 Commits

Author SHA1 Message Date
skarg aa124bc091 updated mstpsnap utility 2014-11-15 17:27:27 +00:00
skarg 66f52e438f added some more debug to RS485 on Linux 2014-11-02 05:29:42 +00:00
skarg 3fca74bcfb When MAC address length is zero, assume it is a broadcast. Updated the MS/TP to understand this. 2014-11-02 05:27:14 +00:00
skarg 92559791ba updated linux rs485 functional test to compile and run 2013-12-23 19:36:32 +00:00
skarg b3b3b8eca6 While trying to compile mstpsnap, Joe got a compile time failure. Adding fifo.c to the mstpsnap.mak file seems to have resolved GCC's complaint, and mstpsnap seems to be functioning. Thanks, Joe! 2013-10-31 16:24:05 +00:00
skarg 56b65e9694 indented using indent.sh script. 2013-10-29 01:55:49 +00:00
skarg 5f3cba01fe removed old example file since demo applications supersede it. 2013-07-12 16:42:20 +00:00
ekh 15fe7e56c2 Allow compilation of BACnet/IP demos in Cygwin in Windows 2013-05-10 19:24:26 +00:00
skarg ba3242aafd indented using indent.sh script to get uniform looking code for release 2013-03-13 22:17:13 +00:00
skarg 11897368d2 converted C++ comments using script 2013-03-13 22:13:28 +00:00
skarg cf882642a8 Changed Ringbuf API: Ringbuf_Pop_Front is now Ringbuf_Pop, and now it copies the buffer into parameter and returns boolean. Original method was not safe since it returned a pointer to the element but freed the buffer element. Changed Ringbuf_Get_Front to Ringbuf_Peek with no change in functionality, to make names more consistent.
Updated all the MS/TP datalink layer implementations that use Ringbuf library.
2013-01-08 20:48:34 +00:00
skarg 4c0599f104 cleaned up some warnings and errors when compiled for MS/TP on Linux 2012-12-16 04:42:22 +00:00
skarg 6facc07c74 Fixed 76800 setting for Linux rs-485. 2012-10-23 18:16:32 +00:00
skarg 2f1dad9e29 fixed compile error. 2012-09-27 22:03:19 +00:00
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 a51298876f changed public function from static in Linux port of BACnet/IP. 2012-05-22 19:29:00 +00:00
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg 9e8c2b0927 Added explicit datalink_cleanup to all demo applications.
Moved bip_cleanup() to port specific files.
This works better for bacnet-stack DLLs.
2012-02-10 22:12:15 +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 109bfed70d Updated makefile for mstpsnap. 2011-11-17 03:03:33 +00:00
skarg 81a3ec52e5 Updated file to correct compiler errors and warnings. 2011-11-17 03:02:51 +00:00
skarg 3641e7b40c Updated some Device_Init functions. 2011-10-04 15:57:40 +00:00
skarg 9f0dfeed1c Fixed Linux datalink call to Master Node FSM which was not doing immediate transitions, and could lose whole messages. Thank you, Nikola Jelic! 2011-09-02 14:35:16 +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 2f008a9a2b No need for sched_yield in master_fsm_task due to select in getting the byte. No need for Timer_Mutex since only one task ever uses timer functions. Thank you, Nikola Jelic! 2011-08-19 18:05:45 +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 3f22c7e5ff Increased the default values for Tusage_timeout and Treply_timeout for testing on Linux. 2011-01-18 19:45:52 +00:00
skarg d6e74ba51b Fixed compiler warnings when compiled MS/TP datalink on Linux. 2011-01-14 15:34:28 +00:00
bacpack a639864cc8 In bip.c getter and setter functions of IP address and Port number expect and return values in the network byte order. All ntoh and hton were eliminated from bip.c.
All other modules changed to be consistent.
arm7 port left unchanged.
2010-11-04 13:30:26 +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
skarg 298038c0d8 Corrected compile error. 2010-08-20 21:56:18 +00:00
skarg 0a02accdb1 Removed deprecated property. 2010-06-26 03:54:22 +00:00
skarg 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +00:00
tbrennan3 f92316649b Started a Doxygen module for DataLink layer, for the default DataLink templates and for BACnet/IP. 2010-03-24 03:41:39 +00:00
tbrennan3 a18ca597e5 Added ability to get "my" netmask from the OS-specific network code, so we could construct subnet broadcasts from source addresses.
(Haven't hooked up code to actually do that, yet.)
2010-02-15 21:18:57 +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 38a182261d Added comment to describe timeGetTime. 2010-01-21 21:53:30 +00:00
skarg 5ced5d6f1f Fixed a socket leak. Thanks Piotr! 2009-12-30 15:16:14 +00:00
skarg e37fd2d56b Updated comment. 2009-11-19 18:21:56 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
skarg 967b86721f Updated some old demos for the new RP handling. 2009-08-23 03:36:11 +00:00