Hello*,
I have a question to class ATHandler.
method isAlive:
public boolean isAlive() throws TimeoutException, GatewayException,
IOException, InterruptedException
{
getModemDriver().write("AT\r");
String response = getModemDriver().getResponse();
if (response.indexOf("AT\r") == -1) { return
getModemDriver().isOk(); }
return false;
}
the answer of the modem to
AT<enter>
should
OK
Is this a bug?
greets Olaf Koppe
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion Group" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/smslib/3904c992-f46d-449c-aa83-b4cdc45a102b%40googlegroups.com.