Commit Graph

544 Commits

Author SHA1 Message Date
skarg f5bc326061 Merged duplicate and different BACnet Renitialized Device State enumerations. 2010-02-18 17:25:58 +00:00
skarg edd190159d Corrected WP to Polarity which was always setting to Normal. 2010-02-18 15:33:24 +00:00
skarg d7d22234d4 Changed to using common demo handler. 2010-02-18 03:08:23 +00:00
skarg 1f9c13d37b Got rid of the handler-set functions for RP,RPM,WP,RD. Just referencing the device object functions directly. 2010-02-18 03:06:03 +00:00
skarg 2b2077a329 Did a little refactoring for object properties. 2010-02-16 22:48:09 +00:00
skarg 24b9e013be Fixed wildcard instance for RP. 2010-02-16 12:35:55 +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
petermcs f8b9b5f793 added process.h to includes to silence compiler warning about _beginthread 2010-02-15 11:48:58 +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 5c439da7f2 Converted ports/at91sam7s to use demo handlers. Added RPM, WhoHas/I-Have. 2010-02-13 16:15:30 +00:00
skarg 6b1cc84249 Added WhoHas/I-Have services.
Simplified the BO writes from main.
2010-02-12 21:46:11 +00:00
skarg eeaaf3caa1 Changed BO set/get to use instance number. 2010-02-12 05:18:45 +00:00
skarg d7ec61eb21 Moved constants defining the number of each object back into the source files for the demo objects since the header files are currently common to all. 2010-02-11 23:14:53 +00:00
skarg f10629260e cleaned up compile errors. 2010-02-11 17:16:21 +00:00
skarg 8d85b05afd Corrected name that caused compiler error. 2010-02-11 16:54:11 +00:00
skarg e42bfad888 Removed code to make the unoptimized firmware smaller. 2010-02-11 16:53:33 +00:00
skarg 70b5d45ce2 Updated ports/bdk-atxx4-mstp to use demo handlers for RP,RPM,WP. 2010-02-11 04:31:43 +00:00
skarg f0863c0238 Refactored RP, WP, RPM to reduce coupling with objects for Linux and Win32 ports. 2010-02-10 16:27:31 +00:00
petermcs bfa8936bf5 Changed a bunch of debug and information printfs so that they have a better chance of working on systems where int is smaller than 32 bits also fixed the signed/unsigned type of some to match the type of the arguments. 2010-01-26 21:30:38 +00:00
petermcs ea5c45b911 Updated time code changes to compile with Visual Studio Express 2008. 2010-01-22 15:07:21 +00:00
skarg 38a182261d Added comment to describe timeGetTime. 2010-01-21 21:53:30 +00:00
skarg e42abbf74b Corrected RPM and RP in ports projects to handle MAX APDU Accepted. 2010-01-11 04:39:22 +00:00
skarg 5ced5d6f1f Fixed a socket leak. Thanks Piotr! 2009-12-30 15:16:14 +00:00
skarg 47ff02c9b7 Removed src/apdu.c from makefile since we are using a local stripped down version. 2009-12-21 15:13:45 +00:00
skarg cabe973354 Removed forever loop on MS/TP receive for fast processors since the incoming character wait is significantly slower than the processor speed. Thank you Paul! 2009-12-02 17:59:36 +00:00
skarg 38d944d6c9 Removed forever loop on MS/TP receive for fast processors since the incoming character wait is significantly slower than the processor speed. 2009-12-02 17:54:24 +00:00
skarg e37fd2d56b Updated comment. 2009-11-19 18:21:56 +00:00
skarg 2b519a5570 Cleaned up warnings and errors when compiled with Borland C++ and with GCC. 2009-11-19 16:05:22 +00:00
skarg b136757079 Updated comment. 2009-11-12 02:56:32 +00:00
skarg c9980fbfba Corrected seeprom page writes. 2009-11-11 21:54:22 +00:00
petermcs b8251f314f Implemented ReadRange functionality for the device "Device Address Binding" property and modified the ReadRange test app to use this real property for its target.
Implemented a framework for allowing the ReadRange handler determine which properties support ReadRange and which varients of ReadRange they support.
2009-11-10 15:37:11 +00:00
skarg edc7c6c577 Added test for array options on RP and RPM to all object properties that are not arrays. 2009-11-05 15:39:46 +00:00
bitstest 03ef870f4b Checking in Microsoft Visual Studio 2008 build environment for Who-Is.exe and Server.exe 2009-11-02 00:55:52 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
skarg fdeb2f3f0f Changed RS485 interface to allow lower/upper case for Win32. 2009-10-20 17:25:17 +00:00
petermcs 0f28f99ade Added in object handlers to make the demo work more like it did before the property access API was changed. This is handy when testing as multiple copies of the program can then read from each others device. Also added in Visual Studio 2008 Express project files. 2009-10-16 19:12:56 +00:00
skarg deba2aab3e Added a Named Pipe to MS/TP Capture utility so that Wireshark can capture MS/TP packets in realtime using the named pipe as the interface name. Thank you Lori! 2009-10-14 21:15:10 +00:00
skarg d88d85b5cd Corrected Binary output and value in some demos that didn't return the priority array element correctly. 2009-10-07 22:14:31 +00:00
skarg 1c82dda7d6 Added unrecognized service handler to ports demos. 2009-10-07 21:46:36 +00:00
skarg 667782bddb Added minimum device object name length check. 2009-09-28 15:44:47 +00:00
skarg 6f254401c0 Removed debugging changes. 2009-09-18 18:39:41 +00:00
skarg d1f167c539 Added unit test to rs485 windows port to allow sending a string of ascii hex out the rs485 port to inject messages onto the wire. 2009-09-18 18:35:30 +00:00
skarg 9646d8ad1a fixed compile warnings. 2009-09-17 22:21:06 +00:00
skarg 69fad0502a Changed MS/TP idle state: when no-token timeout occurs, clear the receive frame flags in case a message was received and timeout occurred, which may cause MS/TP to stop working in optimized dlmstp loops which don't check for new events when either of those flags are set. Thank you, Jason! 2009-09-17 03:38:20 +00:00
skarg 6cfc2b805f Added MS/TP debugging to serial port test. 2009-09-11 23:13:45 +00:00
skarg 2febfbbe56 Updated BDK device object to have minimum length. Updated other BDK objects to use sprintf since it was already in use in another object. 2009-08-30 21:05:15 +00:00
skarg bf092dbef6 Corrected comment. 2009-08-25 04:38:13 +00:00
skarg c304b8b330 Added a parameter to Device_Encode_Property_APDU so that it matched all the ther objects, which required all the demo and ports to modify their device and h_rp files. 2009-08-23 03:48:27 +00:00
skarg 967b86721f Updated some old demos for the new RP handling. 2009-08-23 03:36:11 +00:00
skarg a28760bf56 Added init functions to object header files. Finished refactoring the demo read and write property handlers to use function tables. 2009-08-23 03:26:30 +00:00