Thread
:
SMS DBUS sending Fail
View Single Post
waelfarouk0
2010-07-21 , 09:11
Posts: 64 | Thanked: 13 times | Joined on Apr 2010
#
13
Originally Posted by
SevEd
Could you show us your fixed code? I'm trying to send messages but I haven't been lucky
Thanks
The source code can found here:
http://www.extenddev.com/maemo/phonelib.h.txt
http://www.extenddev.com/maemo/gsm.h.txt
Using like this :
struct _SMS* sm;
sm = malloc(sizeof(SMS) );
memset(sm,0,sizeof(SMS));
strcpy(sm->mobile,"+20xxxxxxxxx");
strcpy(sm->message,"hellohello");
sendsms(sm);
free(sm);
Hope is useful
and helpful
Thanks
Quote & Reply
|
waelfarouk0
View Public Profile
Send a private message to waelfarouk0
Find all posts by waelfarouk0