Encoding Ascii --> Gsm Alphabet

Encoding Ascii --> Gsm Alphabet SearchSearch
Author Message
rousseau gregory
New member
Username: Gregos

Post Number: 2
Registered: 05-2004
Posted on Thursday, May 06, 2004 - 10:09 am:   

Hi everybody,

i'm currently developing a little application which simply send sms to diferent users.
In order to send concatenated sms, I use the PDU mode(I use a modem siemens MC35i). And so, i have to encode character strings to gsm alphabet, but i'm quite confused with the manner to do it.
My question is the following: do i have to program all the sequence that encode the string, by moving bits. Or does it exist programs which could do the work for me?!...
In the case of that i have to do it, can i find algoritm? Because it seems to be very difficult to realize this encoding..

Thanks a lot..
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2545
Registered: 10-2002
Posted on Friday, May 07, 2004 - 09:52 pm:   

Maybe someone else has some idea of public domain routines to perform this encoding.

It's really not that difficult of an algorithm ... there is just a lot of bit shifting. Unfortunately, I do not have any code that I can share.

You could always try to dig through the Kannel source code ... I believe it uses PDU mode when sending SMS over a GSM modem.
rousseau gregory
New member
Username: Gregos

Post Number: 3
Registered: 05-2004
Posted on Wednesday, May 12, 2004 - 12:34 pm:   

It's Ok now, i've done it. Indeed, it's a LOT of bit shifting but now, it works and it's the most important!..

Many thanks..

Greg
Sasko Celakovski
Unregistered guest
Posted on Monday, May 24, 2004 - 09:26 am:   

Hi,

Greg, can you please let me know where I can find a GSM coding routine in C. I need to do some test and it will be much faster to use existing code than to write it from scracth..

Thanks,
Sasko
Sarfaraz Merchant
Unregistered guest
Posted on Saturday, August 14, 2004 - 02:19 pm:   

Hi rousseau gregory
I even i am trying the same to convert PDU to ASCII and back. Since you said that you have successfully done it can you mail me your algorithm. I will be highly greatful to you.
Thanx & Bye
prakma
Unregistered guest
Posted on Monday, February 28, 2005 - 07:18 am:   

Hi Rousseau Gregory,

I am actually trying to work on PDU to text conversion and back. Grateful if you could please post me the code you have done. My email is sur_boycht04@yahoo.com.

Thank you.