Raspberry Pi Documentation

Release 1.5.0

cyw43_8h

cyw43.h File Reference

CYW43 driver interface. More...

#include "cyw43_config.h"
#include "lwip/netif.h"
#include "lwip/dhcp.h"
#include "cyw43_ll.h"
#include <string.h>

Go to the source code of this file.

Data Structures

Macros

Trace flags

  • #define CYW43_TRACE_ASYNC_EV   (0x0001)

  • #define CYW43_TRACE_ETH_TX   (0x0002)

  • #define CYW43_TRACE_ETH_RX   (0x0004)

  • #define CYW43_TRACE_ETH_FULL   (0x0008)

  • #define CYW43_TRACE_MAC   (0x0010)

Link status

See alsostatus_name() to get a user readable name of the status for debug cyw43_wifi_link_status() to get the wifi status cyw43_tcpip_link_status() to get the overall link status

  • #define CYW43_LINK_DOWN   (0)

  •  link is down

  • #define CYW43_LINK_JOIN   (1)

  •  Connected to wifi.

  • #define CYW43_LINK_NOIP   (2)

  •  Connected to wifi, but no IP address.

  • #define CYW43_LINK_UP   (3)

  •  Connect to wifi with an IP address.

  • #define CYW43_LINK_FAIL   (-1)

  •  Connection failed.

  • #define CYW43_LINK_NONET   (-2)

  •  No matching SSID found (could be out of range, or down)

  • #define CYW43_LINK_BADAUTH   (-3)

Typedefs

Functions

Variables

  • cyw43_t cyw43_state

  • void(* cyw43_poll )(void)

  • uint32_t cyw43_sleep

Detailed Description

CYW43 driver interface.