Seite 1 von 1
Sony Mobile(K750) sms Sending and Recieving Application
Verfasst: Sa 21. Aug 2010, 05:37
von venkat_330
ppl & FJ
i know its stupid to ask you...but now i am in a forced condition to ask this,,,
I am a newbie and am trying to develop a SMS sending and recieving utility and i dont know where to start thought u ppl might give a good start .
Regards
Venakt.S
Verfasst: Sa 21. Aug 2010, 06:11
von FJ
- use HyperTerminal for your first tests
- take a look at the "SonyEricsson AT Commands Refrence"
- look forward you you can create a serial connection with your IDE
Verfasst: Mo 23. Aug 2010, 16:54
von venkat_330
HI Fj
Thanks for your suggestion
as first level i ve established connection through HYPERTERMINAL
and now i read all the messages through ( AT+CMGL=4) command
and it returns
AT+CMGL=4
+CMGL: 1,1,,21
0791198914404464240C9119891422869600000180321230902202E834
+CMGL: 2,1,,20
0791198914404464240C911989142286960000018032129082220161
+CMGL: 3,1,,20
0791198914404464240C911989142286960000018032125193220161
+CMGL: 4,0,,20
0791198914404464240C911989142286960000018032126152220162
So how to decode it now need your help...
Regards
Venkat.S
Verfasst: Mo 23. Aug 2010, 17:37
von venkat_330
0791198914404464240C9119891422869600000180321230902202E834
When i tried to Decode the string (is this correct and how to manipulate )
Require your suggestion on this FJ,,,,,
?? = 07
Msg cntr number = 91198914404464
?? = 240C
Sender MOB NUmber = 91198914228696
?? = 000001803212309022
Length = 02
Content = E834
Regards
Venkat.S
Verfasst: Mo 23. Aug 2010, 18:32
von FJ
Google for "dreamfabric sms"
Verfasst: Mo 23. Aug 2010, 20:24
von FJ
Which programming language do you use ?
Verfasst: Di 24. Aug 2010, 12:22
von venkat_330
Not Yet Decided requesting your suggesion whichever is easy ill go with that...
probably go with MPE lang one so that i can be guided well..
Currently i decoded the message content with the help of dreamfabric
and through HYPERTERMINAL i am able to recieve and Send Message
Regards
Venkat.S
Verfasst: Fr 27. Aug 2010, 14:32
von venkat_330
Hi FJ
I ve Started Using C# for the development and this is my first IDE based trial and is C# fine for development
Regards
Venkat.S
Verfasst: Fr 27. Aug 2010, 18:48
von FJ
OK, i have some old VB6 code, but i'm sure there exists also some samples for PDU-encoding for C# in the www.
Verfasst: So 29. Aug 2010, 16:39
von venkat_330
IOCTL_SERIAL_SET_LINE_CONTROL StopBits: 1 Parity: NONE WordLength: 8
IOCTL_SERIAL_SET_CHAR EOF:0 ERR:0 BRK:0 EVT:0 XON:0 XOFF:0
IOCTL_SERIAL_SET_HANDFLOW Shake:1 Replace:40 XonLimit:0 XoffLimit:0
IOCTL_SERIAL_SET_QUEUE_SIZE InSize: 16384 OutSize: 16384
IOCTL_SERIAL_SET_QUEUE_SIZE InSize: 16384 OutSize: 16384
IOCTL_SERIAL_SET_WAIT_MASK Mask: RXCHAR
IOCTL_SERIAL_SET_TIMEOUTS RI:20 RM:10 RC:2000 WM:10 WC:200
i am trying to set the same am using C# can u guide me where all to set these values
Verfasst: So 29. Aug 2010, 16:43
von user_deleted
Sorry, FJ is on holiday until end of next week.
br...
Verfasst: So 29. Aug 2010, 16:49
von venkat_330
Oh MY GOD...
Verfasst: So 5. Sep 2010, 15:27
von FJ
Its strongly recommened to use a existing library for serial communication. If you want to do it with plain API check out this ones:
CreateFile
ReadFile
WriteFile
CloseHandle
SetupComm
SetCommTimeouts
PurgeComm
WaitCommEvent
SetCommMask
SetCommState
BuildCommDCBA
Verfasst: Fr 8. Okt 2010, 10:09
von venkat_330
hey sorry for the very late responce...
i was held up with my office work,,, just now started the project again do you some reference link where i can tweak in and complete my report
that would be greatful///
Regards
Venkat.S
Verfasst: Sa 9. Okt 2010, 10:59
von FJ
the functions i posted are standard Win-API functions. You have the refrence on MSDN. But i still prefer that you use a existing library for serial communication. This is much easier to handle
Verfasst: Mi 13. Okt 2010, 04:55
von venkat_330
Thats True...
I ve some how managed to send SMS's from C# interface and now interfacing it with MS access database to send Group SMS ..
Thanks for all your support ..
Hope will cross all the hic ups sooon.............
Thanks & Regards
Venakt.S