mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-15 17:51:15 +00:00
updated README with correct values for new command type
This commit is contained in:
parent
8dea13b850
commit
dbd38e5c7b
2 changed files with 4 additions and 4 deletions
|
@ -169,7 +169,7 @@ Example JSON for pasting a message of type command into the `inmsg.txt` file
|
|||
|
||||
"toNode": "ship1",
|
||||
"data": ["bash","-c","ls -l ../"],
|
||||
"commandOrEvent":"command",
|
||||
"commandOrEvent":"commandACK",
|
||||
"method":"shellCommand"
|
||||
|
||||
}
|
||||
|
@ -184,7 +184,7 @@ To send specify more messages at once do
|
|||
|
||||
"toNode": "ship1",
|
||||
"data": ["bash","-c","ls -l ../"],
|
||||
"commandOrEvent":"command",
|
||||
"commandOrEvent":"commandACK",
|
||||
"method":"shellCommand"
|
||||
|
||||
},
|
||||
|
@ -193,7 +193,7 @@ To send specify more messages at once do
|
|||
"toNode": "ship2",
|
||||
"data": ["bash","-c","ls -l ../"],
|
||||
"commandOrEvent":"command",
|
||||
"method":"shellCommand"
|
||||
"method":"shellCommandACK"
|
||||
|
||||
}
|
||||
]
|
||||
|
@ -212,7 +212,7 @@ The content of `inmsg.txt` will be erased as messages a processed.
|
|||
{
|
||||
"toNode": "central",
|
||||
"data": ["some message sent from a ship for testing\n"],
|
||||
"commandOrEvent":"event",
|
||||
"commandOrEvent":"eventACK",
|
||||
"method":"textLogging"
|
||||
}
|
||||
]
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue