Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest. This package has two types of users: the consumers that use the API in this package and the providers that implement the API in this package.
Example import for consumers using the API in this package:
Import-Package: org.osgi.service.serial; version="[1.0,2.0)"
| Modifier and Type | Interface and Description |
|---|---|
| public interface | SerialDevice
SerialDevice is a service representing a device performing serial communication. |
| public interface | SerialEvent
A serial device event. |
| public interface | SerialEventListener
Serial events are sent using the white board model, in which a bundle interested in receiving the Serial events registers an object implementing the SerialEventListener interface. |
| Modifier and Type | Class and Description |
|---|---|
| public class | SerialConstants
Constants for serial device settings. |
| public class | SerialDeviceException
A exception used to indicate that a serial device communication problem occurred. |
| public class | SerialPortConfiguration
An object represents the Serial port configuration. |