public interface UnsolicitedResponseHandler
UnsolicitedResponseHandler
interface defines methods for handling unsolicited result code responses from
an AT device. Unsolicited result codes (such as RING
) indicate the occurrence of an event not directly
associated with the issuance of an AT command.
To receive unsolicited result codes an UnsolicitedResponseHandler
instance must be registered with the AT
device using the
ATDevice.setUnsolicitedResponseHandler(UnsolicitedResponseHandler)
method.ATDevice
Modifier and Type | Method and Description |
---|---|
void |
processResponse(ATDevice atDevice,
java.lang.String code)
Invoked to process an unsolicited result code response.
|
Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.