Coap.setRequestPayload()
DESCRIPTION
Set the payload for the request.
DECLARATION
void setRequestPayload(int contentFormat, byte[] payload)
PARAMETERS
contentFormat:
- Contentformat of the payload.
payload:
- The payload to set.
Set the payload for the request.
void setRequestPayload(int contentFormat, byte[] payload)
contentFormat:
payload: