Hello everyone,
I’m trying to send SMS over GPRS using HL6528RD and Hilo Modems. It sounds possible according to AT commands interface guide and to this post : RESET_IN_N doesn't work for HL8518 BUT I didn’t manage to make it work. I did many tests but the most interesting one are the following:
1- using a SIM card from matooma/KPN operator that has just GPRS support.
I’m sending SMS in text mode (AT+CMGF=1).
I’m telling the modem (HL6528RD) to use Packet Domain using AT+CGSMS=0
I’m definining a PDP context : AT+CGDCONT=1,“IP”,“matooma.m2m”
I’m dialling up to have a data connection: ATD*99
GPRS connection is fine but when I try to send an SMS I have the following error : +CMS ERROR: 8 (Operator determined Barring).
Here after the detailed logs :SMSviaGPRS_CGSMS=0_matooma_V4DIN-IP_NOK.txt (16.6 KB)
2- using a SIM card from free operator that has both GSM and GPRS support.
I’m sending SMS in text mode (AT+CMGF=1).
I’m telling the modem (Hilo) to use Packet Domain using AT+CGSMS=0 (not using GSM)
I’m definining a PDP context : AT+CGDCONT=1,“IP”,“free”
I’m dialling up to have a data connection: ATD*99
GPRS connection is fine but when I try to send an SMS I have the following error : +CMS ERROR: 69 (Requested facility not implemented).
Here after the detailed logs : SMSviaGPRS_CGSMS=0_free_V4_NOK.txt (20.9 KB)
To make SMS over GPRS work, please make sure AT+CGATT? returns 1.
No need PPP dial up connecction. For example:
ATI3
RHL6528RD.2.5.1.1.11CV10F49_P1.201808201245.m6261a_1
OK
AT+CREG?
+CREG: 2,1,“247C”,“1448”,0
OK
AT+CGATT?
+CGATT: 1
OK
AT+CGPADDR=1
+CGPADDR: 1,“0.0.0.0”
OK
AT+CMGF=1
OK
////
AT+CGSMS=1 //CS only
OK
AT+CMGS=“13510666xxx”
hello
+CMGS: 8
OK
////
AT+CGSMS=0 //PS only
OK
AT+CMGS=“13510666xxx”
hello
+CMGS: 9
OK
////
AT+CGATT=0
OK
AT+CGATT?
+CGATT: 0
OK
////
AT+CMGF=1
OK
AT+CGSMS=1 //CS only
OK
AT+CMGS=“13510666xxx”
hello
+CMGS: 10
OK
////
AT+CGSMS=0//PS only
OK
AT+CMGS=“13510666xxx”
hello
ERROR
////
You are using the roaming SIM in “Orange F” and “F SFR”, both operator forbid to send SMS using GPRS. The error code could be different in different network. In your log:
+CMS ERROR: 69 //Requested facility not implemented //“Orange F”
+CMS ERROR: 97 //Message type non-existent or not implemented //“F SFR”
While in my side with a roaming SIM. I got
AT+CMGS=“xxxxxxxxx”
AAAA
+CMS ERROR: 38 //Network out of order
I suggest you try first with a SIM with home network.