PduEncoder Library on the Playground

For those who want to play with sending SMS, I wrote a small library which encode your message into PDU format.
I released this on the playground.
you can find it at Arduino Playground - InterfacingWithHardware in the GSM/GPRS section.

Hi -
I'm working on an older Siemens phone (S35) and got it connected to my arduino without any problems.
There is no problem to send AT commands and receive the responses from the phone.
I did try to use your library for sending SMS texts, but unfortunately as soon I want to compile it, it comes up with a lot of errors.
I'm using a Arduino Nano V3 and the Arduino version 1.0. Even Arduino-0023 won't compile it.
I did copy the directory in to the library directory and tryed to get the example going.
Has had anyone else the same problem and was able to solve this?
I aapeciate any hint about, what I may do wrong.

Regards,
EWo

I did find several posts about sending SMS with GSM phones here.
Unfortunately I was up to know unable to find anything, which would realy work.
I'm looking for something which can encode and send a pdu encoded message and as well read and decode one.

I hope, someone can help me out with that.

EWo

Hello,
I have been able to compile this on Arduino 1.0 (you need to change the references in the .cpp and .h files from Wprogram.h to Arduino.h) and Arduino 0.23 however I am getting mixed results.

Arduino 1.0 prints to the serial the length and PDU, however the PDU always contains non printable characters (the first 4 hex characters are fine, but the remainder of the string is not usable). When compiling in Arduino 0.23, nothing is displayed on the serial when running the code.

I would really like to see this library as usable, can you assist moustic?