BAOS SDK v2
1.0.1
An SDK providing access to IP-BAOS devices through BAOS binary protocol version 2.x
|
This sample shows how to get datapoint values via the connection API
Datapoint
Usage:
Pre-condition: It assumes that the following datapoints are configured:
|---------|-----------------|-----------------------------|-------------|---------------| | Number | DPT | Name | SizeInBit | Flags | | | | | | C R W T U I | |---------|-----------------|-----------------------------|-------------|---------------| | 1 | DPT 01 - 1 bit | Actuator A - Switch | 1 | C - W - - - | |---------|-----------------|-----------------------------|-------------|---------------| | 2 | DPT 01 - 1 bit | Actuator A - State | 1 | C R - T - - | |---------|-----------------|-----------------------------|-------------|---------------| | 3 | DPT 01 - 1 bit | Actuator B - Switch | 1 | C - W - - - | |---------|-----------------|-----------------------------|-------------|---------------| | 4 | DPT 01 - 1 bit | Actuator B - State | 1 | C R - T - - | |---------|-----------------|-----------------------------|-------------|---------------|