View Single Post
Posts: 14 | Thanked: 18 times | Joined on Dec 2009
#21
Originally Posted by pende View Post
Thanks for your reply, I tried it but with no success. Where should I put phone number and message?
Hi Pende,

In test.py, there is ths line:
arr = dbus.Array(smsutil.createPDUmessage('31201516','Th is'))
replace the first argument with the receiver's number and the second argument with your message.

Note: I hope the length of your phone number is 'even' otherwise it will not work because the code in smsutil.py expects the length of the number to be even and not odd. If length is odd, then you might have to change smsutil.py a bit. Also check http://www.dreamfabric.com/sms/ for an explanation on the phone number.

regards,
shaun

Last edited by shaunramos; 2009-12-29 at 01:08.