huawei_mu609_send_sms
Huawei MU609 - send SMS using AT commands
Documentation
Read the following documentation for more information:
- Huawei MU609 miniPCIe Hardware guide.
- Huawei MU609 miniPCIe AT command spec.
- Huawei MU609 miniPCIe Application guide.
- ttyUSB0: MODEM port: simulated using USB, for AT command interaction and establishing data connection.
- ttyUSB1: DIAG port: simulated using USB, for DIAG (diagnostic) command interaction (mainly used to debug modules at present).
- ttyUSB2: PCUI port: simulated using USB, for AT command interaction only.
- ttyUSB3: GPS NMEA port: simulated using USB, sending unsolicited indications for NMEA positioning data only.
- ttyUSB4: GPS Control port: simulated using USB, for GPS AT command interaction only.
- eth3: ECM port: for establishing communication connection.
Serial connection
- Connect to the device:
screen /dev/ttyUSB0 9600
Send SMS using AT commands
- optional: Reset the mobile terminal (MT). Wait for the MT to come back and reconnect:
at+cfun=1,1
- optional: System configuration, you need to set CS or CS_ONLY, CS = circuit switched. If you want to set up a dataconnection, configure CS_PS. PS = packet switched. If you don't include CS, you will receive an error:
+CMS ERROR: 500
.at^syscfg=2,2,3FFFFFFF,1,2
- Check if SIM is ready or needs to be unlocked:
at^cpin? at^cpin=1234
- Are we registered to the network?
AT+COPS?
- Configure message format, text mode:
at+cmgf=1
- Set text mode parameter (GSM):
at+csmp=,,,0
- Set SMS service center number:
AT+CSCA="+31653131313"
- Set Terminal Equipment (TE) character set:
at+cscs="GSM"
- Send message to number:
at+cmgs="+31612345678" <enter> text text <ctrl-z>
huawei_mu609_send_sms.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1