public interface CommandResponseHandler
CommandResponseHandlerinterface defines methods for handling responses to AT commands. When commands are submitted asynchronously using the
CommandResponseHandlerinstance must be provided to handle the response when available. Only information text, final result code and intermediate result code responses can be handled by a
CommandResponseHandlerinstance. Unsolicited result code responses can be handled by a
java.lang.String processResponse(ATDevice atDevice, java.lang.String response)
ATDeviceinstance issuing the response.
response- the response to handle or
nullif the response was too long or in case of an un-handled error.
nullif no additional input is required (such as final result code was received).
Copyright (c) 1990, 2013, Oracle and/or its affiliates. All rights reserved.