name.gries
Class AF104

java.lang.Object
  extended by javax.microedition.midlet.MIDlet
      extended by name.gries.AF104

public class AF104
extends javax.microedition.midlet.MIDlet

MIDlet for control Siemens TC65 terminal via GPIO


Nested Class Summary
(package private)  class AF104.AussenlichtAus
          Internal class that provides a TimerTask.
(package private)  class AF104.DayTime
          Internal class that provides a TimerTask.
(package private)  class AF104.NightTime
          Internal class that provides a TimerTask.
(package private)  class AF104.Taeglich
          Internal class that provides a TimerTask.
(package private)  class AF104.TageslichtAUS
          Internal class that provides a TimerTask.
(package private)  class AF104.TageslichtEIN
          Internal class that provides a TimerTask.
 
Field Summary
(package private)  java.lang.String account
           
(package private)  java.lang.String ACTIVE
           
(package private)  java.lang.String ADMIN
           
(package private)  java.lang.String APP
           
(package private)  Astro astro
           
(package private)  boolean bAbsent
           
(package private)  boolean bAF104Terminal
           
(package private)  boolean bAstroActivated
           
(package private)  boolean bCheckPrepaid
           
(package private)  boolean boolAussenlichtAus
           
(package private)  boolean boolAussenlichtEin
           
(package private)  boolean bTestRTCEvent
           
(package private)  boolean bTestRTCSupply
           
(package private)  boolean bTimerSMS
           
(package private)  boolean bUserAbort
           
(package private)  WhiteList caller
           
(package private) static java.lang.String CdPA
           
(package private) static java.lang.String CdPA1
           
(package private) static java.lang.String CLIP
           
private  AF104.Taeglich dailyRun
           
(package private)  Trace Debug
           
(package private)  java.lang.String DESTROYED
           
(package private)  EventList event
           
(package private)  GPIO gpio
           
(package private)  java.lang.String J2ME
           
(package private)  long longAussenlichtTimer
           
(package private) static boolean noEventSMS
           
(package private) static boolean noFTP
           
(package private) static boolean noSMS
           
(package private)  java.lang.String PAUSED
           
(package private)  java.lang.String response
           
(package private)  java.lang.String sAstro
           
(package private)  java.lang.String sDay
           
(package private)  java.lang.String sIMEI
           
(package private)  boolean SIMULATE
           
(package private)  boolean SIMULATE_TC65T
           
(package private)  boolean SIMULATE_TC65T_PORT9
           
(package private)  boolean SIMULATE_TIME
           
(package private)  java.lang.String SMS_TEXT
           
(package private)  java.lang.String sNotification
           
(package private)  Status status
           
(package private)  java.lang.String sUsedTerminal
           
(package private)  java.lang.String sUserAbortReason
           
(package private)  TC65Terminal tc65
           
(package private)  boolean TC65_TERMINATE_BY_CALL
           
(package private)  boolean TC65_TERMINATE_BY_SMS
           
private  java.util.Timer timAussenlicht
           
private  java.util.Timer timDaily
           
private  java.util.Timer timDaylightOff
           
private  java.util.Timer timDaylightOn
           
private  java.util.Timer timDayTime
           
private  AF104.AussenlichtAus timerAussenlicht
           
private  AF104.DayTime timerDayTime
           
private  AF104.NightTime timerNightTime
           
private  AF104.TageslichtAUS timerTageslichtOFF
           
private  AF104.TageslichtEIN timerTageslichtON
           
private  java.util.Timer timNightTime
           
(package private)  Watchdog watchdog
           
 
Constructor Summary
AF104()
          Default constructor
 
Method Summary
private  java.lang.String checkIMEI(java.lang.String imei)
           
private  void debugAppProperties()
           
 void destroyApp(boolean cond)
          Called when the application is destroyed.
 void pauseApp()
          Called when the application has to be temporary paused.
 void startApp()
          This is the main application entry point.
 
Methods inherited from class javax.microedition.midlet.MIDlet
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIMULATE

final boolean SIMULATE
See Also:
Constant Field Values

SIMULATE_TC65T

boolean SIMULATE_TC65T

SIMULATE_TC65T_PORT9

boolean SIMULATE_TC65T_PORT9

TC65_TERMINATE_BY_CALL

boolean TC65_TERMINATE_BY_CALL

TC65_TERMINATE_BY_SMS

boolean TC65_TERMINATE_BY_SMS

bAF104Terminal

boolean bAF104Terminal

sUsedTerminal

java.lang.String sUsedTerminal

bUserAbort

boolean bUserAbort

sUserAbortReason

java.lang.String sUserAbortReason

bAstroActivated

boolean bAstroActivated

bAbsent

boolean bAbsent

bTestRTCSupply

boolean bTestRTCSupply

bTestRTCEvent

boolean bTestRTCEvent

bCheckPrepaid

boolean bCheckPrepaid

SIMULATE_TIME

boolean SIMULATE_TIME

noFTP

static boolean noFTP

noSMS

static boolean noSMS

noEventSMS

static boolean noEventSMS

J2ME

final java.lang.String J2ME
See Also:
Constant Field Values

APP

final java.lang.String APP
See Also:
Constant Field Values

ACTIVE

final java.lang.String ACTIVE
See Also:
Constant Field Values

PAUSED

final java.lang.String PAUSED
See Also:
Constant Field Values

DESTROYED

final java.lang.String DESTROYED
See Also:
Constant Field Values

ADMIN

final java.lang.String ADMIN
See Also:
Constant Field Values

CdPA

static java.lang.String CdPA

CdPA1

static java.lang.String CdPA1

CLIP

static java.lang.String CLIP

sDay

java.lang.String sDay

SMS_TEXT

java.lang.String SMS_TEXT

sNotification

java.lang.String sNotification

sIMEI

java.lang.String sIMEI

bTimerSMS

boolean bTimerSMS

sAstro

java.lang.String sAstro

account

java.lang.String account

boolAussenlichtEin

boolean boolAussenlichtEin

boolAussenlichtAus

boolean boolAussenlichtAus

longAussenlichtTimer

long longAussenlichtTimer

timAussenlicht

private java.util.Timer timAussenlicht

timerAussenlicht

private AF104.AussenlichtAus timerAussenlicht

timDaylightOn

private java.util.Timer timDaylightOn

timerTageslichtON

private AF104.TageslichtEIN timerTageslichtON

timDayTime

private java.util.Timer timDayTime

timerDayTime

private AF104.DayTime timerDayTime

timDaylightOff

private java.util.Timer timDaylightOff

timerTageslichtOFF

private AF104.TageslichtAUS timerTageslichtOFF

timNightTime

private java.util.Timer timNightTime

timerNightTime

private AF104.NightTime timerNightTime

timDaily

private java.util.Timer timDaily

dailyRun

private AF104.Taeglich dailyRun

response

java.lang.String response

tc65

TC65Terminal tc65

gpio

GPIO gpio

Debug

Trace Debug

astro

Astro astro

caller

WhiteList caller

event

EventList event

status

Status status

watchdog

Watchdog watchdog
Constructor Detail

AF104

public AF104()
Default constructor

Method Detail

startApp

public void startApp()
              throws javax.microedition.midlet.MIDletStateChangeException
This is the main application entry point. Here we simply give some text output and close the application immediately again.

Specified by:
startApp in class javax.microedition.midlet.MIDlet
Throws:
javax.microedition.midlet.MIDletStateChangeException

pauseApp

public void pauseApp()
Called when the application has to be temporary paused. Not used in this application directly.

Specified by:
pauseApp in class javax.microedition.midlet.MIDlet

destroyApp

public void destroyApp(boolean cond)
Called when the application is destroyed. Here we must clean up everything not handled by the garbage collector. In this case there is nothing to clean.

Specified by:
destroyApp in class javax.microedition.midlet.MIDlet

debugAppProperties

private void debugAppProperties()

checkIMEI

private java.lang.String checkIMEI(java.lang.String imei)