#include <zephyr.h>
#include <kernel.h>
#include <stdio.h>
#include <kernel_structs.h>
#include <net/wifi_mgmt.h>
#include "eswifi_offload.h"
Go to the source code of this file.
|
static int | eswifi_request (struct eswifi_dev *eswifi, char *cmd, size_t clen, char *rsp, size_t rlen) |
|
static void | eswifi_lock (struct eswifi_dev *eswifi) |
|
static void | eswifi_unlock (struct eswifi_dev *eswifi) |
|
int | eswifi_at_cmd (struct eswifi_dev *eswifi, char *cmd) |
|
static struct eswifi_dev * | eswifi_socket_to_dev (struct eswifi_off_socket *socket) |
|
struct eswifi_bus_ops * | eswifi_get_bus (void) |
|
int | eswifi_offload_init (struct eswifi_dev *eswifi) |
|
struct eswifi_dev * | eswifi_by_iface_idx (uint8_t iface) |
|
int | eswifi_at_cmd_rsp (struct eswifi_dev *eswifi, char *cmd, char **rsp) |
|
void | eswifi_async_msg (struct eswifi_dev *eswifi, char *msg, size_t len) |
|
void | eswifi_offload_async_msg (struct eswifi_dev *eswifi, char *msg, size_t len) |
|
◆ AT_OK_STR
#define AT_OK_STR "\r\nOK\r\n> " |
◆ AT_OK_STR_LEN
◆ AT_RSP_DELIMITER
#define AT_RSP_DELIMITER "\r\n" |
◆ AT_RSP_DELIMITER_LEN
#define AT_RSP_DELIMITER_LEN 2 |
◆ eswifi_shell_register
#define eswifi_shell_register |
( |
|
dev | ) |
|
◆ MAX_DATA_SIZE
#define MAX_DATA_SIZE 1600 |
Copyright (c) 2018 Linaro
SPDX-License-Identifier: Apache-2.0
◆ eswifi_request
Enumerator |
---|
ESWIFI_REQ_SCAN | |
ESWIFI_REQ_CONNECT | |
ESWIFI_REQ_DISCONNECT | |
ESWIFI_REQ_NONE | |
◆ eswifi_role
Enumerator |
---|
ESWIFI_ROLE_CLIENT | |
ESWIFI_ROLE_AP | |
◆ eswifi_security_type
Enumerator |
---|
ESWIFI_SEC_OPEN | |
ESWIFI_SEC_WEP | |
ESWIFI_SEC_WPA | |
ESWIFI_SEC_WPA2_AES | |
ESWIFI_SEC_WPA2_MIXED | |
ESWIFI_SEC_MAX | |
◆ eswifi_async_msg()
void eswifi_async_msg |
( |
struct eswifi_dev * |
eswifi, |
|
|
char * |
msg, |
|
|
size_t |
len |
|
) |
| |
◆ eswifi_at_cmd()
int eswifi_at_cmd |
( |
struct eswifi_dev * |
eswifi, |
|
|
char * |
cmd |
|
) |
| |
◆ eswifi_at_cmd_rsp()
int eswifi_at_cmd_rsp |
( |
struct eswifi_dev * |
eswifi, |
|
|
char * |
cmd, |
|
|
char ** |
rsp |
|
) |
| |
◆ eswifi_by_iface_idx()
◆ eswifi_get_bus()
◆ eswifi_lock()
◆ eswifi_offload_async_msg()
void eswifi_offload_async_msg |
( |
struct eswifi_dev * |
eswifi, |
|
|
char * |
msg, |
|
|
size_t |
len |
|
) |
| |
◆ eswifi_offload_init()
int eswifi_offload_init |
( |
struct eswifi_dev * |
eswifi | ) |
|
◆ eswifi_request()
◆ eswifi_socket_to_dev()
◆ eswifi_unlock()