@halsystems/red-bacnet 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.1.1]
|
|
4
|
+
### Changed
|
|
5
|
+
- Reinstated `globalBroadcastAddress` filter in transport
|
|
6
|
+
|
|
3
7
|
## [2.1.0]
|
|
4
8
|
### Changed
|
|
5
9
|
- Matched v2.1.0-alpha.0 release
|
|
6
|
-
- Removed `
|
|
10
|
+
- Removed `globalBroadcastAddress` filter from transport
|
|
7
11
|
|
|
8
12
|
## [2.1.0-alpha.0]
|
|
9
13
|
### Added
|
|
@@ -4,6 +4,7 @@ exports.Transport = void 0;
|
|
|
4
4
|
const dgram_1 = require("dgram");
|
|
5
5
|
const events_1 = require("events");
|
|
6
6
|
const DEFAULT_BACNET_PORT = 47808;
|
|
7
|
+
const GLOBAL_BROADCAST_ADDRESS = "255.255.255.255";
|
|
7
8
|
const UDP_TYPE = "udp4";
|
|
8
9
|
|
|
9
10
|
// HAL modified
|
|
@@ -23,6 +24,7 @@ class Transport extends events_1.EventEmitter {
|
|
|
23
24
|
|
|
24
25
|
if (
|
|
25
26
|
this._settings.broadcastAddress &&
|
|
27
|
+
this._settings.broadcastAddress !== GLOBAL_BROADCAST_ADDRESS &&
|
|
26
28
|
this._settings.broadcastAddress !== this._settings.interface
|
|
27
29
|
) {
|
|
28
30
|
this._broadcastServer = (0, dgram_1.createSocket)({
|