Commit Graph

13 Commits

Author SHA1 Message Date
skarg cc7e9b539d Fixed Get Event Handler to additionally check its own buffer length.
Get event handler checks only if APDU length is less than Max APDU of device that has requested list of events, but it does not check its own Max APDU to see if response is too long to fit in Handler_Transmit_Buffer. Thanks, Daniel Blazevic!
2016-04-20 19:42:41 +00:00
bow2 086840a763 get event information demo 2015-03-23 12:28:46 +00:00
skarg 3e1cb1847f Indented project. 2011-08-17 02:27:11 +00:00
k001a 5f952312a8 'Last Received Object Identifier' for GetEventInformation service. 2011-08-11 19:17:27 +00:00
k001a e5496d3d11 GetEventInformations returns messages whose maximum length does not exceed max_resp.
More_Events for GetEventInformations works fine.
2011-07-18 20:00:53 +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 dbb8997b4d Added routing support for virtual network to more of the handlers and fixed up a couple of typos from the previous changes.
Added ReadRange service handler so that trendlogs can be read.
2010-11-18 21:29:11 +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 788b6905d7 Corrected GetEventInfo to return correctly formed chunks and not invoke assert. 2009-11-02 20:12:26 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
skarg f82a844952 Changed the GetEventInfo handler somewhat to make it easier on data storage. 2009-10-12 05:27:08 +00:00
skarg a790c053d2 Added GetEventInformation service, handler, unit test. 2009-10-12 04:44:25 +00:00