| CMSIS-Driver Peripheral Interface for Middleware and Application Code |

Loading...
Searching...
No Matches
Functions
Driver_WiFi.c File Reference

## Functions
ARM_DRIVER_VERSION | ARM_WIFI_GetVersion (void)
| Get driver version.
ARM_WIFI_CAPABILITIES | ARM_WIFI_GetCapabilities (void)
| Get driver capabilities.
int32_t | ARM_WIFI_Initialize (ARM_WIFI_SignalEvent_t cb_event)
| Initialize WiFi Module.
int32_t | ARM_WIFI_Uninitialize (void)
| De-initialize WiFi Module.
int32_t | ARM_WIFI_PowerControl (ARM_POWER_STATE state)
| Control WiFi Module Power.
int32_t | ARM_WIFI_GetModuleInfo (char *module_info, uint32_t max_len)
| Get Module information.
void | ARM_WIFI_SignalEvent (uint32_t event, void *arg)
| Signal WiFi Events.
int32_t | ARM_WIFI_SetOption (uint32_t interface, uint32_t option, const void *data, uint32_t len)
| Set WiFi Module Options.
int32_t | ARM_WIFI_GetOption (uint32_t interface, uint32_t option, void *data, uint32_t *len)
| Get WiFi Module Options.
int32_t | ARM_WIFI_Scan (ARM_WIFI_SCAN_INFO_t scan_info[], uint32_t max_num)
| Scan for available networks in range.
int32_t | ARM_WIFI_Activate (uint32_t interface, const ARM_WIFI_CONFIG_t *config)
| Activate interface (Connect to a wireless network or activate an access point).
int32_t | ARM_WIFI_Deactivate (uint32_t interface)
| Deactivate interface (Disconnect from a wireless network or deactivate an access point).
uint32_t | ARM_WIFI_IsConnected (void)
| Get station connection status.
int32_t | ARM_WIFI_GetNetInfo (ARM_WIFI_NET_INFO_t *net_info)
| Get station Network Information.
int32_t | ARM_WIFI_BypassControl (uint32_t interface, uint32_t mode)
| Enable or disable bypass (pass-through) mode. Transmit and receive Ethernet frames (IP layer bypassed and WiFi/Ethernet translation).
int32_t | ARM_WIFI_EthSendFrame (uint32_t interface, const uint8_t *frame, uint32_t len)
| Send Ethernet frame (in bypass mode only).
int32_t | ARM_WIFI_EthReadFrame (uint32_t interface, uint8_t *frame, uint32_t len)
| Read data of received Ethernet frame (in bypass mode only).
uint32_t | ARM_WIFI_EthGetRxFrameSize (uint32_t interface)
| Get size of received Ethernet frame (in bypass mode only).
int32_t | ARM_WIFI_SocketCreate (int32_t af, int32_t type, int32_t protocol)
| Create a communication socket.
int32_t | ARM_WIFI_SocketBind (int32_t socket, const uint8_t *ip, uint32_t ip_len, uint16_t port)
| Assign a local address to a socket.
int32_t | ARM_WIFI_SocketListen (int32_t socket, int32_t backlog)
| Listen for socket connections.
int32_t | ARM_WIFI_SocketAccept (int32_t socket, uint8_t *ip, uint32_t *ip_len, uint16_t *port)
| Accept a new connection on a socket.
int32_t | ARM_WIFI_SocketConnect (int32_t socket, const uint8_t *ip, uint32_t ip_len, uint16_t port)
| Connect a socket to a remote host.
int32_t | ARM_WIFI_SocketRecv (int32_t socket, void *buf, uint32_t len)
| Receive data or check if data is available on a connected socket.
int32_t | ARM_WIFI_SocketRecvFrom (int32_t socket, void *buf, uint32_t len, uint8_t *ip, uint32_t *ip_len, uint16_t *port)
| Receive data or check if data is available on a socket.
int32_t | ARM_WIFI_SocketSend (int32_t socket, const void *buf, uint32_t len)
| Send data or check if data can be sent on a connected socket.
int32_t | ARM_WIFI_SocketSendTo (int32_t socket, const void *buf, uint32_t len, const uint8_t *ip, uint32_t ip_len, uint16_t port)
| Send data or check if data can be sent on a socket.
int32_t | ARM_WIFI_SocketGetSockName (int32_t socket, uint8_t *ip, uint32_t *ip_len, uint16_t *port)
| Retrieve local IP address and port of a socket.
int32_t | ARM_WIFI_SocketGetPeerName (int32_t socket, uint8_t *ip, uint32_t *ip_len, uint16_t *port)
| Retrieve remote IP address and port of a socket.
int32_t | ARM_WIFI_SocketGetOpt (int32_t socket, int32_t opt_id, void *opt_val, uint32_t *opt_len)
| Get socket option.
int32_t | ARM_WIFI_SocketSetOpt (int32_t socket, int32_t opt_id, const void *opt_val, uint32_t opt_len)
| Set socket option.
int32_t | ARM_WIFI_SocketClose (int32_t socket)
| Close and release a socket.
int32_t | ARM_WIFI_SocketGetHostByName (const char *name, int32_t af, uint8_t *ip, uint32_t *ip_len)
| Retrieve host IP address from host name.
int32_t | ARM_WIFI_Ping (const uint8_t *ip, uint32_t ip_len)
| Probe remote host with Ping command.