Files
CodeRepository/Projects/App_S3313/Src/bin/x64/json.json

84 lines
1.5 KiB
JSON
Raw Normal View History

2026-02-01 22:23:06 +08:00
{
"mqtt": [
{
"name": "mqtt_1",
"serverIP": "localhost",
"serverPort": 1883,
"sendprotocol": "json",
"recvprotocol": "json",
"subtopic": {
"topic": ["VL/System/State", "IR/System/State", "Servo/System/State"]
},
"pubtopic": {
"topic": ["Track/System/State"]
},
"routertable": {
"name": ["com_1", "tcp_1"]
}
},
{
"name": "mqtt_2",
"serverIP": "localhost",
"serverPort": 1883,
"sendprotocol": "hex",
"recvprotocol": "hex",
"subtopic": {
"topic": ["VL/System/State", "IR/System/State", "Servo/System/State"]
},
"pubtopic": {
"topic": ["Track/System/State"]
},
"routertable": {
"name": ["com_1", "tcp_1"]
}
}
],
"com": [
{
"name": "com_1",
"portname": "com1",
"baudrate": 9600,
"databits": "8",
"parity": "0",
"stopbits": "1",
"flowcontrol": "0",
"sendprotocol": "hex",
"recvprotocol": "hex",
"routertable": {
"name": ["mqtt_1"]
}
}
],
"tcp": [
{
"name": "tcp_1",
"localaddr": "localhost",
"localport": 45533,
"remoteaddr": "192.168.1.15",
"remoteport": 45534,
"keeplive": 2,
"times": 10,
"sendprotocol": "hex",
"recvprotocol": "hex",
"routertable": {
"name": ["mqtt_1"]
}
},
],
"udp": [
{
"name": "udp_1",
"localaddr": "localhost",
"localport": 45533,
"remoteaddr": "192.168.1.15",
"remoteport": 45534,
"keeplive": 2,
"times": 10,
"sendprotocol": "hex",
"recvprotocol": "hex",
"routertable": {
"name": ["mqtt_1"]
}
}
]
}