Commit Graph

16 Commits

Author SHA1 Message Date
skarg 46cdade038 Corrected error response service type. Thank you, Martin! 2011-01-12 19:51:52 +00:00
skarg 01d1d5bd77 Changed %zu back to %d since Borland C++ doesn't understand %zu. 2010-11-30 06:08:48 +00:00
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
petermcs 3bb228edf2 Added routing support for virtual network so that source addresses are transmitted when required and the correct object ID is used. 2010-11-17 23:16:24 +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
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 1477603af6 indented. 2007-11-29 16:39:48 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +00:00
skarg 0c527b8162 Cleaned up Borland compile. 2007-09-07 18:00:42 +00:00
skarg cc4c46b84d Corrected bug in all confirmed handlers: if a segmented message was received, the handler tried to decode it instead of immediately sending an abort. This caused lockup with WriteProperty. 2007-08-18 00:06:48 +00:00
skarg 9069c939da Fixing indent oops which removed the contents of all these files. 2007-06-14 05:33:15 +00:00
skarg ea4863ca25 Indented. 2007-06-14 05:14:26 +00:00
skarg cddb5b7dd3 Corrected signed value decoding for signed16 and signed8. 2007-06-06 15:54:24 +00:00
skarg ca1af32d7c Changed AtomicWriteFile handler to return complex Ack instead of Simple Ack. 2007-02-26 00:05:19 +00:00
skarg 8d14d078a9 Added missing header file. 2007-02-25 23:27:30 +00:00
skarg 15af87a4fd Created handler for AtomicWriteFile service. Added it to the demo/server example. 2007-02-25 23:23:53 +00:00