Golioth Firmware SDK
Loading...
Searching...
No Matches
wifi.h File Reference
#include <stdint.h>
#include <golioth/net_info.h>

Go to the source code of this file.

Data Structures

struct  golioth_wifi_scan_result
 Wi-Fi scan result, which is passed to golioth_net_info_wifi_append() More...
 

Functions

enum golioth_status golioth_net_info_wifi_append (struct golioth_net_info *info, const struct golioth_wifi_scan_result *entry)
 

Function Documentation

◆ golioth_net_info_wifi_append()

enum golioth_status golioth_net_info_wifi_append ( struct golioth_net_info * info,
const struct golioth_wifi_scan_result * entry )

Append information about scanned Wi-Fi network to network information

Parameters
infoNetwork information
entryInformation about scanned Wi-Fi network
Return values
GOLIOTH_OKWi-Fi network info added successfully
GOLIOTH_ERR_MEM_ALLOCNot enough memory in network info buffer