开发者

sms through usb port using java

开发者 https://www.devze.com 2023-03-04 01:47 出处:网络
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.

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

精彩评论

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

关注公众号