![NetPing 8/PWR-220 v4/SMS Скачать руководство пользователя страница 159](http://html.mh-extra.com/html/netping/8-pwr-220-v4-sms/8-pwr-220-v4-sms_user-manual_1674597159.webp)
NetPing server room environmental monitoring solutions and IP power distribution units.
Copyright © NetPing east Co., Ltd / E-mail:
/ Phone: +886-2-23121582
[email protected] www.netpingdevice.com
[ENG] 15.8 [DKSF 48.5 IU] Control of The GSM Modem
The interface of URL-encoded commands in the device can be used to integrate with web applications without using the SNMP protocol. Via the
interface of URL-encoded commands, control of the built-in GSM modem is available.
SENDING SMS
The URL is called by the POST method. POST data is an SMS text encoded in UTF-8. You can read more about sending arbitrary SMS
messages in the section
[ENG] 12.1. [DKSF 48.5 IU] How to Find Out a USSD Balance on a SIM-card
In order to send SMS in encoding Windows 1251, you can use:
RETURN VALUES
Successful completion of the command
Error in the request text
GSM modem is busy
SIM CARD BALANCE REQUEST
where:
code request — a[code]x.For example, a100x, which means * 100 #. In the USSD code of the request, “*” is replaced by “a”, “#” is replaced by “x”
(Latin characters).
RETURN VALUES
Successful execution of the command
RECEIVING A RESPONSE TO A SIM CARD BALANCE REQUES
Call in 20 minutes after requesting SIM card balance.
RETURN VALUES
Successful execution of the command
http://192.168.0.100/sendsms.cgi?utf8
http://192.168.0.100/sendsms.cgi
smssend_result('ok');
smssend_result('error');
smssend_result('busy');
http://192.168.0.100/ussdstart.cgi?coderequest
ussdsend_result('ok');
http://192.168.0.100/ussdread.cgi