83
| SMSEagle NXS-9700-3G
| User’s Manual
<status>error</status>
</xml>
Response (when
wrong parameters
):
<xml>
<error_text>Wrong parameters</error_text>
<status>error</status>
</xml>
22.
Get GSM/3G signal strength: JSONRPC method
HTTP POST METHOD CALL:
https://url-of-smseagle/index.php/jsonrpc/sms
Parameter
Description
login
your user to login to SMSEagle
pass
your password to login to SMSEagle
modem_no
(optional parameter)
modem number to be queried (default = 1). Used only in
multimodem devices
responsetype
(optional parameter)
simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
BODY:
{"method":"signal.get_gsmsignal", "params":{"login":"john","pass":"doe"}}
RESPONSE:
Response:
{
"
result
"
: GSM/3G signal strength in percent: values between 0-100.
If 3G modem is disconnected from GSM/3G network, method returns -1 }
Sample response:
{
"
result
"
:7}
Response:
{
"
result
"
:
"
Invalid login or password
"
}
Response:
{
"
result
"
:
"
Wrong parameters
"
}
RESPONSE (EXTENDED):
Response:
{"result":{"signal_strength":[number of messages in database Sentitems
folder],"status":"ok"}}
Sample response:
{"result": {"signal_strength":"7","status":"ok"}}
Response (when wrong logindata):
{"result": {"error_text":"Invalid login or password","status":"error"}}
Содержание NXS-9700
Страница 1: ...User s Manual SMSEAGLE NXS 9700...
Страница 7: ...7 SMSEagle NXS 9700 3G User s Manual GET READY TO START I...
Страница 13: ...13 SMSEagle NXS 9700 3G User s Manual USING OF SMSEAGLE II...
Страница 145: ...145 SMSEagle NXS 9700 3G User s Manual 8 To enable v2 access policy run snmpv3 enablev2...
Страница 151: ...151 SMSEagle NXS 9700 3G User s Manual TROUBLESHOOTING I I I I I I...
Страница 155: ...155 SMSEagle NXS 9700 3G User s Manual SERVICE REPAIR IV I...
Страница 157: ...157 SMSEagle NXS 9700 3G User s Manual TECH SPECS SAFETY INFORMATION V I...