Sony Mobile(K750) sms Sending and Recieving Application

For user who dont speak german please use this part of my forum
Antworten
venkat_330
Beiträge: 16
Registriert: Mi 24. Mär 2010, 09:38
Wohnort: india

Sony Mobile(K750) sms Sending and Recieving Application

Beitrag 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
Ragav
FJ
Site Admin
Beiträge: 32117
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag 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
venkat_330
Beiträge: 16
Registriert: Mi 24. Mär 2010, 09:38
Wohnort: india

Beitrag 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
Ragav
venkat_330
Beiträge: 16
Registriert: Mi 24. Mär 2010, 09:38
Wohnort: india

Beitrag 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
Ragav
FJ
Site Admin
Beiträge: 32117
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

Google for "dreamfabric sms"
FJ
Site Admin
Beiträge: 32117
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

Which programming language do you use ?
venkat_330
Beiträge: 16
Registriert: Mi 24. Mär 2010, 09:38
Wohnort: india

Beitrag 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
Ragav
venkat_330
Beiträge: 16
Registriert: Mi 24. Mär 2010, 09:38
Wohnort: india

Beitrag 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
Ragav
FJ
Site Admin
Beiträge: 32117
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag 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.
venkat_330
Beiträge: 16
Registriert: Mi 24. Mär 2010, 09:38
Wohnort: india

Beitrag 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
Ragav
user_deleted

Beitrag von user_deleted »

Sorry, FJ is on holiday until end of next week.

br...
venkat_330
Beiträge: 16
Registriert: Mi 24. Mär 2010, 09:38
Wohnort: india

Beitrag von venkat_330 »

Oh MY GOD...
Ragav
FJ
Site Admin
Beiträge: 32117
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag 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
venkat_330
Beiträge: 16
Registriert: Mi 24. Mär 2010, 09:38
Wohnort: india

Beitrag 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
Ragav
FJ
Site Admin
Beiträge: 32117
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag 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
venkat_330
Beiträge: 16
Registriert: Mi 24. Mär 2010, 09:38
Wohnort: india

Beitrag 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
Ragav
Antworten