You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-22Lines changed: 27 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,42 @@
1
-
# BACnet Server MSTP Example CPP
1
+
# BACnet Server MSTP Example C++
2
2
3
-
A minumal BACnet MSTP server example written with C++ using the [CAS BACnet Stack](https://www.bacnetstack.com/). For a full featured BACnet Server example see the [BACnet Server Example CPP](https://github.com/chipkin/BACnetServerExampleCPP) project.
3
+
A minimal BACnet MSTP server example written in C++ using the [CAS BACnet Stack](https://store.chipkin.com/services/stacks/bacnet-stack). For a full featured BACnet Server example see the [BACnet Server Example CPP](https://github.com/chipkin/BACnetServerExampleCPP) project.
4
4
5
-
Device tree:
5
+
## Releases
6
6
7
-
- Device: 389999 (Device Rainbow)
8
-
- analog_value: 2 (AnalogValue Diamond)
7
+
Build versions of this example can be downloaded from the [Releases](https://github.com/chipkin/BACnetServerMSTPExampleCPP/releases) page.
8
+
9
+
## Installation
10
+
11
+
Download the latest release zip file on the [Releases](https://github.com/chipkin/BACnetServerMSTPExampleCPP/releases) page.
9
12
10
-
## Cli
13
+
## Usage
11
14
12
-
The serial port, baud rate, and MAC address of this BACnet MSTP server can be configured using command line parameters.
15
+
The serial port, baud rate, and MAC address of this BACnet MSTP server can be configured using command line parameters:
A [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/) project is included with this project. This project also auto built using [Gitlab CI](https://docs.gitlab.com/ee/ci/) on every commit.
21
31
22
-
The application outputs all BYTES sent or recived. BYTES with underscore after them are recived bytes. BYTES with a space after them are sent bytes. When the user presses the "enter" key, the MSTP stats, states, and events are printed for reference.
32
+
1. Copy *CASBACnetStack_x64_Debug.dll*, *CASBACnetStack_x64_Debug.lib*, *CASBACnetStack_x64_Release.dll*, and *CASBACnetStack_x64_Release.lib* from the [CAS BACnet Stack](https://store.chipkin.com/services/stacks/bacnet-stack) project into the /bin/ folder.
33
+
2. Use [Visual Studio 2019](https://visualstudio.microsoft.com/vs/) to build the project. The solution can be found in the */BACnetServerMSTPExample/* folder.
34
+
35
+
A makefile that uses gcc is included for making executables on linux.
36
+
37
+
## Example Output
38
+
39
+
The application outputs all BYTES sent or received. BYTES with underscore after them are received bytes. BYTES with a space after them are sent bytes. When the user presses the "enter" key, the MSTP stats, states, and events are printed for reference.
A [Visual studio 2019](https://visualstudio.microsoft.com/downloads/) project is included with this project. This project also auto built using [Gitlab CI](https://docs.gitlab.com/ee/ci/) on every commit.
94
-
95
-
A makefile that uses gcc is included for making excultables on linux.
96
-
97
-
## Releases
98
-
99
-
Build versions of this example can be downloaded from the releases page:
0 commit comments