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.

89 lines
1.8 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": "gpio",
"device": "gpio",
"iomap": {
"out": {
"frontbarrup": [48, 0],
"frontbardown": [49, 0]
},
"in": {
"frontdetect": [5, 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"
}
}