- 0 Talk
-
Experiments on GSM/GPRS/HSDPA modem
Contents |
Modeswitch and init commands for ZTE MF626
Edit
AT+ZOPRT=5 (TODO: is this really required?) ATZ+CPIN=<PIN> AT+ZCDRUN=8 AT+ZCDRUN=9 (to bring back the ISO file system)
I can't get usb_modeswitch to work; however, eject /dev/sr1 does the trick.
Port Settings
Edit
Speed: 115200 Data bits: 8 Parity: None Stop bits: 1 Flow Control: None
Notes
Edit
Once the modem has been initialized, it will start sending a stream of +ZUSIMR:2 messages. It means that it doesn't know where to store the messages. To solve this, issue the following commands to store it at the SIM card:
AT+CPBS="SM" AT+CPMS="SM","SM","SM"
Sending SMS
Edit
AT OK AT+CMGF=1 OK AT+CMGW="+639191234567" > Hello world! +CMGW: 1 OK AT+CMSS=1 +CMSS: 20 OK
Scanning for Available Networks
Edit
AT+COPS=? +COPS: (1,"Smart Communications Inc.","SMART","51503",0),(2,"","","51503",2),(3,"Digital Telecommunications Phils,Inc","PH DIGITEL","51505",0),(3,"","","51502",2),(3,"Globe Telecom,GMCR Inc.","GLOBE","51502",0), OK
TODO
Edit
- How to monitor signal strength?
- AT+CSQ
- How to read/write phonebook entries?
- AT+CPBS
- How to read/write/delete SMS messages from SIM card?
- AT+CMGR, AT+CMGL, AT+CMGD
- How to determine the SIM card's available storage space?
- AT+CPMS