Golioth Firmware SDK
Loading...
Searching...
No Matches
wifi.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 Golioth, Inc.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifdef __cplusplus
8
extern
"C"
9
{
10
#endif
11
12
#pragma once
13
14
#include <stdint.h>
15
16
#include <
golioth/location.h
>
17
19
struct
golioth_wifi_scan_result
20
{
22
int8_t
rssi
;
24
uint8_t
mac
[6];
25
};
26
34
enum
golioth_status
golioth_location_wifi_append
(
struct
golioth_location_req
*req,
35
const
struct
golioth_wifi_scan_result
*entry);
36
37
#ifdef __cplusplus
38
}
39
#endif
golioth_status
golioth_status
Definition
golioth_status.h:37
location.h
golioth_location_req
Wi-Fi location request, used with golioth_location_init(), golioth_location_finish() and golioth_loca...
Definition
location.h:37
golioth_wifi_scan_result
Wi-Fi scan result, which is passed to golioth_location_wifi_append()
Definition
wifi.h:20
golioth_wifi_scan_result::mac
uint8_t mac[6]
Definition
wifi.h:24
golioth_wifi_scan_result::rssi
int8_t rssi
Definition
wifi.h:22
golioth_location_wifi_append
enum golioth_status golioth_location_wifi_append(struct golioth_location_req *req, const struct golioth_wifi_scan_result *entry)
include
golioth
location
wifi.h
Generated on Tue Jan 21 2025 19:54:43 for Golioth Firmware SDK by
1.10.0