Commit Graph

150 Commits

Author SHA1 Message Date
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
skarg db61a1122f Ran indent script. 2009-07-29 18:06:33 +00:00
skarg 551f2767e0 Ran fixup script. 2009-07-29 18:05:07 +00:00
skarg 6adf97553f Updated code to handle Borland 5.5 Compile. 2009-07-29 17:53:32 +00:00
skarg adf0f282e7 Added delay and flush to correctly flush RS485 buffer. 2009-07-27 18:48:06 +00:00
skarg f30a21a032 Converted mstpcap to use timer rather than sleep for timing. 2009-07-27 17:50:09 +00:00
skarg b85c4355d0 Indented according to standard indent rules for this project. 2009-04-18 20:50:04 +00:00
skarg 134bbade5d Removed extra debug printf in MS/TP module. 2009-02-27 22:36:49 +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 c23b6c2742 Corrected grammar. 2009-02-20 16:00:19 +00:00
skarg 552fe5e717 Added Added "--help" command line option to mstsnap. 2009-02-20 15:58:30 +00:00
skarg 209f63b1dc Adding time stamp to mstpcap file name. Untested. 2009-02-15 13:27:41 +00:00
skarg eb5838c3d5 Cleaned up some makefiles. 2009-01-17 12:49:47 +00:00
skarg a4cd23761c Added optional local print for mstp monitor. 2008-11-29 14:37:49 +00:00
skarg d1a1c1c8a6 Indented. 2008-11-24 12:48:09 +00:00
skarg c7a5c05ac7 Moved send I-Am to a send module and out of iam.c. 2008-11-12 15:38:43 +00:00
skarg 23d2cd6592 Corrected compilation on linux - added conditional min macros. 2008-10-29 03:49:43 +00:00
skarg 2797764d65 Corrected the MS/TP capture to limit data to the input buffer. (again) 2008-10-28 18:14:00 +00:00
skarg 4dd074630b Corrected the MS/TP capture to limit data to the input buffer. 2008-10-27 19:53:11 +00:00
skarg 0ffbb64c13 Indented with standard indent rules. 2008-08-23 12:38:26 +00:00
skarg 0326112c68 Created MS/TP capture tool that captures from USB->RS485 converter and sends data to SNAP Protocol for Wireshark capture. 2008-08-17 00:35:18 +00:00
skarg 1142eb7202 Converted the Linux MS/TP datalink module to use semaphores (pthread conditions) instead of sockets or queues. Copied module from Win32. Untested. 2008-08-10 13:51:32 +00:00
skarg b310bd055a Indented with indent.sh script. 2008-08-05 13:53:57 +00:00
skarg 6328b51cbc Merging the dlmstp for Windows and Linux, so that a common module can be used for building. Untested. 2008-08-02 15:41:51 +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 96c140eda2 Added PCAP file saving for MS/TP captures, which can use a USB->RS485 converter.and be viewed in Wireshark. 2008-07-30 01:35:33 +00:00
skarg 2b55f1aabf Testing MS/TP on Linux. Queues not working yet... 2008-07-27 17:29:37 +00:00
skarg c6b60cc676 Testing MS/TP on Linux. 2008-07-27 15:27:17 +00:00
skarg cf9d15631a Indented using indent script. Corrected any C++ comments using the comment script. 2008-03-10 21:00:48 +00:00
skarg 9daa40131d Corrected the MS/TP monitor on Linux. 2008-02-28 02:08:40 +00:00
skarg e208feedae Corrected a couple of comparisons, and made the socket init more complete. 2008-02-20 22:35:20 +00:00
skarg 5bef9a18e2 Modified the WhoIs demo to use BBMD if configured for BACnet/IP. Corrected the BVLC code. 2008-01-22 01:18:12 +00:00
skarg 1477603af6 indented. 2007-11-29 16:39:48 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +00:00
skarg cf3f881f7a Changed BIP debug from define to variable since we are using a lib. Affects Win32 and Linux. 2007-10-25 02:13:02 +00:00
skarg 69ed8a16c5 2007-10-25 02:01:48 +00:00
skarg 46ab0030c8 Fiddling with the MAX_MDPU and datalink stuff. 2007-09-01 00:42:12 +00:00
skarg e7a49d79ee Converted the linux build to use BACnet library. Moved some BACnet address functions to bacaddr.c/h. 2007-08-23 18:56:38 +00:00