Commit Graph

13 Commits

Author SHA1 Message Date
tbrennan3 22c14fccad Followed Steve's good recommendation, and made routed_get_my_address() be a variant of datalink_get_my_address() just when routing is in use. Haven't done anything about the sending functions yet.
Renamed Lookup_Routed_Device_Address() as Routed_Device_Address_Lookup(), and replaced it in the routed npdu handler with a function that finds the "next" gateway or routed device, as per the destination address.  (Less tied to the specifics of the gw_device.c implementation.)
Fixed a few build warnings (eg, %zu for size_t arguments).
Until we improve the makefile system, I've enabled BAC_ROUTING in config.h
2010-11-24 20:44:32 +00:00
tbrennan3 a5f24fa19f Tweaked the comments for better Doxygen output. 2010-10-13 19:00:57 +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
skarg 9569f2c536 Fixed EOL and performed standard indentation. 2010-09-16 22:00:47 +00:00
brayra 81bc038abd Change Network Layer message to print to stderr 2010-08-27 22:00:46 +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 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +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 a911eea98f The beginning of doxygenation:
As a first step, added an @file description for each file.
2010-02-14 05:41:45 +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 980f0145be Fixed line endings, and set EOL properties. 2008-12-05 21:26:24 +00:00
skarg 85654baf40 converted the debug printf to ugly ifdefs for PIC compiler. 2008-12-01 15:08:34 +00:00
skarg 4b2839c3c2 Moved npdu_handler to demo/handler/h_npdu.c file. 2008-09-07 04:14:50 +00:00