Files
softbus_daemon/config/device_profiles.json
flower_linux 28b5082742 modbus rtu
2026-04-03 16:23:56 +08:00

37 lines
870 B
JSON

{
"profiles": [
{
"deviceId": "*",
"protocol": "modbus_rtu",
"mappings": [
{
"pointId": "temperature",
"metadataId": "MD_TEMP_001",
"registerAddress": 40001,
"byteOffset": 0,
"byteLength": 4,
"bitOffset": -1,
"endianness": "BIG_ENDIAN",
"rawType": "INT32",
"scaleFactor": 1.0,
"offsetFactor": 0.0,
"expression": "x * 0.1"
},
{
"pointId": "pressure",
"metadataId": "MD_PRESS_001",
"registerAddress": 40003,
"byteOffset": 4,
"byteLength": 4,
"bitOffset": -1,
"endianness": "BIG_ENDIAN",
"rawType": "INT32",
"scaleFactor": 1.0,
"offsetFactor": 0.0,
"expression": "x * 0.001"
}
]
}
]
}