Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Adam Hollik
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic