Coap.getResponseStatusCode()

DESCRIPTION

Return status code returned from the server e.g. 204.

DECLARATION

    int getResponseStatusCode()

THROWS EXCEPTIONS

NabtoRuntimeException:
with error code INVALID_STATE if the response is not available.

RETURNS

the status code, e.g. 204