From 2c93baad24bad3d35b9e1331beff80cc7a9d0abe Mon Sep 17 00:00:00 2001 From: Kaiserchen85 <109826681+Kaiserchen85@users.noreply.github.com> Date: Fri, 6 Oct 2023 16:46:08 -0700 Subject: [PATCH 1/2] Added CHANGELOG.md and fixed AI output Added CHANGELOG.md Fixed AnalogInput to output valid value for Proprietary Property 512 + 4 by editing database.json --- CHANGELOG.md | 11 +++++++++++ database.json | 8 ++++---- 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b7ea965 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,11 @@ +# Change Log + +## Version 0.0.x + +### 0.0.2 (2023-Oct-06) +- Fixed AnalogInput to output valid value for Proprietary Property 512 + 4 by editing database.json [Issue/5](https://github.com/chipkin/BACnetServerExampleNodeJS/issues/5) +- Tested using BACnet Stack version 4.1.19.2330 + +### 0.0.1 (N/A) + +- Inital release. \ No newline at end of file diff --git a/database.json b/database.json index 03e0bdb..ac51ae3 100644 --- a/database.json +++ b/database.json @@ -17,10 +17,10 @@ "description": "AnalogInput Bronze description", "units": "degreescelsius", - "proprietary_year": 0, - "proprietary_month": 0, - "proprietary_day": 0, - "proprietary_weekDay": 0, + "proprietary_year": 123, + "proprietary_month": 10, + "proprietary_day": 6, + "proprietary_weekday": 5, "proprietary_hour": 0, "proprietary_minute": 0, "proprietary_second": 0, From f8892e2f82a19350910865a94601e87f9b8fe275 Mon Sep 17 00:00:00 2001 From: Kaiserchen85 <109826681+Kaiserchen85@users.noreply.github.com> Date: Wed, 11 Oct 2023 17:21:57 -0700 Subject: [PATCH 2/2] Fixed Application Version Fixed Application Version in CHANGELOG.md and program.js --- CHANGELOG.md | 6 +++--- program.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7ea965..fc241b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,11 @@ # Change Log -## Version 0.0.x +## Version 1.2.x -### 0.0.2 (2023-Oct-06) +### 1.2.1.0 (2023-Oct-06) - Fixed AnalogInput to output valid value for Proprietary Property 512 + 4 by editing database.json [Issue/5](https://github.com/chipkin/BACnetServerExampleNodeJS/issues/5) - Tested using BACnet Stack version 4.1.19.2330 -### 0.0.1 (N/A) +### 1.2.0.0 (N/A) - Inital release. \ No newline at end of file diff --git a/program.js b/program.js index 34ff20c..c4b4ed5 100644 --- a/program.js +++ b/program.js @@ -33,7 +33,7 @@ const SETTING_IP_ADDRESS = []; // Set IP Address to use for BACnet, set to [] to const SETTING_SUBNET_MASK = []; // Set Subnet Mask to use for BACnet, set to [] to discover // Constants -const APPLICATION_VERSION = '1.2.0.0'; +const APPLICATION_VERSION = '1.2.1.0'; // Globals var fifoSendBuffer = new dequeue();