If you’re passing multiple parameters (e.g.: -S, -t, etc.) - I believe the following needs to be used:
{
"command": "gsmctl",
"params": ["-S", "-t"]
}
Essentially, we’re treating -S and -t separately; therefore, we put them under separate quotes, divided by the comma.
Sames goes with the SMS, -S and -s together are treated as a single argument. For example, the gsmctl command would look like so: gsmctl -S -s <number> <message>