开发者

sms through usb port using java

I h开发者_开发技巧ave connected my nokia through data cable to USB port. I need a program in java to access the gsm module of my mobile and send text messages.

which API i need to use for it? communication need to be taken place through USB port.

Thanks & Regards,

Sri


You can use smslib. It is a very reliable solution. It supports GSM phones and GSM modems connected via serial port interfaces or IP interfaces.

Look here for more.


Have a look at Kannel. It is not a Java application, BTW.

  • Java API for Kannel
  • An Example
  • Sending SMS with SMPP, Kannel and Java


The phone needs to be hooked up via a serial port for RS-232. Using either a USB data cable or a USB-to-RS232 adapter and a serial data cable.

Use Java Communications API to connect to the Phone.

Then use the AT command to send and receive SMS messages. There is and example here. It is not specific to Nokia, but it is pretty much a standard command set.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜