skarg
e5384a416c
Made the example Binary Input consistent, and made the Polarity property functional.
2015-02-25 12:28:44 +00:00
skarg
6cb014ee64
Changed the Linux BACnet/IP init to use NetMask.
...
The function was modified to calculate the broadcast address from IP and netmask instead of using SIOCGIFBRDADDR. In some cases it is possible that the ioctl is successful, but the returned address is 0 (e.g. search for Bcast: 0.0.0.0). For some reason in Linux the local loopback device answers from 0.0.0.0 address. So messages broadcast to that address are received from 127.0.0.1 which can possibly create a broadcast loop. This has nothing to do with NAT, but makes the stack more robust. Thank you, Sami Pietikäinen, for the contribution!
2015-02-24 21:55:31 +00:00
skarg
98207470f4
Adds network address translation (NAT) handling to BVLC when the device is BBMD.
...
When the device is behind a NAT enabled IP router, the local subnet is not accessible from the WAN side. This means that the device's local IP address cannot be used by other devices to communicate with it. The router can port forward BACnet packets to one device in the local network, but to do so other devices need to use the global IP for communication. The considerations and limitations for NAT usage are specified in BACnet standard Annex J.7.8. Thank you, Sami Pietikäinen, for the contribution!
2015-02-24 21:54:19 +00:00
skarg
efdb70b7f9
Added simple local interface to manage entries in the broadcast distribution table. Using this interface, the BDT can be supplied by local means, e.g. device's local user interface as stated in Annex J.4.4. Thank you, Sami Pietikäinen, for the contribution!
2015-02-24 20:01:18 +00:00
petermcs
0b5e336b0c
Simplified code for PROP_LOG_DEVICE_OBJECT_PROPERTY Write Property service by using existing bacapp_decode_device_obj_property_ref() routine instead of long winded code which didn't handle optional fields correctly anyway.
...
Added test in case non zero sub 1 second interval is set as this would otherwise result in 0 being stored as we truncate to 1 second resolution.
2015-02-16 10:58:31 +00:00
petermcs
d7b40e0d8b
Added explicit values for denoting optional device id not present
...
Modified bacapp_decode_device_obj_property_ref() and bacapp_decode_device_obj_ref() to use above values.
2015-02-16 10:49:50 +00:00
petermcs
1d9eb5318c
silenced warning about unused variable when not using intrinsic reporting
2015-02-16 10:46:52 +00:00
petermcs
ce68dc5147
Silenced type conversion warning
2015-02-16 10:45:39 +00:00
skarg
1814ae1d89
Fixed MSTP data expecting reply compare, as this port uses raw buffer. Thank you Will.
2015-02-03 22:39:08 +00:00
skarg
3865a13993
Fixed the at91sam7s makefile to include new files and functions to build with latest library.
2015-01-30 20:58:16 +00:00
skarg
dd271af2ed
Fix volatile variable access in at91sam7s port example.
2015-01-30 20:54:48 +00:00
skarg
c2533b6ead
Fix excessive ReplyPostponed frames in PIC MS/TP port.
2015-01-30 20:39:02 +00:00
skarg
3a3c3c24be
Fixed encoding of NPDU in router demo. Thank you F. Chaxel.
2014-12-26 17:01:10 +00:00
skarg
27e7c4752c
clean up compiler warning
2014-11-17 04:00:24 +00:00
skarg
781da0b53b
Fixed MSTP dropped packets on Linux by fixing usage of ptheads condition variable. Turns out that condition variables cannot be used on their own. They need to be paired with a shared state such as a flag variable protected by a mutex.
2014-11-15 22:03:17 +00:00
skarg
aa124bc091
updated mstpsnap utility
2014-11-15 17:27:27 +00:00
skarg
3be7029f40
Some MS/TP fixes to the AT91SAM7S port (untested).
2014-11-12 18:11:20 +00:00
skarg
ef664ab273
Terminate the value list linked lists for the COV example object Analog Inputs. Thanks, Ed!
2014-11-11 16:56:45 +00:00
skarg
d53551558a
Merged revision(s) 2782 from branches/releases/bacnet-stack-0-8-0:
...
Added initial names and descriptions to example multi-state value and multi-state input objects.
........
2014-11-11 16:54:35 +00:00
skarg
5e476c3ffc
Improved test in BDK port.
2014-11-11 16:50:17 +00:00
ekh
4415df61f9
Fixups for an issue found during testing COVs
2014-11-10 18:29:22 +00:00
skarg
b2097a2acc
Added command line option for setting the Device Name in the demo server project.
2014-11-06 16:16:48 +00:00
skarg
66f52e438f
added some more debug to RS485 on Linux
2014-11-02 05:29:42 +00:00
skarg
3fca74bcfb
When MAC address length is zero, assume it is a broadcast. Updated the MS/TP to understand this.
2014-11-02 05:27:14 +00:00
skarg
cab93e9db4
Modified ReadRange demo to be similar to ReadProperty demo. Still needs the print of the data to work correctly, but it mostly works.
2014-10-29 21:26:35 +00:00
skarg
3ad8eaba9c
added Integer Value object example
2014-09-10 04:01:53 +00:00
skarg
133b166d0c
added alternate info on pin remap for STM32 MS/TP port
2014-09-01 00:08:42 +00:00
skarg
c1ba4b124e
Added COV to Analog Input demo object.
2014-08-28 18:46:09 +00:00
skarg
5f08d69cc6
Merged revision(s) 2770 from branches/releases/bacnet-stack-0-8-0:
...
Changed present-value to be a float, and removed priority array example from Analog Value demo object.
........
2014-08-28 15:13:04 +00:00
skarg
cf738fea8f
Optimize printing usage for command line demo.
2014-08-15 15:09:56 +00:00
skarg
ae3a9a53d0
Make top level demos not silent in order to know which demo emitted an error or warning during build.
2014-08-15 15:09:00 +00:00
skarg
a32b053706
Added --version, --help, --dnet, --mac, and --dadr command line options to WhoIs demo application.
2014-08-15 13:23:47 +00:00
skarg
e7d04a2379
Added --version and --help command line options to some demo applications.
2014-08-15 13:21:20 +00:00
skarg
ccad9165c5
Refactored address decoding from demo command line function into address library.
2014-08-15 13:17:46 +00:00
skarg
0be5ddce65
Fixed BACnet/IP to handler remote network broadcast that is unicast to the router.
2014-08-02 00:05:00 +00:00
skarg
862d6622d7
Added optional MAC, DNET, and DADR command line options for the TimeSync demo application.
2014-08-02 00:03:51 +00:00
skarg
53ee8f309a
Added COV unit test to check linked list of values, and added helper function to create the linked list.
2014-07-31 15:14:58 +00:00
skarg
3264623953
Extended COV so that it is possible to encode and decode CovNotifications that consist of more than one BACNET_APPLICATION_DATA_VALUE. Thank you, Wolfgang!
2014-07-30 16:37:15 +00:00
skarg
8cdd480cc5
Added some enum extensions for the lighting output and life safety object. Thank you, Wolfgang!
2014-07-30 16:34:21 +00:00
tbrennan3
db224e7f0b
Revised BACnetObjectTypes to match Clause 21 (and the expectations of the newly revised VTS); changed format, eg, from "Analog Input" to "analog-input" for all.
2014-07-27 01:16:04 +00:00
skarg
227b89ff7c
Changed PiFace demo Binary Inputs to be toggle-on toggle-off, and verified functionality with COV.
2014-06-29 23:03:52 +00:00
skarg
9499d1106e
Added demo for Raspberry Pi PiFace board. Yesterday I was given the Swan Award in memory of Bill Swan from the BACnet committee and Siemens. They also gave me a Raspberry Pi and PiFace Digital in liu of the traditional alcohol.
2014-06-29 20:35:05 +00:00
skarg
ebb2136ef3
Added BO out-of-service function for PiFace port example.
2014-06-29 19:57:23 +00:00
skarg
12e7896701
added BACAPP_MINIMAL to PIC project
2014-06-15 00:26:14 +00:00
skarg
d65de8a69a
added BACAPP_MINIMAL for defining some minimum appliacation encoding and decoding.
2014-06-15 00:25:13 +00:00
skarg
63288d062c
Added parser for command line parsing of a BACnet BitString. This is nice if you want to write Event Enable, for example. Expects the ASCII bits as "1011001" or "1,0,1,1,0,0,1" or "1 0 1 1 0 0 1".
2014-06-13 21:25:40 +00:00
skarg
fa1c457f2f
Fixed gateway demo build, and cleaned up prototype warnings. Thanks, Bryan Evenson!
2014-06-10 15:28:10 +00:00
skarg
8da7c09bee
Fixed "make clean" to also clean up gateway files. Thanks, Bryan!
2014-06-10 15:26:49 +00:00
skarg
44b30140b4
fixed Binary Input values by adding internal pullup to pin.
2014-06-04 03:16:34 +00:00
skarg
3f18b83a9d
fixed compiler error about property list function.
2014-06-04 03:15:40 +00:00