Golioth Firmware SDK
Loading...
Searching...
No Matches
golioth_response Struct Reference

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

#include <client.h>

Data Fields

enum golioth_status status
 
uint8_t status_class
 the 2 in 2.XX
 
uint8_t status_code
 the 03 in 4.03
 

Detailed Description

Response status and CoAP class/code.

Definition at line 47 of file client.h.

Field Documentation

◆ status

enum golioth_status golioth_response::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 55 of file client.h.

◆ status_class

uint8_t golioth_response::status_class

the 2 in 2.XX

Definition at line 57 of file client.h.

◆ status_code

uint8_t golioth_response::status_code

the 03 in 4.03

Definition at line 59 of file client.h.


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