send
Send a synchronous Mcu Manager request. This method implementation should block until a response has been received or a error has occurred.
Return
The response.
Parameters
the request packet data to send to the device.
the timeout for receiving a response for the packet, in milliseconds.
the response type.
the response type.
Throws
thrown on error. Set the cause of the error if caused by a different type of exception.
Send an asynchronous Mcu Manager request. This method should not be blocked. When the response has been received or an error occurs, the appropriate method of the callback should be called.
Parameters
the request packet data to send to the device.
the timeout for receiving a response for the packet, in milliseconds.
the response type.
the callback to call on response or error.
the response type.