tbrennan3
48411b8dbf
Routing functionality complete, and working. (Have not done extensive testing, though.)
...
For building, made it possible to include or exclude the routing functionality with simple changes in the main Makefile and enables in lib/Makefile and include/config.h
The Device object (device.c and .h) was extended to support the virtually routed Devices, with most of the new functions in new file gw_device.c to replace their simpler cousins in device.c.
2010-10-13 15:59:39 +00:00
skarg
f934f8add8
Changed bacapp data len function to just decode the len without regard to the storage ability of the internal data structures.
2010-10-13 02:29:55 +00:00
skarg
2c3e03256d
Added missing initialization for PFM count.
2010-10-13 00:06:07 +00:00
skarg
86dbaf409b
Added handling for bacapp decode value returning error codes.
2010-10-12 03:02:05 +00:00
skarg
e9249b5b5e
Added test for a decoding problem where the stack is unable to decode something, and retrofitted into WriteProperty for each of the demo objects by returning an Error, Out of Range.
2010-10-12 01:17:50 +00:00
skarg
df2a5ca695
Updated to-do list.
2010-10-08 18:20:38 +00:00
tbrennan3
9058fc7f3a
Finished up the Network Layer Message handling (I hope).
...
Simplified the Router Table encoding (just based on DNETs).
2010-10-08 02:50:14 +00:00
tbrennan3
478d7aeb41
Working out the sending of Network Layer Messages; trying to refactor the actual sending routines to just one since the beginning, end, and error handling are the same for all types - just the payload is different.
...
For many, need to know what our managed downstream BACnet Network list is, so added that argument.
2010-10-07 21:00:46 +00:00
tbrennan3
9efd3465cf
Adding more support for Network Layer Message handling.
2010-10-07 20:56:09 +00:00
skarg
8d2560225d
Updated builds for ports/atmega168 (IAR) and for ports/bdk-atxx4-mstp (AVR Studio)
2010-10-07 15:56:35 +00:00
skarg
b54218939e
Added extra sub-state for MS/TP from Addendum 135-2008v. Tested with ports/bdk-atxx4-mstp/ code on the BACnet Development Kit. Clean compile on src/mstp.c, ports/at91sam7s and ports/atmega168, but untested. All other changes were not compiled or tested.
2010-10-07 15:52:45 +00:00
skarg
23eecbc100
Added more informative error message.
2010-10-06 18:49:52 +00:00
skarg
8165d5bb09
Corrected clock frequency to 18.432MHz to correct baud rate at 115200.
2010-10-04 23:26:25 +00:00
tbrennan3
cf0f01c5a1
Adding a gateway project to demonstrate routing to a virtual network.
...
The work is not complete yet; this is an interim checkin. Ultimately the device.c file will be merged with the regular one or the deltas will be separated into some other file.
2010-09-29 21:04:00 +00:00
tbrennan3
9f4b8e5f19
Adding a handler for routed NPDUs (ie, Network Layer Message handling).
...
The work is not complete yet; this is an interim checkin.
2010-09-29 20:52:51 +00:00
tbrennan3
d39d4fded3
More function documentation.
...
Defined a default Hop Count value, and used 15 instead of 255.
2010-09-29 20:29:12 +00:00
tbrennan3
e5f5dce995
Added some javadoc-type function comments.
...
Reduced the default hop count from way-big 255 to 15.
2010-09-28 21:05:38 +00:00
tbrennan3
44b7e02721
Tweaked the debug building and printing a little - I hope this works OK for everyone. Let me know if not.
...
Tamped down a few warnings.
For the demo/server Makefile, made an either/or choice between executable size optimization (normal) or gdb debug info and no optimization.
2010-09-27 20:27:29 +00:00
skarg
d5822ac53a
Add clear of MCU status registers at initialization.
2010-09-24 19:38:32 +00:00
skarg
6826688777
Fixed merge problem.
2010-09-24 19:37:43 +00:00
skarg
6dd635cdee
Added clearing of MCUSR per GCC-AVR FAQ.
2010-09-23 22:35:45 +00:00
skarg
0e59eeee32
Converted project to not use external makefile for debugging.
2010-09-23 14:27:21 +00:00
skarg
0a9728ae54
Increased CStack size, and reduced APDU size since CStack was getting exceeded.
2010-09-23 14:26:11 +00:00
skarg
d84243914b
Added ifndef to allow overriding of default defines.
2010-09-23 14:25:23 +00:00
skarg
8098100483
removed timeout code
2010-09-23 00:52:41 +00:00
skarg
6cb6200f39
Reverted seeprom timeout for now. Lowered APDU size in Makefile. Changed stack based text to static buffer.
2010-09-23 00:34:26 +00:00
skarg
80c27fd0b5
Added timeout to SEEPROM wait for transmit.
2010-09-22 18:33:18 +00:00
skarg
430f068305
Updated makefile for v2 hardware.
2010-09-22 18:32:53 +00:00
skarg
ea3e9db07d
Fixed compiler warnings.
2010-09-22 18:31:57 +00:00
skarg
4f464820eb
Added baud rate set/view to serial terminal.
2010-09-22 18:31:24 +00:00
tbrennan3
5e5f38cb06
My gcc complained about a conflict with the function of the same name as the array, Binary_Output_Out_Of_Service. This fix lets it build.
2010-09-22 02:16:22 +00:00
skarg
b1c9870989
Refactoring some BDK code. Updating Skip Data state for AT91 port.
2010-09-22 01:13:42 +00:00
skarg
64c28c32ad
corrected MS/TP new Skip Data states
2010-09-22 01:12:14 +00:00
skarg
2fc159cea2
Changed ADC reading to be 10-bit.
2010-09-21 19:50:43 +00:00
skarg
be7efebaa1
Enhanced the ADC to be able to read all channels, and fixed bug in configuration of ADC.
2010-09-21 19:50:16 +00:00
skarg
9569f2c536
Fixed EOL and performed standard indentation.
2010-09-16 22:00:47 +00:00
skarg
092834b2d9
changed led initialization behavior to turn on for 500ms for board validation.
2010-09-16 21:57:10 +00:00
skarg
d7ad075c7a
UpdAdded new MS/TP skip data state.
...
Added ring buffer for incoming PDU to fix WhoIs followed by ReadProperty situation.
2010-09-16 17:57:51 +00:00
skarg
6e739e06d5
Added new MS/TP skip data state.
...
Added ring buffer for incoming PDU to fix WhoIs followed by ReadProperty situation.
2010-09-16 16:08:10 +00:00
skarg
c8f4aac1b7
Cleaning up some code to make it more robust.
2010-09-16 14:49:33 +00:00
skarg
7e7b83a6be
Added export for MS/TP Sole Master.
2010-09-13 18:44:42 +00:00
skarg
5524cab7cd
Corrected MS/TP capture statistics after converversion of FSM.
2010-09-13 14:08:28 +00:00
skarg
bb0c98a9c1
added MS/TP state skip data to MS/TP capture tool, and removed Lurking.
2010-09-12 16:08:31 +00:00
skarg
812c1c4bfb
Added board v2 fuses.
2010-09-12 03:32:36 +00:00
skarg
9e13bd0ebb
converted COV to use new error, reject, abort method.
2010-09-11 19:24:20 +00:00
skarg
914a063681
removed kludge by adding initializer
2010-09-11 19:23:08 +00:00
skarg
7832ba11db
Changed Object List in various ports to return Segementation Not Supported abort when it is too large to return in a single APDU.
2010-09-11 13:38:16 +00:00
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
332d776c32
Added watchdog module to makefile (after adding it to the project for IAR compile).
2010-09-07 18:00:15 +00:00