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, 4144 views

Cinterion Concept Board




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

m_Cmd = new ATCommand(false);



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.