Skip to content

Commit

Permalink
feat(plc4go/bacnet): added WhoHas and IHave to Discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Jun 23, 2022
1 parent 31b5c38 commit 5335f6f
Show file tree
Hide file tree
Showing 2 changed files with 361 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ func main() {
},
plc4go.WithDiscoveryOptionProtocolSpecific("who-is-low-limit", 0),
plc4go.WithDiscoveryOptionProtocolSpecific("who-is-high-limit", "255"),
plc4go.WithDiscoveryOptionProtocolSpecific("who-has-device-instance-range-low-limit", "0"),
plc4go.WithDiscoveryOptionProtocolSpecific("who-has-device-instance-range-high-limit", "255"),
// Either use name or the 2 identifier tuple below
plc4go.WithDiscoveryOptionProtocolSpecific("who-has-object-name", "john"),
//plc4go.WithDiscoveryOptionProtocolSpecific("who-has-object-identifier-type", "DEVICE"),
//plc4go.WithDiscoveryOptionProtocolSpecific("who-has-object-identifier-instance", "133"),
); err != nil {
panic(err)
}
Expand Down
Loading

0 comments on commit 5335f6f

Please sign in to comment.