Hi,
Use this to stop and start the modem:
"jsonrpc": "2.0", "id": 1, "method": "call", "params":
[
"yourSessionID", "file", "exec",
{
"command":"/etc/init.d/modem",
"params":
[
"start"
]
}
]
}
Instead of start, use stop to stop the modem.
And use to view the connection state:
{
"jsonrpc": "2.0", "id": 1, "method": "call", "params":
[
"yourSessionID", "file", "exec",
{
"command":"gsmctl",
"params":
[
"-j"
]
}
]
}