Commit Graph

501 Commits

Author SHA1 Message Date
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
skarg 5bb205dc03 Changed the API to pass the NPDU data down through the datalink layer in order to make the dlmstp work since it needs data-expecting-reply information. Of course, this affected all the demos, all the unit tests, and most of the demo handlers. Corrected some TSM leaks in confirmed messages. Refactored the AtomicReadFile and AtomicWriteFile demos by moving the Send_ functions to the demo/handlers directory and using the s_whois common handler. Added some common defines for the BACnet version and revision since several modules were using the info. Hopefully I didn't break too many things. 2006-08-13 00:54:05 +00:00
skarg 185d02a9ff working on PIC port of MS/TP. 2006-08-11 20:55:48 +00:00
skarg e683d06998 created readme file for PIC port. 2006-08-10 21:23:12 +00:00
skarg aba682950a Getting the PIC port to function with MS/TP. 2006-08-10 21:12:01 +00:00
skarg c36d28aa09 2006-08-10 21:11:04 +00:00
skarg 7b4680832f Added a PRINT_ENABLED define to allow small embedded devices without print capability to use some functions in this module. 2006-08-10 20:54:52 +00:00
skarg 1a6e3fca43 Changed name to be more clear. 2006-08-10 20:54:12 +00:00
skarg 280b1dd6b7 Corrected compile error. 2006-08-10 20:50:49 +00:00
skarg 74be0dd457 Changed bool to smaller datatype for PIC port. 2006-08-10 20:49:53 +00:00
skarg d4b3e73439 Moved apdu decode into unit test where it was being used since it is being decoded in apdu.c in normal usage. 2006-08-10 20:17:18 +00:00
skarg 6230600eeb Moved apdu decode into unit test where it was being used since it is being decoded in apdu.c in normal usage. 2006-08-10 20:14:32 +00:00
skarg e5239e3e73 Moved apdu decode into unit test where it was being used since it is being decoded in apdu.c in normal usage. 2006-08-10 19:58:59 +00:00
skarg f80623d8c5 Changed is_big_endian() call to a macro defined as BIG_ENDIAN. Now you must define this for your platform. 2006-08-10 19:57:15 +00:00
skarg 79d84b324e Added a PRINT_ENABLED define to allow small embedded devices without print capability to use some functions in this module. 2006-08-10 19:42:42 +00:00
skarg 8681e12031 Added a PRINT_ENABLED define to allow small embedded devices without print capability to use some functions in this module. 2006-08-10 19:37:57 +00:00
skarg cbff83127f Added a PRINT_ENABLED define to allow small embedded devices without print capability to use some functions in this module. 2006-08-10 19:20:33 +00:00
skarg 9a666f7492 Added a PRINT_ENABLED define to allow small embedded devices without print capability to use some functions in this module. Moved the compare functions to the unit test. 2006-08-10 19:12:07 +00:00