Commit Graph

1570 Commits

Author SHA1 Message Date
skarg 997a75ecfe Added unit test to timer module. 2010-03-06 00:22:26 +00:00
skarg ea7c74dad2 Changed header defines for Units to be uint16_t since the maximum value allowed by BACnet is 65535. Thanks, Piotr! 2010-03-05 17:14:42 +00:00
skarg d5c542fd22 Converted timer to a more useful and easily used timer library. 2010-03-05 05:01:26 +00:00
petermcs d639f48788 Fixed some errors in the handling of the status flags. 2010-03-04 14:27:47 +00:00
petermcs 51c3479240 Add in check for clients that send invalid start of epoch time with all 0s in the date. 2010-03-03 22:55:51 +00:00
petermcs 8fdc3b113a Oops didn't mean to commit this with print enabled set to 1 2010-03-03 21:45:11 +00:00
petermcs 9b50b1388f Added in trendlog.c and ms-input.c 2010-03-03 21:31:50 +00:00
petermcs 1b5348ced7 Moved defines and structures into header file to allow use in decoding of trendlog responses.
.
2010-03-03 21:30:27 +00:00
petermcs 430cc119d5 Fixed up some issues which stopped code compiling on Linux. Not tested yet. 2010-03-03 21:28:40 +00:00
petermcs 174b8f39ef Moved defines and structures into header file to allow use in decoding of trendlog responses.
Fixed up numerous instances of the code assuming object instance and index into log info arrray were equivalent.
Added enable checking into the timer routine so date enable/disable works.
2010-03-03 21:27:18 +00:00
tbrennan3 6c799cb847 Documented the function pointer templates for object_functions, as used in device.c 2010-03-02 20:44:46 +00:00
skarg d4b39c6b59 Changed CC and AR in demo makefiles to make cross compiling the demo applications easier. 2010-03-01 19:01:40 +00:00
tbrennan3 9327994aef Two quick fixes for sending unicast I-Am - corrected name of handler, and added the destination copy. 2010-03-01 15:43:06 +00:00
tbrennan3 cd33aa18e9 Documentation for the Data Sharing BIBBs: RP, RPM, WP.
A start on ReadRange for Trending BIBB.
2010-02-28 03:44:06 +00:00
skarg 2a68202503 Updated GNU make Makefile for cross compile by changing CC=gcc to CC:=gcc. 2010-02-27 04:02:27 +00:00
tbrennan3 42c01e92f6 Our cross-compiled builds were failing when they tried to link in the library built with the native linux compiler and archiver; this fixes that without changing the intent.
GNU-based make will handle this syntax correctly; if other makes have trouble with it, we'll have to do something different.
2010-02-26 15:43:18 +00:00
tbrennan3 49b4c6cd35 Added comments to create Doxygen sub-Module for DM-DOB BIBB (Who-Has). 2010-02-23 03:26:47 +00:00
tbrennan3 60247fa55f Added comments to create Doxygen Modules for some of the DM BIBBs (DCC, Who-Is, RD) so far. 2010-02-23 02:43:16 +00:00
skarg 8deecad15b Corrected compiler error. 2010-02-19 14:49:35 +00:00
skarg d98194636c Changed default WhoIs to be Broadcast after seeing problems of unicast I-Am through some BACnet routers. Split out WhoIs into 2 handlers - one for unicast I-Am and one for Broadcast I-Am. Developer can choose which one to use for their default handler. 2010-02-19 14:45:32 +00:00
skarg 0529106e73 Corrected Send_I_Am_Unicast. Removed the NULL src feature of sending broadcast for now. 2010-02-18 22:40:23 +00:00
skarg d5e49c7cc1 Removed the extra layer of dereference to device object in WP handler. 2010-02-18 22:11:28 +00:00
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
petermcs 9c9e4b9603 Changed RR handler to call Device_Objects_RR_Info directly.
Removed handler_rr_object_set and associated info. 
Simplified parameter passing to rr info functions by passing ptr to BACnet_Read_Range_Data.
2010-02-18 11:12:38 +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 b60af74651 Added optional 4th parameter to bacawf to control the number of bytes sent in each write of a file. 2010-02-16 22:47:13 +00:00
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