Technical information
OEM Modes
3-6 G24 KJAVA User’s Guide July 15, 2008
OEM Modes
The G24 unit has three functional modes (OEM modes):
1. Java - Only MIDlet controls the unit.
2. Partial Java - The unit is controlled by MIDlet and a limited set of AT commands.
3. AT - Only AT commands control the unit (KJAVA module is disabled).
OEM modes can be controlled by the OSC class.
For OEM mode settings see
Table 3-2.
In order to read the OEM mode use - OSC.getProperty("oem.mode").
Mode switching between AT mode and JAVA mode without Java APIs:
• JTool command - "OEMconfig_java2at" for AT mode.
• AT command - "AT+MJAVA=0" for JAVA mode.
Note:
• Upon changing the OEM mode, G24 performs power cycle.
• Use AT+MJAVA? Command to query current OEM mode.
Partial Java Mode
In this mode, KJAVA is available in parallel with the AT commands as in Table 4.
The main purpose of this mode is to allow External GPRS call while KJAVA is active; however
more commands are available.
When developing in such mutual environment it is important to avoid addressing the same
platform resource. In such cases inconsistencies and failures may occur.
The main problematic components are blocked to AT commands in this mode and are listed in the
following lists.
Table 3-2: OEM Mode Settings
OEM Mode API Connectivity availability
JAVA OSC.setProperty("oem.mode", "java_mode") K J AVA controls: UART1,
UART2, USB
Partial JAVA 1 OSC.setProperty("oem.mode","partial_java_mo
de_1")
K J AVA controls: UART2
AT Commands via: UART1,
USB
Partial JAVA 2 OSC.setProperty("oem.mode","partial_java_mo
de_2")
K J AVA controls: UART2, USB
AT Commands via: UART1
Partial JAVA 3 OSC.setProperty("oem.mode","partial_java_mo
de_3")
K J AVA controls: UART1,
UART2
AT Commands via: USB
AT Mode OSC.setProperty("oem.mode", "AT_mode") AT Commands via: UART1,
UART2, USB