skarg
a74e282f93
Updated some documentation about Environment Variables.
2010-09-10 18:27:58 +00:00
skarg
7928d7cb6c
Fixed compiler error (after adding a change for IAR compile).
2010-09-07 18:18:30 +00:00
skarg
4105d22b4b
Fixing compiler warnings (compiled with IAR and configured for no printing)
2010-09-07 16:16:15 +00:00
cneilson
3f3af6a072
Moved variable definitions to top of functions (variables can, only be defined partway thru in C++ not C)
2010-09-03 16:48:24 +00:00
skarg
50a8a3f2fb
Changed some plumbing for printing values to handle the case of a Present-Value enumerated property from a proprietary object type.
2010-09-02 13:16:27 +00:00
brayra
81bc038abd
Change Network Layer message to print to stderr
2010-08-27 22:00:46 +00:00
skarg
b769dcbe1d
Indented.
2010-08-18 00:11:35 +00:00
skarg
a23d75689d
Correcting prototypes and includes.
2010-08-18 00:01:32 +00:00
skarg
3c9c3c2d56
Updated prototypes and include as required and found by compile with extra checking. Thanks to Nigel Jones for his "setting a bad example" article.
2010-08-17 19:43:59 +00:00
skarg
2f5c95b7a3
Added additional WhoIs for network device discovery. Thanks, David Campfield!
2010-08-17 14:03:52 +00:00
skarg
83a3f08dad
Fixed compiler warnings.
2010-08-06 22:21:29 +00:00
skarg
6c9ef7211d
Fixed indent script, and indented files.
2010-07-19 23:19:54 +00:00
skarg
e5481b4bb5
Fixed error code when array option is passed to special properties ALL, OPTIONAL, REQUIRED.
2010-07-16 14:48:52 +00:00
skarg
7852309f7e
Added error code when array option is passed to special properties ALL, OPTIONAL, REQUIRED.
2010-07-16 14:34:15 +00:00
skarg
0a468dbb5a
Added recurring foreign device registration for server demo.
2010-07-02 12:20:51 +00:00
skarg
987e28d515
Modified the ReadProperty, ReadPropertyMultiple, and WriteProperty demo applications to check source address and invoke ID on the returning acknowledge to prevent printing responses not intended for this client.
2010-06-15 14:58:27 +00:00
petermcs
404eaa01d0
Removed spurious #define TEST and fixed up a couple of printfs.
2010-06-10 21:20:47 +00:00
petermcs
7b77fe776a
Refactored rpm decoding to return proper reject/abort status for malformed requests.
...
Note: the test code in rpm.c has been changed to accommodate the changes made to the decoding functions but I have not tested the test code as I have not run the test suite.
2010-06-10 11:31:53 +00:00
petermcs
61bb34d726
2nd pass at changing the error/reject/abort status reporting to improve BTL test compliance. ReadProperty fully done for core and demo objects. Will tackle other services next.
2010-06-07 15:52:33 +00:00
petermcs
f32e7bf1c0
Changes to error checking to report invalid requests via proper reject codes and not the blanket abort which was in place (will need to look at other service request decoders as well...) Should address question raised by Jérémy Delhomme.
2010-06-03 11:20:37 +00:00
skarg
d95863d89c
Corrected epics demo handling of proprietary properties.
2010-05-21 14:25:39 +00:00
skarg
0263f9dce8
Corrected const char for WhoHas/I-Have (bug ID: 3002190). Thank you, Jim Bell!
2010-05-15 22:16:59 +00:00
tbrennan3
1526557b54
Added arguments to bacepics which let you specify a source port to use (besides 0xBAC0) and a target MAC to use.
...
Combining these lets you run bacepics against the localhost's Device at port 0xBAC0.
One small change in dlenv_init() to support this (don't force source port to 0xBAC0 if that's not what we want).
2010-05-14 19:09:53 +00:00
petermcs
04e99f3671
Changes to reduce the number of warnings with Visual C++2008 warning level 4 to a minimum.
2010-05-14 14:21:48 +00:00
skarg
710cfccfef
Indented using indent script.
2010-05-04 21:06:26 +00:00
skarg
e261490f61
Corrected compiler warning.
2010-04-28 17:34:49 +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
040e6ed286
Make sure RPM handler aborts if Device_Read_Property() returns -2 (because the current property by itself won't fit in the APDU).
2010-04-23 18:40:09 +00:00
tbrennan3
136c90f6c1
More simple doxygen tweaks.
2010-04-18 01:51:52 +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
skarg
52518b9d57
Changed NPDU handler to check for BACnet version before attempting to decode. Thanks, Piotr!
2010-03-17 00:35:51 +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
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
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
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
skarg
cba6197fe3
Fixed compiler warnings.
2010-02-15 20:11:13 +00:00
petermcs
ecb1f2064f
Folded error class and code into BACNET_READ_RANGE_DATA structure.
2010-02-15 11:41:23 +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
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