Solved

Sending a Chinese SMS using PDU mode

Posted on 2001-09-17
4
1,239 Views
Last Modified: 2007-12-19
Can anyone give me an example on how to send a chinese SMS using PDU mode (AT Command set)??

Thanks
0
Comment
Question by:boonhui78
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Accepted Solution

by:
kwyshell earned 80 total points
ID: 7432891
I think to send Chinese SMS using PDU mode you need to use Unicode encoding for PDU format. PDU format is simpler for Unicode (16Bits) Encoding. Because you don't have to perform a 7bit compressing and decompressing. All you have to do is to swap hign and low byte.

To send SMS in pdu format, you need parse your sms into two parts of PDU. One is header for PDU to saved your phone information. Another is content of SMS.

For unicode format,

Kwyshell SMS
[Receive Format]
  +-----------Data Length (AT+CMGS= 22)---------------------------------------------------+
  |  +- Add Len --+        +- Add Len --+                                                 |
  |  |            |        |            |                                                 |
07|91|889653704434|04|0C|91|889622892190|00|08|10309022541423|80|591C76E16597661F5E0C00209B
|  |  |            |  |  |  |            |  |  |              |  |
|  |  |            |  |  |  |            |  |  |              |  +------------------ TP-DATA
|  |  |            |  |  |  |            |  |  |              +--------------------- TP-UDL
|  |  |            |  |  |  |            |  |  +------------------------------------ TP-SCTS Time Stamp
|  |  |            |  |  |  |            |  +--------------------------------------- TP-DCS. Data coding scheme
|  |  |            |  |  |  |            +------------------------------------------ TP-PID
|  |  |            |  |  |  +------------------------------------------------------- Delivering Address
|  |  |            |  |  +---------------------------------------------------------- Type of deliver Address
|  |  |            |  +------------------------------------------------------------- Length of deliver Address
|  |  |            +---------------------------------------------------------------- SMS_DELIVER = 8
|  |  +----------------------------------------------------------------------------- Service Center Address
|  +-------------------------------------------------------------------------------- Type of Address
+----------------------------------------------------------------------------------- SMSC Message Length
*/

You must fellow the GSM_03.38 to encode this header and encode the content bytes in BigEnd.

The AT command sequences: (I have tried on Nokia and Erisson's phone)

// Reset modem
> ATZ<CR>
< OK
// Turn off echo
> ATE0<CR>
< OK
// Using PDU format
> AT+CMGF=0<CR>
< OK
// Set PDU length
> AT+CMGS=<SMS_LEN>
< <
// After get '<' you can start to write pdu content
> <SMS_PDU_DATA>
// Write a ending character
>< CTRL+Z>
< OK

Finish!
Kwyshell
http://home.kimo.com.tw/kwyshell/
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today sees the launch of a new case study, focusing on BYOD technologies we have been working with for some time now.  But with the advent of 802.11ac wireless technologies and the story behind our landmark developments, we would like to share this …
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question