Go to the source code of this file.
◆ MAIN_WIFI_M2M_PRODUCT_NAME
#define MAIN_WIFI_M2M_PRODUCT_NAME "EVB-2" |
◆ WIFI_AUTH
◆ WIFI_BUFFER_SIZE
#define WIFI_BUFFER_SIZE 1460 |
Receive buffer definition.
Definition at line 53 of file wifi.c.
◆ t_msg_wifi_product
Message format definitions.
◆ deinit_tcp_socket()
static void deinit_tcp_socket |
( |
void |
| ) |
|
|
static |
◆ deinit_wifi()
static void deinit_wifi |
( |
void |
| ) |
|
|
static |
◆ init_tcp_socket()
static void init_tcp_socket |
( |
void |
| ) |
|
|
static |
◆ init_wifi()
static void init_wifi |
( |
void |
| ) |
|
|
static |
◆ socket_cb()
static void socket_cb |
( |
SOCKET |
sock, |
|
|
uint8_t |
u8Msg, |
|
|
void * |
pvMsg |
|
) |
| |
|
static |
Callback to get the Data from socket.
- Parameters
-
[in] | sock | socket handler. |
[in] | u8Msg | socket event type. Possible values are:
- SOCKET_MSG_BIND
- SOCKET_MSG_LISTEN
- SOCKET_MSG_ACCEPT
- SOCKET_MSG_CONNECT
- SOCKET_MSG_RECV
- SOCKET_MSG_SEND
- SOCKET_MSG_SENDTO
- SOCKET_MSG_RECVFROM
|
[in] | pvMsg | is a pointer to message structure. Existing types are:
|
Definition at line 144 of file wifi.c.
◆ step_wifi()
◆ update_wifi_leds()
◆ vTaskWiFi()
void vTaskWiFi |
( |
void * |
pvParameters | ) |
|
◆ wifi_cb()
static void wifi_cb |
( |
uint8_t |
u8MsgType, |
|
|
void * |
pvMsg |
|
) |
| |
|
static |
Callback to get the Wi-Fi status update.
- Parameters
-
[in] | u8MsgType | type of Wi-Fi notification. Possible types are:
|
[in] | pvMsg | A pointer to a buffer containing the notification parameters (if any). It should be casted to the correct data type corresponding to the notification type. Existing types are:
|
Definition at line 84 of file wifi.c.
◆ wifi_enable()
void wifi_enable |
( |
int |
enable | ) |
|
◆ wifi_reinit()
void wifi_reinit |
( |
void |
| ) |
|
◆ g_addr
◆ g_indicateWiFiRxMs
int g_indicateWiFiRxMs =0 |
|
static |
◆ g_init_wifi
◆ g_wifi_connected
uint8_t g_wifi_connected = 0 |
|
static |
◆ g_xStreamBufferWiFiRx
◆ g_xStreamBufferWiFiTx
◆ msg_wifi_product
Initial value:= {
}
#define MAIN_WIFI_M2M_PRODUCT_NAME
Definition at line 48 of file wifi.c.
◆ socketRxBuffer
◆ socketTxBuffer
◆ tcp_client_socket
Socket for client
Definition at line 37 of file wifi.c.