Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: inverting address with response status

...

SizeDescription
BFrame Size (n+2 bytes) - CRC not included
BRegister Address
B

Response Status (see response code table)

BRegister Address
nBFrame Data 
2BCRC

Sensor Board Register Map

...

Address
ValueSizeDescription
0x03BSize
Status0x00BResponse statusAddress0x00
StatusBResponse status
VersionBInterface version implemented
CRCSCRC

...

ValueSizeDescription
0x19BSize
Status0x01BResponse statusAddress
0x01StatusBAddressResponse status
Model8BEight bytes describing the model name. This field may be filled with (0x00)
Manufacturer8BEight bytes describing the manufacture name. This field may be filled with (0x00)
IDLSensor board ID
RevisionBHardware revision
PointsBNumber of points (maximum is 32
CapabilitiesBSensor capabilities (see capabilities table)
CRCSCRC

...

ValueSizeDescription
0x03BSize
Status0x02BResponse statusAddress
0x02StatusBAddressResponse status
StatusBSensor Status Code
CRCSCRC

...

ValueSizeDescription
0x03BSize
Status0x03BResponse statusAddress
0x03StatusBAddressResponse status
StatusBCommand execution result
CRCSCRC

...

ValueSizeDescription
0x03BSize
Status0x04BResponse statusAddress
0x04StatusBAddressResponse status
StatusBBattery status
CRCSCRC

...

ValueSizeDescription
0x02BSize
Status0x05BResponse statusAddress
0x05StatusBAddressResponse status
CRC2BCRC

Read Battery charge (0x06)

...

ValueSizeDescription
0x03BSize
Status0x06BResponse statusAddress
0x06StatusBAddressResponse status
ChargeBBattery charge (0 to 100%)
CRCSCRC

...

ValueSizeDescription
0x02BSize
Status0x07BResponse statusAddress
0x07StatusBAddressResponse status
CRC2BCRC

 

Wireless network status (0x08)

...

ValueSizeDescription
0x02BSize
Status0x08BResponse statusAddress
0x08StatusBAddressResponse status
CRC2BCRC

Wireless network strength (0x09)

...

ValueSizeDescription
0x02BSize
Status0x09BResponse statusAddress
0x09StatusBAddressResponse status
CRC2BCRC

Display register (0x0A)

...

ValueSizeDescription
0x02BSize
Status0x0ABResponse statusAddress
0x0AStatusBAddressResponse status
CRC2BCRC

 

Main server address (0x0B)  

...

This register holds the server address to which the sensor data should be reported.


Request

|--------+------+--------------|
| Value | Size | Description |
|--------+------+--------------|
| 0x02 | B | Size |
| 0x0B | B | Address |
| Server | 16B | IPv6 address |
| CRC | S | CRC |
|--------+------+--------------|

Response

|--------+------+-----------------|
| Value | Size | Description |
|--------+------+-----------------|
| Size | B | Response size |
| Status | B | Response status |
| CRC | S | CRC |
|--------+------+-----------------|

Secondary server address (0x0C)  

 

When the main server is not available (register 0x09), this register holds the secondary server address to which the sensor data should be reported.

Request

|--------+------+--------------|
| Value | Size | Description |
|--------+------+--------------|
| 0x02 | B | Size |
| 0x0C | B | Address |
| Server | 16B | IPv6 address |
| CRC | S | CRC |
|--------+------+--------------|

Response

|--------+------+-----------------|
| Value | Size | Description |
|--------+------+-----------------|
| Size | B | Response size |
| Status | B | Response status |
| CRC | S | CRC |
|--------+------+-----------------|

Sensor Point Description (0x10 to 0x2F)

 

This range of registers is used to provided information about a specific point like point name, access rights, data type, unit and sampling time. It is possible to use the interrupt line and status register to indicate that a reading is pending for this point. The sampling time is specified as a multiple of 250ms and points with sampling time equal to 0 should not be read in the cyclic readings.

Request

|-------+------+------------------------------|
| Value | Size | Description |
|-------+------+------------------------------|
| 0x01 | B | Size |
| Point | B | Point Address (0x10 to 0x2F) |
| CRC | S | CRC |
|-------+------+------------------------------|

Response

|----------+------+--------------------------------------|
| Value | Size | Description |
|----------+------+--------------------------------------|
| Size | B | Response size |
| Status | B | Response status |
| Name | 8B | Point name |
| | | This field may be filled with (0x00) |
| Type | B | Point type |
| Unit | B | Point unit |
| Rights | B | Access rights |
| Sampling | L | Sampling time (x 250ms) |
| CRC | S | CRC |
|----------+------+--------------------------------------|

Read Sensor Point (0x30 to 0x4F)

 

Read the current value for some sensor point. Point description is used to determine the access rights to the point.

Request 

|-------+------+------------------------------|
| Value | Size | Description |
|-------+------+------------------------------|
| 0x01 | B | Size |
| Point | B | Point Address (0x30 to 0x4F) |
| CRC | S | CRC |
|-------+------+------------------------------|

Response

|--------+------+------------------------------------------|
| Value | Size | Description |
|--------+------+------------------------------------------|
| Size | B | Response size |
| Status | B | Response status |
| Value | - | Point value (size depends on point type) |
| CRC | S | CRC |
|--------+------+------------------------------------------|

Read/Write Sensor Point (0x50 to 0x6F)

Write the current value for some sensor point. Point description is used to determine the access rights to the point.

Request

|-------+------+------------------------------------------|
| Value | Size | Description |
|-------+------+------------------------------------------|
| 0x01 | B | Size |
| Point | B | Point Address (0x50 to 0x6F) |
| Value | - | Point value (size depends on point type) |
| CRC | S | CRC |
|-------+------+------------------------------------------|

Response

...

ValueSizeDescription
0x11BSize
0x0BBAddress
IPv616BIPv6 server address
CRC2BCRC


Response

ValueSizeDescription
0x02BSize
0x0BBAddress
StatusBResponse status
CRC2BCRC

Secondary server address (0x0C)  

 

When the main server is not available (register 0x09), this register holds the secondary server address to which the sensor data should be reported.


Request

ValueSizeDescription
0x11BSize
0x0CBAddress
IPv616BIPv6 server address
CRC2BCRC


Response

ValueSizeDescription
0x02BSize
0x0CBAddress
StatusBResponse status
CRC2BCRC

Sensor Point Description (0x10 to 0x2F)

 

This range of registers is used to provided information about a specific point like point name, access rights, data type, unit and sampling time. It is possible to use the interrupt line and status register to indicate that a reading is pending for this point. The sampling time is specified as a multiple of 250ms and points with sampling time equal to 0 should not be read in the cyclic readings.


Request

ValueSizeDescription
0x01BSize
PointBPoint address (0x10 to 0x2F)
CRCSCRC

 

Response

ValueSizeDescription
0x02BSize
PointBPoint address (0x10 to 0x2F)
StatusBResponse status
Name8BPoint name. This field may be filled with (0x00)
TypeBPoint type
UnitBPoint unit
RightsBAccess rights
SamplingLSampling time (x 250ms)
CRC2BCRC

Read Sensor Point (0x30 to 0x4F)

 

Read the current value for some sensor point. Point description is used to determine the access rights to the point.


Request 

ValueSizeDescription
0x01BSize
PointBPoint address (0x30 to 0x4F)
CRCSCRC

 

Response

ValueSizeDescription
SizeBSize
PointBPoint address (0x30 to 0x4F)
StatusBResponse status
Value-Point value (size depends on point type)
CRC2BCRC


Read/Write Sensor Point (0x50 to 0x6F)

Write the current value for some sensor point. Point description is used to determine the access rights to the point.


Request

ValueSizeDescription
0x02BSize
PointBPoint address (0x50 to 0x6F)
Value-Point value (size depends on point type)
CRC2BCRC

 

Response

ValueSizeDescription
0x02BSize
PointBPoint address (0x50 to 0x6F)
StatusBResponse status
CRC2BCRC


Appendix: Tables

Data Types

...