Archive for December 14th, 2008

Select the correct GSM band – AT#BND

December 14, 2008

I just got my second Telit GSM862 Quad module and I could not get it to work. I could use various AT commands to find out various configurations of the system, but I could not send an SMS message or make a call. Well after going though the entire AT command manual and comparing the configuration of my first module versus the second module, I found out that the reason my new module was not working was that it was factory set to use band 0 (900MHz + DCS 1800MHz) instead of band 1 (900MHz + PCS 1900MHz), after setting the module to use band 1 — AT#BND=1 — the module starting working fine. Clearly, band 1 is the correct setting for US.

But why didn’t the module automatically pick the correct band? After all there is the AT#AUTOBND=1 command that is suppose to pick the correct band. The factory default is to disable automatic band selection. I suspect that the automatic selection consume more power and that is the reason why it is by default turned off.

Basic AT Commands for SMS

December 14, 2008
The list of AT commands is long, but there is basic set that I’m finding that I need to constantly refer to for testing, so here they are for ease of reference:

 

AT COMMAND
AT Echo OK means that you can connect to the device.

 

MODEL & CONFIGURATIONS
AT+CGMI Read manufacturer information
AT+CGMM Read model information
AT+CGMR Read software version
AT+CGSN Read serial number
AT&V Display base configuration
AT&V2 Display last connection statistics
AT#MONI Display neighboring cell information

BASIC SMS COMMANDS
AT+CMGF=1 Set SMS message format to text
AT+CMGS=“+14081234567″<CR>Hello, World.<Ctrl+z> Send SMS message
AT+CMGL=? List all messages. Depending on the CMGF settings (text or PDU), the argument to this command is a number from 0 to 4 or an enum. The ? parameter will inform you which one you’ll need to pass. Make it easier on yourself and set CMGF to text.
AT+CMGD=? Delete messages from memory.

DIAL A NUMBER
ATD +14081234567; Dial the given number. “;” is essential since it means make a voice call.


Follow

Get every new post delivered to your Inbox.