Commit Graph

30 Commits

Author SHA1 Message Date
skarg 0d53e59369 Fixed BACNET_REINITIALIZED_STATE enum broken in merge 2018-12-11 02:39:31 +00:00
skarg 0697065030 Fixed some warnings flagged by IAR C-STAT static analysis tool. 2016-01-07 21:31:38 +00:00
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
tbrennan3 710ac3d34c Added checking in with each device (in the BAC_ROUTING case) to see whether it supports RD or DCC.
Sends a Reject message if not supported.  Added to the respective handlers.
2011-10-21 17:02:11 +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 4105d22b4b Fixing compiler warnings (compiled with IAR and configured for no printing) 2010-09-07 16:16:15 +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
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 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
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 6c1b5b7e68 Decoupled the demo handler from the demo object for ReinitializeDevice service. 2010-02-13 13:38:00 +00:00
petermcs c8d56cb6d3 Error class for password fail changed from SERVICES to SECURITY to conform to standard. 2010-01-22 15:32:00 +00:00
petermcs a724293088 Modified to check password in the same fashion as h_dcc. This saves on having a static BACnet string which frees up 1.5KB. 2010-01-21 21:56:33 +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 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 5dd8c6da91 Converted to standard indent style. 2006-10-07 14:13:34 +00:00
skarg f45d694a51 Corrected the server bit in the abort PDU which was missing for the abort messages. 2006-10-05 22:46:59 +00:00
skarg 337bc5ab4e Corrected the NPDU encoding for the demo handlers. 2006-09-23 22:02:04 +00:00
skarg a30d497669 indented. 2006-08-13 00:57:17 +00:00
skarg 5bb205dc03 Changed the API to pass the NPDU data down through the datalink layer in order to make the dlmstp work since it needs data-expecting-reply information. Of course, this affected all the demos, all the unit tests, and most of the demo handlers. Corrected some TSM leaks in confirmed messages. Refactored the AtomicReadFile and AtomicWriteFile demos by moving the Send_ functions to the demo/handlers directory and using the s_whois common handler. Added some common defines for the BACnet version and revision since several modules were using the info. Hopefully I didn't break too many things. 2006-08-13 00:54:05 +00:00
skarg cbff83127f Added a PRINT_ENABLED define to allow small embedded devices without print capability to use some functions in this module. 2006-08-10 19:20:33 +00:00
skarg dee63d45bc Changed all the C++ comments to C comments using comment.sh script. 2006-02-19 01:32:09 +00:00
skarg d6a891f0d1 running the indent on the files. 2006-02-18 23:11:25 +00:00
skarg 566749508c Added DeviceCommunicationControl in the demos and into the stack. 2006-02-10 22:44:34 +00:00
skarg caaf9befef Added demo handler for ReinitializeDevice service, and included it in the demo/server. Tested using Synergy Lighting panel client on the serial console. 2006-02-06 16:54:21 +00:00