while (count < RETRIES)
{
getModemDriver().write("AT+CNMI=?\r");
try
{
this.cnmiDetector = new CNMIDetector(getModemDriver().getResponse());
getModemDriver().write(this.cnmiDetector.getATCommand());
getModemDriver().getResponse();
return (getModemDriver().isOk());
}
catch (Exception e)