Coap.execute()
DESCRIPTION
Executes the request and blocks until the request is complete.
DECLARATION
void execute()
THROWS EXCEPTIONS
NabtoRuntimeException:- with error code
TIMEOUTif the request timed out (took more than 2 minutes.) NabtoRuntimeException:- with error code
STOPPEDif the coap request or a parent object is stopped. NabtoRuntimeException:- with error code
NOT_CONNECTEDif the connection is not established yet.