• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic