GSM/CDMA/WCDMA/4G(LTE) MOIP Gateway
YX Technical department
~ 53 ~
The screenshot above shows the operation buttons. Button Save is used to save all the
modifications while button reboot is used to save modifications first and then reboot device
immediately.
10 Http API command
10.1 SMS
10.1.1 HTTP Send URL
http://host:port/goip_send_sms.html?port=1&username=root&password=root&charset=utf8&reci
(Click on the link above or fill in this url in the browser, or send through the java program.)
host:port: MOIP ip address, if have set port ,please add it(default 80)
port: specify which port send the sms out
,
if don't have this option, it will random choose 1 port.
username: device username
password: device password
charset: the sms content code
。
utf8, gb2312 available
,
default is utf8
receiptients: the sms receiver
,
separate with ";" if send multiple receiver
sms: the sms contents.
10.1.2 HTTP Receive URL
http://host:port/goip_get_sms.html?username=root&password=root&sms_id=xxx&sms_num=xxx
sms_id
:
From which SMS began to receive
(
default 1
,
it mean Device receive the first SMS start
)
sms_num
:
receive SMS amount (default 0 ,it mean receive all SMS
)
For received SMS:
To report: "code SCTS," code of 0 indicates success arrived, utf-8
Ordinary message: utf-8 BASE64 encoding
10.2 USSD
10.2.1 HTTP Send URL