Eng] 15.8 [Dksf 48.5 Iu] Control Of The Gsm Modem - NetPing 8/PWR-220 v4/SMS User Manual

Hide thumbs Also See for 8/PWR-220 v4/SMS:
Table of Contents

Advertisement

NetPing server room environmental monitoring solutions and IP power distribution units.

[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
http://192.168.0.100/sendsms.cgi?utf8
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:
http://192.168.0.100/sendsms.cgi
RETURN VALUES
Successful completion of the command
smssend_result('ok');
Error in the request text
smssend_result('error');
GSM modem is busy
smssend_result('busy');
SIM CARD BALANCE REQUEST
http://192.168.0.100/ussdstart.cgi?coderequest
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
ussdsend_result('ok');
RECEIVING A RESPONSE TO A SIM CARD BALANCE REQUES
http://192.168.0.100/ussdread.cgi
Call in 20 minutes after requesting SIM card balance.
RETURN VALUES
Successful execution of the command
Copyright © NetPing east Co., Ltd / E-mail:
support@netpingdevice.com www.netpingdevice.com
/
/ Phone: +886-2-23121582

Advertisement

Table of Contents
loading

Table of Contents