aspose file tools*
The moose likes Java Micro Edition and the fly likes Java enabled GPRS module with enabled USB while Java is running? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Java enabled GPRS module with enabled USB while Java is running?" Watch "Java enabled GPRS module with enabled USB while Java is running?" New topic
Author

Java enabled GPRS module with enabled USB while Java is running?

Adam Hollik
Greenhorn

Joined: May 06, 2010
Posts: 3
Hi All,

do you know a java enabled GPRS module with a USB port, which one's USB port I can access also under java? I use at the moment the Cinterion's TC65i. It has a USB port, which through I can access the module from for example HyperTerm (as a virtual serial comm port), when it is in AT command mode, and the java program not running on it. But when I run a java program, and list out the available comm ports, there is onliy the standard com0, and com1 even if the USB is connected to the PC.

Thanks a lot!

Greets,
Adam
Michaell Hunt
Greenhorn

Joined: May 07, 2010
Posts: 1
Hi,

I'm using TC65 also. Far I know its possible to use the USB by setting the module parameter.

at^scfg="Userware/Stdout","USB"

I'm pretty sure that it is impossible to use the at command out of Java when middlet is running. When Java starts virtual machine gets all control of the module. Only interaction available is e.g. by implementing serial communication in the midlet. The module standard At command interface is blocked. You can connect to it but it is only possible to read the answer from java. When you send the data via it, it will be received by java machine not by normal at command interpreter in the module.
Adam Hollik
Greenhorn

Joined: May 06, 2010
Posts: 3
Michaell Hunt wrote:Hi,

I'm using TC65 also. Far I know its possible to use the USB by setting the module parameter.

at^scfg="Userware/Stdout","USB"

I'm pretty sure that it is impossible to use the at command out of Java when middlet is running. When Java starts virtual machine gets all control of the module. Only interaction available is e.g. by implementing serial communication in the midlet. The module standard At command interface is blocked. You can connect to it but it is only possible to read the answer from java. When you send the data via it, it will be received by java machine not by normal at command interpreter in the module.


Ah, yeah, I know, thanks, but it's not enough for me. I need bidirectional connection trough the USB to set some parameters trough it and then get the response, the result... I can do this trough the serial port, but but the most of today's PCs, especially laptops have no serial port.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java enabled GPRS module with enabled USB while Java is running?