Technical information

Packages Overview
5-16 G24 KJAVA User’s Guide July 15, 2008
2. NACK - in case it is not the first byte transfer on the bus.
For known issues, please refer to G24-J Customer Notes.
IPD Package
Note: For detailed information regarding IPD, see “IP Director”.
Package name: com.motorola.oem.ipd
com.motorola.oem.ipd package enables the UM to utilize the IP Director feature, to establish
local socket connection over the serial link with an external device.
A local socket is an IP based socket (over PPP), which bounds a server/client that resides in the
MIDlet, to a client/server that resides in an external device connected to the serial port.
This package contains interface IpDirectorAvailabilityListener and class LocalSocketManager.
Interface IpDirectorAvailabilityListener is a listener for IP Director state change events.
This interface contains a single method onIpdStateChanged.
Class LocalSocketManager implements the local socket management.
Class methods allow access to connection parameters (IP addresses and port number), and use of
the listener described above.
IPD Connection Services
When IPD is active (See“IPD Activation”), the MIDlet may connect to the external device using
the external device's IP in the following Connection interfaces/methods:
1. Standard MIDP intercfaces:
SocketConnection,
ServerSocketConnection,
DatagramConnection,
UDPDatagramConnection,
HttpConnection,
HttpsConnection,
SecureConnection.
2. OEM proprietary methods:
com.motorola.oem.websession.OTADownload.startOTA().
That is, 'OTA' download of a new User MIDlet over a Serial link (UART/USB). See “OTA
(Over The Air) Over Serial PPP Link”.