Commit Graph

1544 Commits

Author SHA1 Message Date
skarg 24b9e013be Fixed wildcard instance for RP. 2010-02-16 12:35:55 +00:00
skarg 7f05571f43 Added debug info when zero length octet string is received. 2010-02-16 03:37:40 +00:00
skarg 85eaaa14b4 Cleaned up some comments. 2010-02-16 03:32:45 +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 4c99467009 Added Send_I_Am_Unicast() and used it in inhandler_who_is(). Sends directly back to the source address instead of a broadcast, per Addendum 135-2008q-1. 2010-02-15 20:47:20 +00:00
skarg ccb5323721 Fixed Borland compiler warnings and errors. 2010-02-15 20:20:11 +00:00
skarg cba6197fe3 Fixed compiler warnings. 2010-02-15 20:11:13 +00:00
tbrennan3 422b273a52 Removing because src/dlmstp.c is redundant with the better-positioned ports/win32/dlmstp.c. 2010-02-15 18:52:43 +00:00
tbrennan3 825181c4e8 Added missing file references to fix the build. 2010-02-15 15:32:03 +00:00
petermcs c8a9b22a53 Changed from using MAX_ANALOG_INPUTS to Analog_Input_Count() when updating inputs.
Removed RR_Info handler setup.
2010-02-15 11:52:13 +00:00
petermcs f8b9b5f793 added process.h to includes to silence compiler warning about _beginthread 2010-02-15 11:48:58 +00:00
petermcs 8f421b9bf6 Added multistate input to object list.
Added RR_Info function pointer to Object Table.
Refactored some of the Object Table iteration code.
2010-02-15 11:46:35 +00:00
petermcs 966992abd4 Fixed up unresolved conflict which was breaking compile. 2010-02-15 11:43:16 +00:00
petermcs ecb1f2064f Folded error class and code into BACNET_READ_RANGE_DATA structure. 2010-02-15 11:41:23 +00:00
tbrennan3 786ddffc04 Initial doxygen control files: doxyfile, README, html header&footer, and nice little graphic. 2010-02-14 06:02:08 +00:00
tbrennan3 4cc1ce9c62 Added @file description to bacnet.h and lib/main.cpp
Fixed a build issue for the linux+MS/TP combination in trendlog.h
Setup library build to define BIP_DEBUG if it is a Debug build and if it is a BIP build.
2010-02-14 05:53:09 +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
tbrennan3 a911eea98f The beginning of doxygenation:
As a first step, added an @file description for each file.
2010-02-14 05:41:45 +00:00
tbrennan3 cc20f225b9 The beginning of doxygenation:
As a first step, added an @file description for each file.
2010-02-14 05:29:43 +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 6c1b5b7e68 Decoupled the demo handler from the demo object for ReinitializeDevice service. 2010-02-13 13:38:00 +00:00
skarg c8d959b3e3 Corrected some compiler warnings. 2010-02-12 22:31:09 +00:00
skarg ff8746d5f5 Corrected return value check for bool type. 2010-02-12 22:19:18 +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 eb791ae681 Updated code::blocks workspace and BACnet Library project. 2010-02-11 17:15:44 +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 63d7a8018d Changed value of MAX OBJECT type to be consistent with other MAX values, and fixed places that relied on this value (most had a hack in place). 2010-02-11 04:30:20 +00:00
skarg bf0a6ab43d Changed device object functions list to terminate with normal unsigned value so that embedded compilers that convert enums to unsigned will work correctly. 2010-02-11 04:28:33 +00:00
skarg 3964f7973d Fixed compiler warning. 2010-02-11 04:26:58 +00:00
skarg 1b4640c192 Changed default state of PRINT_ENABLED to zero for embedded ports. 2010-02-10 18:47:31 +00:00
skarg e4080f41da Corrected some warnings generated from Borland compile. 2010-02-10 17:43:11 +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 a7de276acc Removed old code from Device_Set_System_Status() so status is only set when valid. 2010-02-08 09:56:17 +00:00
petermcs 634237cf43 Simplified write property code using new validation helper functions in h_wp.c. 2010-02-04 16:22:12 +00:00
petermcs 818ddefae5 Simplified write property code using new validation helper functions in h_wp.c.
Buffered date portion when writing to start time property so that failure in time portion wouldn't leave partially written date/time.
Flagged missing code in write property for shed levels and placed error response there.
2010-02-04 13:42:56 +00:00
petermcs a076bca5dc Device_Set_System_Status() now does some range checking (also has local flag to allow internal and external sources have different levels of control.
Simplified write property code using new validation helper functions in h_wp.c. Added location, description and model name to the writable properties.
2010-02-03 22:45:07 +00:00
petermcs 9b19207fd1 Added some argument validation helper functions to simplify write property code in the objects. 2010-02-03 22:37:43 +00:00
petermcs f3806bb158 Fixed error class for NO_SPACE_TO_WRITE_PROPERTY when changing device name so it is for class RESOURCES.
Changed Database Revision to uint32_t and now increment it when device name or ID is written (will need to look at other objects to see if they have writable ID's or names).
2010-02-01 13:19:32 +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 0b76dd08c9 Changed debug print to properly identify service as RPM and not RP 2010-01-25 10:36:37 +00:00
petermcs c8d56cb6d3 Error class for password fail changed from SERVICES to SECURITY to conform to standard. 2010-01-22 15:32:00 +00:00
petermcs ea5c45b911 Updated time code changes to compile with Visual Studio Express 2008. 2010-01-22 15:07:21 +00:00
petermcs a724293088 Modified to check password in the same fashion as h_dcc. This saves on having a static BACnet string which frees up 1.5KB. 2010-01-21 21:56:33 +00:00
skarg 38a182261d Added comment to describe timeGetTime. 2010-01-21 21:53:30 +00:00
petermcs 45c631b133 Fixed up error return so that we report not having a particular instance of an object differently to not supporting that object type at all. 2010-01-21 21:51:20 +00:00