I'm using JSON-RPC to make an HTTP request to the RUT950. The request I'm making asks the router to scan for network operators and return them, which takes about 20 seconds when done in putty. The command is "gsmctl -A AT+COPS=?", in JSON-RPC I have written this as:
{
"jsonrpc": "2.0", "id": 1, "method": "call", "params": [
"<session ID here>", "file", "exec",
{
"command":"gsmctl",
"params": [
"-A",
"AT+COPS=?",
]
}
]
}
When testing this request in postman it always loads for exactly 9 seconds before returning the following:
{"jsonrpc":"2.0","id":1,"result":[7]}
The client is set to never time out so my assumption is that the RUT950 is set to timeout after 9 seconds, does anyone know how to increase this?