Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
madejackson committed Jul 18, 2024
1 parent b95e122 commit c726a04
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions servapps/mbusd/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
{
"cosmos-installer": {
"form": [
{
"form": [
{
"name": "baudrate",
"label": "Baudrate",
"initialValue": "/dev/ttyACM2",
"type": "select",
"options": [
["/dev/ttyACM0", "/dev/ttyACM0 Serialport 0 (Coprocessor)"],
["/dev/ttyACM1", "/dev/ttyACM1 Serialport 1 (KNX, RS485 or RS232)"],
["/dev/ttyACM2", "/dev/ttyACM2 Serialport 2 (RS485 or RS232)"],
["/dev/ttyACM3", "/dev/ttyACM3 Serialport 3 (RS485 or RS232)"]
]
},
{
"name": "baudrate",
"label": "Baudrate",
"initialValue": "9600",
Expand Down Expand Up @@ -58,7 +70,7 @@
},
"entrypoint": "/usr/bin/mbusd -S -d -L - -p /dev/ttyS0 -s {Context.baudrate} -m {Context.mode}",
"devices": [
"/dev/ttyACM0:/dev/ttyS0:rwm"
"{Context.serialPort}:/dev/ttyS0:rwm"
],
"volumes": [
{
Expand Down

0 comments on commit c726a04

Please sign in to comment.