ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
Loading...
Searching...
No Matches
ControllerWiFiResponse Struct Reference

WiFi response. More...

#include <libents/controller/modules/wifi.h>

Data Fields

unsigned int http_code
 
uint8_t bytes [256]
 
size_t size
 

Detailed Description

WiFi response.

The size of bytes is set to a reasonable value of 256 bytes as reponses need to be under 222 bytes for LoRaWAN. Set independently from the protobuf implementation as the API check may require a larger reponse in the future.

Definition at line 75 of file wifi.h.

Field Documentation

◆ bytes

uint8_t ControllerWiFiResponse::bytes[256]

Response bytes

Definition at line 79 of file wifi.h.

Referenced by ControllerWiFiCheckRequest().

◆ http_code

unsigned int ControllerWiFiResponse::http_code

HTTP Code

Definition at line 77 of file wifi.h.

Referenced by Check(), ControllerWiFiCheckRequest(), and Upload().

◆ size

size_t ControllerWiFiResponse::size

Size of bytes

Definition at line 81 of file wifi.h.

Referenced by ControllerWiFiCheckRequest().


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