Gemalto is now part of the Thales Group, find out more.

You are here

CommConnection to usb4 (EHS6)? | Thales IoT Developer Community

March 30, 2015 - 4:13pm, 3912 views

Hi....

I'm trying to set up a read only CommConnection to usb4. I'm already using this for Stdout and I want to implement a command line console in my midlet.  When I execute the following:

String connectionProfile="comm:usb4;baudrate=115200;blocking=on;autocts=off;autorts=off";

CommConnection con = (CommConnection) Connector.open(connectionProfile);

...I get back the following exception:

javax.microedition.io.ConnectionNotFoundException: usb4 port not found!

Am I supposed to address usb4 in a different way?

L