Data types
- Last UpdatedJul 08, 2025
- 1 minute read
- PI System
- Adapter for MQTT 1.4
- Adapters
The following sections list both MQTT generic and MQTT Sparkplug B data types and their respective stream data types.
MQTT data types
The following table lists MQTT variable types that the adapter collects data from and the types of streams that will be created.
|
MQTT data type |
Stream data type |
|---|---|
|
Int16 |
Int16 |
|
Int32 |
Int32 |
|
Int64 |
Int64 |
|
UInt16 |
UInt16 |
|
UInt32 |
UInt32 |
|
UInt64 |
UInt64 |
|
Float32 |
Float32 |
|
Float64 |
Float64 |
|
Boolean |
Boolean |
|
String |
String |
|
Date-Time |
Date-Time |
The following table lists MQTT complex types that the adapter collects data from and the type of streams that will be created.
|
MQTT complex type |
Stream data type |
|---|---|
|
Geolocation |
Float32 |
|
Coordinates |
Float32 |
MQTT Sparkplug B data types
The following table lists MQTT Sparkplug B variable types that the adapter collects data from and the types of streams that will be created.
|
MQTT Sparkplug B data type |
Stream data type |
|---|---|
|
Int8 |
Int8 |
|
Int16 |
Int16 |
|
Int32 |
Int32 |
|
Int64 |
Int64 |
|
UInt8 |
UInt8 |
|
UInt16 |
UInt16 |
|
UInt32 |
UInt32 |
|
UInt64 |
UInt64 |
|
Float |
Float32 |
|
Double |
Float64 |
|
Boolean |
Boolean |
|
String |
String |
|
DateTime |
UInt64 |
|
Text |
String |