Page
63
Sample response:
<xml>
<signal_strength>74</signal_strength>
<status>ok</status>
</xml>
Response (when wrong logindata):
<xml>
<error_text>Invalid login or password</error_text>
<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:
Содержание NPE-9300-GPRS/3G
Страница 1: ...Page 1...
Страница 6: ...Page 6 1 GET READY TO START...
Страница 13: ...Page 13 2 USING OF SMSEAGLE...
Страница 35: ...Page 35 Screenshot from digital output Add or edit rule window...
Страница 99: ...Page 99 3 TROUBLESHOOTING...
Страница 102: ...Page 102 4 SERVICE AND REPAIR...
Страница 104: ...Page 104 5 TECH SPECS AND SAFETY INFORMATION...