tbrennan3
026a489fc5
Answered my own questions, after some thought:
...
Made the epics pretty-printing generate shorter lines by only decoding 4 bits per line (hurts my byte-centered soul, but does look better).
Moved the big comment section out of demo/server/main.c out to a new header, server.h.
Provided doxygen links to the functions called in the server demo.
2010-03-23 12:32:46 +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
petermcs
6cc780e562
Changed int apdu_len to bool status in Device_Write_Property as the return value is a bool and the return value for the object write functions is also bool.
2010-03-17 15:03:54 +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
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
petermcs
bfd3920698
Removed assumption that object instance and object index are one and the same. Added in missing Analog_Input_Instance_To_Index() function.
2010-03-11 16:57:55 +00:00
skarg
baec022ecd
Updated Visual Studio project for latest demo application.
2010-03-10 16:33:57 +00:00
skarg
c4df15b39c
Corrected error message.
2010-03-07 10:22:05 +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
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