Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
wifi_sim.h
Go to the documentation of this file.
1
9
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_DRIVERS_WIFI_WIFI_SIM_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_DRIVERS_WIFI_WIFI_SIM_H_
12
13#include <stdbool.h>
14#include <stddef.h>
15
16#include <zephyr/net/wifi_mgmt.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
27
33void wifi_sim_in_network_range(bool in_range);
34
48void wifi_sim_scan_results_set(const struct wifi_scan_result *results, size_t result_count);
49
58const struct wifi_scan_params *wifi_sim_scan_params_get(void);
59
64
68
69#ifdef __cplusplus
70}
71#endif
72
73#endif /* INFUSE_SDK_INCLUDE_INFUSE_DRIVERS_WIFI_WIFI_SIM_H_ */
const struct wifi_scan_params * wifi_sim_scan_params_get(void)
Get the latest scan parameters provided to the simulated device.
void wifi_sim_in_network_range(bool in_range)
Simulate whether the device is in range of a network.
void wifi_sim_scan_results_set(const struct wifi_scan_result *results, size_t result_count)
Configure scan results returned by the simulated device.
void wifi_sim_trigger_disconnect(void)
If currently connected to a network, disconnect.