EHS5 JAVA AuTCommand problem

84 views
Skip to first unread message

Ondřej Janovský

unread,
Dec 12, 2013, 4:34:16 AM12/12/13
to java...@googlegroups.com
Hello,

I am porting app. from TC65 to EHS5 module. I have problem with
receiving URC code. EHS5 do nothing, TC65i works properly.
Please, can anybody help me?

Thanks Ondrej

This is simply code:

protected void startApp() throws MIDletStateChangeException {
System.out.println("TEST MIDLET");

try {
ATCommand atcmd = new ATCommand(true);
atcmd.addListener(this);

} catch (ATCommandFailedException ex) {
ex.printStackTrace();
} catch (IllegalStateException ex) {
ex.printStackTrace();
}



}


public void ATEvent(String urc) {
System.out.println("urc: "+urc);
}

public void RINGChanged(boolean bln) {
System.out.println("ring: "+bln);
}

Reply all
Reply to author
Forward
0 new messages