Raritan / Server Technology Xerus™ PDU JSON-RPC API: peripheral::GatewaySensorManager::ModbusValueEncoding8 Struct Reference

Raritan / Server Technology Xerus™ PDU JSON-RPC API

Public Attributes | List of all members
peripheral::GatewaySensorManager::ModbusValueEncoding8 Struct Reference
Inheritance diagram for peripheral::GatewaySensorManager::ModbusValueEncoding8:

## Public Attributes
boolean | byteSwap
| 16-bit modbus words should be transferred in big-endian byte order. More...
long | mask
| mask raw value before interpreting (0 = not masked, the same as 0xFFFF...)
Public Attributes inherited from peripheral::GatewaySensorManager::NumericValueEncoding
float | scalingFactor
| multiply with when interpreting as numeric value
float | offset
| add value after applying scalingFactor
Public Attributes inherited from peripheral::GatewaySensorManager::ValueEncoding
string | encodingId
| encoding type id
EncodingType | type
| value coding type
boolean | invertState
| invert when interpreting as state
vector< InterpretationRule > | interpretationRules
| error/value inerpretation rules

## Member Data Documentation

## ◆ byteSwap

boolean peripheral::GatewaySensorManager::ModbusValueEncoding8::byteSwap

16-bit modbus words should be transferred in big-endian byte order.

For modbus devices that do not comply with this, byteSwap = true must be set. Another application is to use byteSwap to address a single byte in a 16-bit modbus word in case 8-bit values are requested (ModbusValueEncoding8).

The documentation for this struct was generated from the following file:

- GatewaySensorManager.idl