How should I send the module to Partial java mode? What command should be typed? Also do we have to pull the GPIO8 (KMgr pin) low for this?

One thought on “How should I send the module to Partial java mode? What command should be typed? Also do we have to pull the GPIO8 (KMgr pin) low for this?

  1. Normal
    0

    MicrosoftInternetExplorer4

    // JAVA PARTIAL
    MODE 
                   
    try {
           
           
        OSC.setProperty
    ("oem.mode","partial_java_mode_1");
                           
    } catch (OSCException err) {
           
           
            System.out.println ("Can’t
    change to Partial mode!");
                           
    }

    From the User
    Guide
    :

    4.5 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.

     

    Normal
    0

    MicrosoftInternetExplorer4

    For OEM mode
    settings see Table 4.Table 4: OEM mode settings

    OEM Mode

    API

    Connectivity
    availability

    JAVA

    OSC.setProperty ("oem.mode",
    "java mode")

    KJAVA controls:
    UART1, UART2, USB

    Partial JAVA 1

    OSC.setProperty ("oem.mode",
    "partial_java_mode_1")

    KJAVA controls:
    UART2

    AT Commands via:
    UART1, USB

    Partial JAVA 2

    OSC.setProperty ("oem.mode",
    "partial_java_mode_2")

    KJAVA controls:
    UART2, USB

    AT Commands via:
    UART1

    Partial JAVA 3

    OSC.setProperty ("oem.mode",
    "partial_java_mode_3")

    KJAVA controls:
    UART1, UART2

    AT Commands via:
    USB

    AT Mode

    OSC.setProperty ("oem.mode",
    "AT mode")

    AT Commands via:
    UART1, UART2, USB

     

    Normal
    0

    MicrosoftInternetExplorer4

    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.

    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.

    There are two types
    of commands. "Type 1" consists of permanently blocked commands and
    "Type 2" consists of configurable blocked commands (can be
    reconfigured to be unblocked). Configuration is done on the entire list and by
    Motorola/Telit only.

     

    Type 1

    CHLD, CHUP, CR, A, D
    (except for D*99), DL, H, CACM, CAMM, CAOC, CPAS, CPUC, CSNS, CTFR1, MCST,
    MIPCALL, MIOD, MIOC, MMAD

    Type 2

    CFUN, CCLK, ATS24,
    CPBS, CPBR, CPBF, CPBW, MCSN, MDSI, CSVM, MPDPM, CPIN,CPWD, CLCK, EMPC, COPS,
    CLIP, CLIR, CUSD, CCWA, COLP, CALM, CLVL, CMUT, CRSL, CRTT, MADIGITAL, MAFEAT,
    MAMUT, MAPATH, MAVOL, MMICG, MPCMC, VTD, VTS, S94, S96, CNMA, CNMI, CSCB,
    MCSAT.