PDA

View Full Version : PDU conversion



bizzy
- 29th October 2006, 01:32
If somebody have encode\decode function for PDU please share.
I have it in pascal but I don't know to translate that to picbasic.
Thanx

mister_e
- 30th October 2006, 05:06
try posting it here.. maybe we could do some guess.

bizzy
- 30th October 2006, 21:00
You think on pdu conversion in pascal? This is it...

bitmaniac
- 31st October 2006, 14:06
Hi!
I don't know if this is what you are looking for give my code a try....

http://www.picbasic.co.uk/forum/showthread.php?t=305

bizzy
- 31st October 2006, 16:38
Is that conversion translating into PDU only text of the SMS or converting all (with telephone number)? I saw that the code converts only text hello, but I didn't saw phone number
Thanx

bitmaniac
- 1st November 2006, 14:42
As far as I can remember (there has been a long time since I worked on this project) the phne number and /or SMS center etc are a little bit other encoding
see some infos below:

http://home.student.utwente.nl/s.p.ekkebus/portfolio/resource/sms_pdu.html

Is not so didfficult to implement this encode /decode too but for the moment my
code is doing sms text enc/dec only.

You have to encode your permanent numbers etc and use direct hex numbers
you can do this with online tools like the one above (also search google)

Have a nice day!! :)

bizzy
- 4th November 2006, 01:57
Thanx bitmaniac
Have a nice day, too. :)