Gemalto is now part of the Thales Group, find out more.

You are here

URCs are not recived using ATCommand.addListener | Thales IoT Developer Community

November 19, 2014 - 3:57pm, 4146 views

Cinterion Concept Board

EHS6

REVISION 02.000

---

After enabling URCs for rssi events with the following code the attached event listener is not called. 

m_Cmd = new ATCommand(false);

m_Cmd.addListener(m_Listener);

...

String response = m_Cmd.send("at^sind=\"rssi\",1\r");

// The response is correct, an OK is given

The main thread is either sleeping or issuing other commands (tried removing all commands except the above one).

Using a terminal directly connected to a COM port seems to work correctly. I can send the same command and URCs are correctly shown in the terminal.