How to use comm api with GSM Device?

I Tty to create apps like sending and receving (SMS, Fax, Mail etc..) with a GSM Device.My Problem...How can i send at_command to the Gsm device using comm api? you help is very appreciatedthanksgebi
[255 byte] By [dergebi] at [2007-9-27 1:55:31]
# 1

Yes I want the same thing

My email is gmunteanu@hotmail.com

I have begun with a cellphone connected to my PC by cable

(RS232).

Now I begin to program, capture stream with jmf i think

I am still learning.

If you want to collaborate, send me an email

Gabi

> I Tty to create apps like sending and receving (SMS,

> Fax, Mail etc..) with a GSM Device.

> My Problem...

>

> How can i send at_command to the Gsm

> mand to the Gsm device using comm api?

> you help is very appreciated

>

> thanks

> gebi

gmunteanu at 2007-7-4 20:34:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Look at the COMM API examples. You use the GSM modem the same way you use any other Serial Device:

- Open the port handle

- Write a 'Send' function to write AT Commands to the port

- Write a receive function that gets called whenver a 'DATA READY' event is received.

It isn't that difficult if you have the right AT command set. I've written several Apps using info gleaned off of the javax.comm tutorials and examples.

Hope This Helps,

--Yonah

yonah at 2007-7-4 20:34:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...