Response status and CoAP class/code.
More...
#include <client.h>
Response status and CoAP class/code.
Definition at line 52 of file client.h.
◆ status
Status to indicate whether a response was received
One of: GOLIOTH_ERR_TIMEOUT (no response received from server) GOLIOTH_OK (2.XX) GOLIOTH_ERR_FAIL (anything other than 2.XX)
Definition at line 60 of file client.h.
◆ status_class
uint8_t golioth_response::status_class |
the 2 in 2.XX
Definition at line 62 of file client.h.
◆ status_code
uint8_t golioth_response::status_code |
the 03 in 4.03
Definition at line 64 of file client.h.
The documentation for this struct was generated from the following file: