Golioth Firmware SDK
Loading...
Searching...
No Matches
wifi.h File Reference
#include <stdint.h>
#include <golioth/location.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_location_wifi_append() More...
 

Functions

enum golioth_status golioth_location_wifi_append (struct golioth_location_req *req, const struct golioth_wifi_scan_result *entry)
 

Function Documentation

◆ golioth_location_wifi_append()

enum golioth_status golioth_location_wifi_append ( struct golioth_location_req * req,
const struct golioth_wifi_scan_result * entry )

Append information about scanned WiFi network to location request

Parameters
reqLocation request
entryInformation about scanned WiFi network
Return values
GOLIOTH_OKLocation request finished successfully
GOLIOTH_ERR_MEM_ALLOCNot enough memory in request buffer