You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
2.1 KiB
JSON
100 lines
2.1 KiB
JSON
{
|
|
"dds":
|
|
{
|
|
"domain": 0
|
|
},
|
|
"mqtt":
|
|
{
|
|
"server_url": "mqtt://192.168.1.2:1883",
|
|
"client_id": "ddsmqtt_sub_pub_0",
|
|
"username": "admin",
|
|
"password": "admin",
|
|
"sub_topic": ["command"],
|
|
"sub_qos": [0],
|
|
"pub_topic": ["response"],
|
|
"pub_qos": [0]
|
|
},
|
|
"httpserver":
|
|
{
|
|
"port": 8080
|
|
},
|
|
"ioctrl":
|
|
{
|
|
"bus": "can",
|
|
"port": "can0",
|
|
"baudrate": "500000",
|
|
"device": "5serial",
|
|
"device_id": 1,
|
|
"iomap":
|
|
{
|
|
"out":
|
|
{
|
|
"frontbarrup": [1, 1],
|
|
"frontbarrdown": [2, 1],
|
|
"backbarrup": [3, 1],
|
|
"backbarrdown": [4, 1],
|
|
"frontled": [5, 1],
|
|
"backled": [6, 1]
|
|
},
|
|
"in":
|
|
{
|
|
"frontdetect": [5, 1],
|
|
"backdetect": [6, 1]
|
|
}
|
|
}
|
|
},
|
|
"led":
|
|
{
|
|
"ip": "192.168.0.199",
|
|
"port": 80,
|
|
"path": "/home/bo/project/app/dds/led/build/"
|
|
},
|
|
"print":
|
|
{
|
|
"bus": "serial",
|
|
"port": "ttyS2",
|
|
"baudrate": "9600",
|
|
"device": "NP80A"
|
|
},
|
|
"readcard":
|
|
{
|
|
"bus": "serial",
|
|
"port": "ttyS1",
|
|
"baudrate": "9600",
|
|
"device": "RC522",
|
|
"password":
|
|
[
|
|
{
|
|
"sector": 1,
|
|
"data": [1, 2, 3, 4, 5, 6]
|
|
},
|
|
{
|
|
"sector": 2,
|
|
"data": [7, 8, 9, 10, 11, 12]
|
|
},
|
|
{
|
|
"sector": 3,
|
|
"data": [13, 14, 15, 16, 17, 18]
|
|
},
|
|
{
|
|
"sector": 4,
|
|
"data": [19, 20, 21, 22, 23, 24]
|
|
},
|
|
{
|
|
"sector": 5,
|
|
"data": [25, 26, 27, 28, 29, 30]
|
|
},
|
|
{
|
|
"sector": 10,
|
|
"data": [177, 10, 35, 209, 143, 32]
|
|
}
|
|
]
|
|
},
|
|
"weigh":
|
|
{
|
|
"bus": "serial",
|
|
"port": "ttyS5",
|
|
"baudrate": "9600",
|
|
"device": "Keli"
|
|
}
|
|
} |