Golioth Firmware SDK
golioth_response_t Struct Reference

Response status and CoAP class/code. More...

#include <golioth_client.h>

Data Fields

golioth_status_t status
 
uint8_t status_class
 the 2 in 2.XX More...
 
uint8_t status_code
 the 03 in 4.03 More...
 

Detailed Description

Response status and CoAP class/code.

Definition at line 41 of file golioth_client.h.

Field Documentation

◆ status

golioth_status_t golioth_response_t::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 48 of file golioth_client.h.

◆ status_class

uint8_t golioth_response_t::status_class

the 2 in 2.XX

Definition at line 50 of file golioth_client.h.

◆ status_code

uint8_t golioth_response_t::status_code

the 03 in 4.03

Definition at line 52 of file golioth_client.h.


The documentation for this struct was generated from the following file: