If you’re interested in the capabilities of a particular device, I have assembled a list of all the UAProf URLs from the WURFL database:
To give you a feel of the kind of information you’ll find in a UAProf file I include an example. It is fascinating how much information is available.
Here is the UAProf file for a T-Mobile Dash:
When you’re sending plain text SMS messages to a mobile device you don’t have to worry too much about whether the device can display it correctly. Plain text SMS messages are the lowest common denominator of mobile messaging.
When you want to send more complicated messages, like:
- EMS messages
- Pictures messages (or MMS messages)
You’ll need to know more about the device you’re sending to. There are many possible formats and even when you know which format to use you’ll need to worry about sizes, capacity, supported characters sets and more.
This problem can be addressed in different ways. Read More…
PDU mode is a lot more interesting than text mode. There are all kinds of things that can be done with SMS messages, all leveraging special formatting that is only available if you use PDU mode:
- Send flash SMS messages
- Send a bookmark
- Configure the phone
- Send EMS messages
- Send a WAP push
- Send ringtones and wallpapers
- Set or remove the voicemail waiting indicator
The formatting of these PDU’s is a little more complicated and requires some bit manipulations that are hard to do by hand.
The GSM modem is put into PDU mode with the command ‘AT+CMGF=0’. Once in PDU mode a PDU can be sent using the ‘AT+CMGS’ command:
As explained in a prevous post in this series, a GSM modem can let you send SMS messages from a PC. There are two basic ways to do this: text mode and PDU mode.
You can play around with your GSM modem using a terminal program like HyperTerminal (which came with Windows XP, but is no longer there in Windows Vista). The commands I mention can just be entered in the terminal window when connected to the modem. You can try the following basic commands, any modem should support these:
|ATI||Returns general modem identification|
|ATD<phone number>||Dials the phone number you supplied (don’t enter the <> brackets)|
|ATH||Hang-up the phone (useful after the previous command).|
The following commands are specific for GSM modems. If you get an error response (e.g. ‘+ERR’), your modem probably isn’t a GSM modem or it doesn’t support the extensions specific for GSM modems. Read More…
Sending an SMS from a PC to a GSM phone can be done in many ways.
The first method I discuss requires a GSM phone attached to your PC.
The GSM phone (or GMS card) can be connected to your PC in different ways; using BlueTooth, infrared (IrDA) or a serial cable. The way the phone is connected is irrelevant, what counts is that the GSM is available as a modem. On windows PCs this means that it will be available as a TAPI modem.
Programs make modems do things by sending them so called AT commands. E.g.
ATD5551234 makes the modem dial a connection to the number 5551234.
ATA makes the modem answer an incoming call. All your modem’s features are available using commands like these.
Welcome to Mobile Tidings, a blog about internet protocols, mobile technologies and everything in between.