skarg
710cfccfef
Indented using indent script.
2010-05-04 21:06:26 +00:00
skarg
74be776295
Cleaned up C++ comments
2010-05-04 21:01:48 +00:00
brayra
37d048310c
Added ability to set starting invoke id from environment variable BACNET_INVOKE_ID
2010-04-27 15:11:58 +00:00
tbrennan3
136c90f6c1
More simple doxygen tweaks.
2010-04-18 01:51:52 +00:00
tbrennan3
fac19dff98
Made bacepics' output more correct for VTS3 EPICS parsing.
...
Put command line argument checking and usage printing into their own functions,
and added an optional argument to show values instead of '?' for properties like Present_Value.
Added screening of properties that should normally be replaced with '?' on output.
Added a few enums to bactext (Node_Type, Polarity).
2010-04-16 20:52:40 +00:00
tbrennan3
1dc93c3a28
Added function rp_ack_fully_decode_service_request() to parse and return the same structure as RPM (but the list has just one property). Convenient when you want to switch hit between RP and RPM.
...
Put it in the handler/h_rp_a.c file since I wasn't sure if we wanted it in the stack src itself.
2010-04-15 20:48:06 +00:00
tbrennan3
c5977b8933
Added some function documentation and a little more support for Structured Views.
2010-04-15 20:45:22 +00:00
tbrennan3
f9d900fdca
Added structure for BACnetDeviceObjectReference, and ability to encode/decode it.
2010-04-08 19:26:27 +00:00
petermcs
d78ce26067
Added support for non contiguous object arrays to the device object. This allows, for example, a single table of objects to be used for configuration of the device with the objects of a given type not required to be in a contiguous block.
2010-03-29 21:41:39 +00:00
tbrennan3
f92316649b
Started a Doxygen module for DataLink layer, for the default DataLink templates and for BACnet/IP.
2010-03-24 03:41:39 +00:00
tbrennan3
5a99f0662c
Commented the demo/server in a new module.
...
Embedded its PICS in the server documentation (hopefully a good idea).
Added a PrettyPrintPropertyValue() function to the epics program (hopefully OK format).
Added a function apdu_service_supported_to_index() to the apdu code to translate a SERVICE_SUPPORTED_ enum to its SERVICE_CONFIRMED_ or SERVICE_UNCONFIRMED_ index, and used it when PrettyPrinting services.
2010-03-23 04:55:11 +00:00
skarg
35f0a52d51
Exposed some useful functions in FIFO library. Updated Ringbuffer library to my latest.
2010-03-22 21:36:27 +00:00
petermcs
d3207bf5e5
Added MAX_UNITS to help with range checking code.
2010-03-17 15:05:41 +00:00
tbrennan3
6a97eb5424
Added Doxygen Modules describing the Object Helper Functions (and how they're used) and the Handler-to-Objects interface functions of the Device Object.
...
Two small code corrections in device.c:
a) Fixed the return value of Device_Write_Property() so that a -1 value would also return False.
b) Fixed the string length checked when writing PROP_OBJECT_NAME for the Device object.
2010-03-14 04:34:52 +00:00
tbrennan3
47ff6200f1
Doxygenation of the main Alarm/Event and COV functions.
...
Also documented the main misc functions for handlers.
2010-03-12 03:30:31 +00:00
tbrennan3
776bf54278
Added partial documentation of DS-COV.
...
Dropped the Latex output from default doxyfile.
Added a convenience starting point for HTML output, the only format that has worked well for this project on doxygen.
2010-03-07 05:42:19 +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
petermcs
8fdc3b113a
Oops didn't mean to commit this with print enabled set to 1
2010-03-03 21:45:11 +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
tbrennan3
6c799cb847
Documented the function pointer templates for object_functions, as used in device.c
2010-03-02 20:44:46 +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
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
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
f5bc326061
Merged duplicate and different BACnet Renitialized Device State enumerations.
2010-02-18 17:25:58 +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
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
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
petermcs
ecb1f2064f
Folded error class and code into BACNET_READ_RANGE_DATA structure.
2010-02-15 11:41:23 +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
skarg
6c1b5b7e68
Decoupled the demo handler from the demo object for ReinitializeDevice service.
2010-02-13 13:38:00 +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
70b5d45ce2
Updated ports/bdk-atxx4-mstp to use demo handlers for RP,RPM,WP.
2010-02-11 04:31:43 +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
1b4640c192
Changed default state of PRINT_ENABLED to zero for embedded ports.
2010-02-10 18:47:31 +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
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
skarg
dc2a432a65
Added alloc to ringbuf module.
2009-12-18 04:20:44 +00:00
petermcs
7c13ab6904
First version of Trend Log which will actually log real data.
2009-12-11 14:54:56 +00:00
petermcs
989ab7ffe7
Implemented ReadRange By Time for Trend Logs.
2009-12-07 12:15:15 +00:00
petermcs
d63618d599
Implemented Trend Log ReadRange for "By Position" and "All" options.
...
Fixed some issues in the rest of the Trend Log code and the general ReadRange code..
2009-11-29 19:32:47 +00:00
skarg
52294d1dce
Added fixes for Alarms and Events. Thank you Sebastien!
2009-11-29 18:47:05 +00:00
petermcs
35ec69c307
Updates to the Trend Log object:
...
1. Added more of the required logic to the Trend Log write property handler.
2. Fixed some mistakes in the read property handler
3. TrendLog_Init now sets up data to allow for testing.
4. Enabled write property handling in main.c
2009-11-25 10:23:23 +00:00
petermcs
916067ec59
Added skeleton Trend Log object. Currently allows properties to be read and written but has little of the required logic for trending implemented yet.
2009-11-23 08:27:09 +00:00