6.1. Serial Communication

6.1.1. Dependencies

Serial communication requires the ECOM-COMM foundation library. To use it, add the following dependency to your project’s module.ivy file:

<dependency org="ej.api" name="ecom-comm" rev="1.1.4" />

6.1.2. Replacing the javax.microedition.io.Connector class

The class javax.microedition.io.Connector can be seamlessly replaced by ej.ecom.io.CommConnection.

The API documentation of Connector is available here.

6.1.3. Replacing the javax.microedition.io.CommConnection class

The class javax.microedition.io.CommConnection can be seamlessly replaced by ej.ecom.io.CommConnection.

The API documentation of CommConnection is available here.