Commit Graph

518 Commits

Author SHA1 Message Date
skarg f45d694a51 Corrected the server bit in the abort PDU which was missing for the abort messages. 2006-10-05 22:46:59 +00:00
skarg 5b10d86430 Put WriteProperty demo instance back to 4194303. 2006-10-05 12:52:24 +00:00
skarg f7eace9522 Added check to Borland Make to see if the Borland directory had been defined. 2006-10-05 12:51:08 +00:00
skarg 9c237a25d1 Cleaned up compiler warning on win32 build. 2006-10-05 12:49:46 +00:00
skarg 4ddeb3dcad Corrected ReadProperty reply when data is too big to fit into APDU. It is required to be an Abort messaage, not an Error message. 2006-10-05 12:47:23 +00:00
skarg de8a4b960c Cleaned up warning on win32 build. 2006-10-05 12:45:07 +00:00
skarg d26cde35aa Updated MS/TP for the PIC project. Fixed some state transistions, and optimized to be able to return the token promptly. 2006-09-27 12:12:07 +00:00
skarg 0aa2110763 Changed write property demo to be able to write to device 4194303. 2006-09-27 12:03:16 +00:00
skarg d4599d0961 Updated the EPICS for the server demo. 2006-09-27 12:02:36 +00:00
skarg 19d5b94fcc corrected encoding for DCC demo handler. 2006-09-24 03:20:50 +00:00
skarg 947e35c35c Corrected demo send example for whohas service. 2006-09-24 03:09:33 +00:00
skarg f54c97a657 corrected apdu encoding for error production for demo read property handler. 2006-09-24 03:03:52 +00:00
skarg 337bc5ab4e Corrected the NPDU encoding for the demo handlers. 2006-09-23 22:02:04 +00:00
skarg 07a1077b2d correcting the npdu encoding for handlers. 2006-09-22 21:16:20 +00:00
skarg 550dbbb91e Moved code that is only used in unit test into the unit test portion of the module. 2006-09-21 11:20:09 +00:00
skarg 0368fc6879 Moved functions only used in unit test into unit test section of the file. 2006-09-21 11:18:48 +00:00
skarg 64299be5ae Changed PIC to little endian. 2006-09-21 11:17:56 +00:00
skarg dd9b726b5e corrected state transition in WAIT FOR REPLY state. 2006-09-21 11:17:10 +00:00
skarg 0d80e263ea Converted NPDU to correct encoding form. 2006-09-20 23:58:18 +00:00
skarg 4059e68bb7 Moved decode that is used only in unit test into the unit test section of the code. 2006-09-19 20:19:22 +00:00
skarg bb9351fa9f moved rs485.h into ports. 2006-09-16 19:49:44 +00:00
skarg 464e96afda removed from root directory since all the demos are in the demo directory, and the ports sample files are in the ports/x directories. 2006-09-16 17:49:46 +00:00
skarg 310b4c1479 moved the mstp state machines into the ports directories since they will be custom for each port. Some ports will be single threaded while some will use an RTOS. 2006-09-16 17:48:52 +00:00
skarg b632f158f4 Changed the MS/TP state machine to cheat a little in order to make the timing contraints. 2006-09-05 20:28:59 +00:00
skarg 8e864e4e08 Changed precompiler defines which confused the PIC18 compiler. 2006-09-01 18:34:32 +00:00
skarg fd308f9f9e Added comments. 2006-09-01 18:33:35 +00:00
skarg 0e58e76090 Updated PIC18 port. 2006-09-01 18:02:44 +00:00
skarg 55441280e4 Created a local device.c object which is significantly smaller than the standard demo device.c object. 2006-08-30 16:46:20 +00:00
skarg 173b99295a Cleaned up Microchip compiler warnings. 2006-08-30 16:45:15 +00:00
skarg 19a823350e Updated files for PIC18F port. 2006-08-29 20:57:30 +00:00
skarg 6e67d7388d Reverted the WriteProperty value changes. I am not really happy with the solution and it would require a bunch of fixes to the demos. 2006-08-29 20:43:46 +00:00
skarg 42e0033c98 Fixed a few more bugs in MS/TP, and leaned it out some more. 2006-08-29 20:42:26 +00:00
skarg 0e2585e044 Changed WriteProperty encode/decode to allow non-primative data. Decode still needs some work, and unit tests and demos need fixed. 2006-08-29 11:03:35 +00:00
skarg 3d0abf778a indented 2006-08-29 10:48:04 +00:00
skarg 0f851d57f0 changed delays to yields. 2006-08-29 10:32:32 +00:00
skarg 23a8636b90 Added reset of SilenceTimer in the SendFrame part of MS/TP that had been missing. Refactored more master state machine states. 2006-08-28 21:13:37 +00:00
skarg 011536b9c5 Added ethernet.c to ports/win32. Kevin Liao contributed the BACnet ethernet port which uses WinPcap. Thank you, Kevin! 2006-08-27 10:26:09 +00:00
skarg 6b18bb8935 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. 2006-08-25 21:36:56 +00:00
skarg 52ee5a5619 Getting the RTOS-32 port working again. Also getting the MS/TP state machine working. Soon! 2006-08-23 21:32:16 +00:00
skarg afea6e10bf corrected comments. 2006-08-17 09:03:13 +00:00
skarg 643fdf6939 Moved decode portion used in unit test into the unit test area. 2006-08-17 09:02:51 +00:00
skarg 8fe9858d66 Added encoding for context tagged date. Added bounds checks for context tagged data. 2006-08-17 09:01:57 +00:00
skarg f4f9241298 Added a way for TSM to indicated a transaction that failed to confirm, and added that into the confirmed handling demos. 2006-08-15 21:35:35 +00:00
skarg 4fe0decdf7 Added APDU Timout message for Writefile, Readfile, Writeprop, Readprop demos. 2006-08-15 20:24:15 +00:00
skarg 2dd0cd5d69 Working on MS/TP port to PIC18F series microcontroller. 2006-08-14 20:59:09 +00:00
skarg dafc55bf9f Working on the Datalink MS/TP layer - no working yet. 2006-08-14 13:59:07 +00:00
skarg 0eca2b07ad Made the BACnet/IP build the default. 2006-08-13 16:55:18 +00:00
skarg 05abf5be23 included ethernet and arcnet in demo for readprop and server on Linux. Corrected the ethernet length. Corrected warnings in s_rp and s_whois. 2006-08-13 16:53:15 +00:00
skarg 3560e3d06f updated the linux data link layers for changed apdu that passes npdu. 2006-08-13 11:19:42 +00:00
skarg a30d497669 indented. 2006-08-13 00:57:17 +00:00