Commit Graph

115 Commits

Author SHA1 Message Date
skarg 757472d881 Corrected filename to work under MinGW. 2008-08-23 11:40:44 +00:00
skarg 5c6f263a16 Added I-Am-Router-To-Network demo. Untested. 2008-08-20 22:17:43 +00:00
skarg 9c316a65dc Moved APDU Timeout and Retries to apdu module. 2008-08-17 02:12:58 +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 2328f0fe59 Updated makefiles and build scripts for Borland tools. 2008-08-14 16:35:26 +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 10e74470a5 Updated the MS/TP Capture tool, and cleaned up the net.h defines. 2008-08-02 16:23:29 +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 2b55f1aabf Testing MS/TP on Linux. Queues not working yet... 2008-07-27 17:29:37 +00:00
skarg a8c36762db Converted the MS/TP FSM src module to use the debug printf. 2008-07-21 16:05:55 +00:00
skarg 241e877d23 indented. 2008-07-20 13:22:15 +00:00
skarg 556270a791 Corrected compiler warnings about float and double. 2008-07-17 21:27:22 +00:00
skarg 22cce0ceda Removed unused fprintf for now since it was giving compiler warnings. 2008-07-17 21:14:05 +00:00
skarg f6d792d30d Corrected BBMD for Forwarded-NPDU and Distributed-Broadcast-to-Network. Added source address exclusions to FDT sends. 2008-07-17 14:18:32 +00:00
skarg 7d763e9a7b Debugging BVLC. 2008-07-16 02:43:29 +00:00
skarg a889733e2b Added fprintf function. 2008-07-15 14:53:04 +00:00
skarg f0b4f826dd Added check for DNET as part of address to make sure it is for us and not a network beyond us. 2008-06-23 00:19:59 +00:00
skarg 56f9492dcb Corrected BVLC module for Foreign Device registration. 2008-06-23 00:19:17 +00:00
skarg 9b9c6a1381 Added print debug module. 2008-06-23 00:16:29 +00:00
skarg 0cb7ad6d9c Added check to make sure destination network address is zero, indicating a local destination (me) instead of a routed destination. 2008-06-20 17:38:51 +00:00
skarg d8e1bf0bd6 Added new error code enumerations. 2008-05-23 16:47:17 +00:00
skarg 97a068239b Added new props and objects to bactext 2008-05-23 15:00:16 +00:00
skarg 3d3d7e420d Ran the comment and indent tools on the source code. 2008-04-24 01:07:23 +00:00
skarg 140f9369fc Corrected the BACnet/IP code to accept packets Forwarded from BBMDs. Thank you Carl! 2008-04-16 14:50:34 +00:00
skarg df310edca6 Updated Visual Studio ports project, cleaning up compile warnings. 2008-04-10 05:31:08 +00:00
skarg fc8c9c687c Added double to BACnet encoding/decoding. untested. 2008-04-09 16:33:46 +00:00
skarg 944cb46e51 Enhanced the ATmega168 demo project to include WriteProperty service to the Analog Value and Device objects. 2008-03-19 23:17:19 +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 f86a5847ac Corrected unit test. 2008-03-09 14:14:13 +00:00
skarg eb7196668c Corrected the MS/TP TEST REQUEST state such that it now returns the data from the request per BACnet 9.3.5 which says "The data, if present, shall be that which was present in the initiating Test_Request." Thank you to Martin Labbe! 2008-03-09 13:52:48 +00:00
skarg 17d307dd57 Removed extraneous semicolon. Thank you to Martin Labbe! 2008-03-09 13:38:42 +00:00
skarg cff20d7669 Cleaned up compiler warnings for Borland 5.5 compile. 2008-03-08 15:09:14 +00:00
skarg 29f022fce1 Modified the EPICS demo application to get the object list by element instead of as a whole array. 2008-03-03 15:08:18 +00:00
skarg b8ee7d6b9c Added ability to use static address binding in file address_cache. Useful for client applications binding to MS/TP slave devices. 2008-03-01 06:42:46 +00:00
skarg 9bbac30cf4 Added defines to ease usage with demo applications. 2008-02-20 22:47:16 +00:00
skarg 004ffdc11d Enhanced the MS/TP packet sniffer to allow configurable baud rate. 2008-01-27 19:57:04 +00:00
skarg d3ae827bf2 Corrected BVLC and BBMD code. 2008-01-23 05:38:29 +00:00
skarg c163a7cc93 Corrected forwarded NPDU bug. 2008-01-22 02:01:53 +00:00
skarg a63ff67e18 Enhance the bbmd registration for demos. 2008-01-22 01:43:18 +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 ef4f7bbf22 Added debug info. 2008-01-21 04:53:41 +00:00
skarg e4ccba8310 Added debugging. 2008-01-21 03:03:43 +00:00
skarg 2e3436cb9e Changed BVLC_READ_BROADCAST_DISTRIBUTION_TABLE* into ..._DIST_... to match bacenum.h changes.
bip_get_xxx() deliver address and port in host order. Used htonl,htons to marshal them into PDU.
Fixed the BVLC beheading in the Forwarded Message case - Usually the BVLC header is 4 octets long. It's 10 octets in this case.
Extracted source address from BVLC header for forwards since it contains the original MAC address we are supposed to talk to.  
Fixed the byte order of IP and port on unicast outgoing DA.
Added BBMD_ENABLED to config.h file to allow enable and disable of BBMD at compile time.
Thank you to Tomás Zerolo for the patch!
2008-01-17 23:19:03 +00:00
skarg 85d58bd688 Correcting COV subscribe - almost working... 2008-01-14 23:26:20 +00:00
skarg 1397585e71 Simplified the stricmp function. 2008-01-09 15:46:05 +00:00
skarg 83da7c5b3b Added back 2 bytes in MS/TP header size for CRC16 since it failed unit testing. 2008-01-09 15:41:46 +00:00
skarg a458bdce44 Added stricmp as replacement for compilers that didn't have it. 2008-01-09 13:31:12 +00:00
skarg 89432a85c3 Applied standard indentation to files. 2008-01-08 23:13:51 +00:00
skarg ef8f9c7e8b fixed compile error in bactext after change to enumeration name. 2008-01-08 15:16:31 +00:00