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
+22-11Lines changed: 22 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# BACnet Client Example C++
2
2
3
3
A basic BACnet IP client example written in C++ using the [CAS BACnet Stack](https://store.chipkin.com/services/stacks/bacnet-stack). This client example is meant to be used with the [BACnet IP server example](https://github.com/chipkin/BACnetServerExampleCPP). Supports WhoIs, Read property, and Write property services.
4
+
This example shows how to use some of the BACnet client functionality of the CAS BACnet Stack and can be used to test communications with the BACnetServerExampleCPP.
4
5
5
6
## Supported CAS BACnet Stack Version
6
7
@@ -14,21 +15,29 @@ Build versions of this example can be downloaded from the releases page:
14
15
15
16
## Installation
16
17
17
-
Download the latest release zip file on the releases page.
18
+
Download the latest release executable on the releases page.
18
19
19
20
## Usage
20
21
22
+
The target device for testing with this Client example application is the [BACnetServerExampleCPP](https://github.com/chipkin/BACnetServerExampleCPP)
23
+
21
24
```txt
22
25
Usage: BACnetClient {IPAddress}
23
26
Example: BACnetClient 192.168.1.126
24
27
25
28
Help:
26
-
- Q - Quit
27
29
- W - Send WhoIs message
28
-
- R - Send Read property messages
29
-
- U - Send Write property messages
30
-
- C - Send Subscribe COV Request
31
-
- T - Send Confirmed Text Message Request
30
+
- R - Send ReadProperty messages
31
+
- U - Send WriteProperty messages
32
+
- S - Send SubscribeCOV Request
33
+
- P - Send SubscribeCOVProperty Request
34
+
- M - Send ConfirmedTextMessage Request
35
+
- T - Send TimeSynchronization Request
36
+
- R - Send ReinitializedDevice Request
37
+
- D - Send DeviceCommunicationControl Request to Disable
38
+
- E - Send DeviceCommunicationControl Request to Enable
39
+
- H - Display Help information
40
+
- Q - Quit
32
41
```
33
42
Client expects a device with the following objects:
34
43
@@ -55,17 +64,19 @@ Client expects a device with the following objects:
55
64
56
65
## Build
57
66
58
-
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.
67
+
A [Visual studio 2022](https://visualstudio.microsoft.com/downloads/) project is included with this project.
68
+
69
+
The CAS BACnet Stack submodule is required for compilation. Please contact Chipkin Automation Systems to purchase the CAS BACnet Stack.
59
70
60
-
The CAS BACnet Stack submodule is required for compilation.
71
+
More information about the CAS BACnet Stack can be found here: [CAS BACnet Stack](https://store.chipkin.com/services/stacks/bacnet-stack)
61
72
62
73
## Example Output
63
74
```txt
64
-
CAS BACnet Stack Server Example v0.0.2.0
65
-
https://github.com/chipkin/BACnetServerExampleCPP
75
+
CAS BACnet Stack Client Example v1.0.0.0
76
+
https://github.com/chipkin/BACnetClientExampleCPP
66
77
67
78
FYI: Loading CAS BACnet Stack functions... OK
68
-
FYI: CAS BACnet Stack version: 3.16.0.0
79
+
FYI: CAS BACnet Stack version: 5.1.2.0
69
80
FYI: Connecting UDP Resource to port=[47808]... OK, Connected to port
70
81
FYI: Registering the callback Functions with the CAS BACnet Stack
71
82
Setting up client device. device.instance=[389002]
0 commit comments