NNN50 WIFI_API library
Dependents: NNN50_CE_Test_UDP NNN50_linux_firmware NNN50_SoftAP_HelloWorld NNN50_BLEWIFISensor ... more
m2m_wifi.h File Reference
WINC WLAN Application Interface. More...
Go to the source code of this file.
Data Structures | |
| struct | tstrEthInitParam |
| Structure to hold Ethernet interface parameters. More... | |
| struct | tstrM2mIpCtrlBuf |
| Structure holding the incoming buffer's data size information, indicating the data size of the buffer and the remaining buffer's data size . The data of the buffer which holds the packet sent to the host when in the bypass mode, is placed in the tstrEthInitParam structure in the au8ethRcvBuf attribute. This following information is retrieved in the host when an event M2M_WIFI_RESP_ETHERNET_RX_PACKET is received in the Wi-Fi callback function tpfAppWifiCb. More... | |
| struct | tstrWifiInitParam |
| Structure, holding the Wi-fi configuration attributes such as the wi-fi callback , monitoring mode callback and Ethernet parameter initialization structure. More... | |
Typedefs | |
| typedef void(* | tpfAppWifiCb )(uint8 u8MsgType, void *pvMsg) |
| Wi-Fi's main callback function handler, for handling the M2M_WIFI events received on the Wi-Fi interface. Such notifications are received in response to Wi-Fi/P2P operations such as m2m_wifi_request_scan, m2m_wifi_connect. Wi-Fi/P2P operations are implemented in an asynchronous mode, and all incoming information/status are to be handled through this callback function when the corresponding notification is received. Applications are expected to assign this wi-fi callback function by calling m2m_wifi_init. | |
| typedef void(* | tpfAppEthCb )(uint8 u8MsgType, void *pvMsg, void *pvCtrlBuf) |
| ETHERNET (bypass mode) notification callback function receiving Bypass mode events as defined in the Wi-Fi responses enumeration tenuM2mStaCmd. | |
| typedef void(* | tpfAppMonCb )(tstrM2MWifiRxPacketInfo *pstrWifiRxPacket, uint8 *pu8Payload, uint16 u16PayloadSize) |
| Wi-Fi monitoring mode callback function. This function delivers all received wi-Fi packets through the Wi-Fi interface. Applications requiring to operate in the monitoring should call the asynchronous function m2m_wifi_enable_monitoring_mode and expect to receive the Wi-Fi packets through this callback function, when the event is received. To disable the monitoring mode a call to m2m_wifi_disable_monitoring_mode should be made. | |
Enumerations | |
| enum | tenuWifiFrameType { MANAGEMENT = 0x00, CONTROL = 0x04, DATA_BASICTYPE = 0x08 , M2M_WIFI_FRAME_TYPE_ANY = 0xFF } |
Enumeration for Wi-Fi MAC frame type codes (2-bit) The following types are used to identify the type of frame sent or received. Each frame type constitutes a number of frame subtypes as defined in tenuSubTypes to specify the exact type of frame. Values are defined as per the IEEE 802.11 standard. More... | |
| enum | tenuSubTypes { ASSOC_REQ = 0x00 , M2M_WIFI_FRAME_SUB_TYPE_ANY = 0xFF } |
Enumeration for Wi-Fi MAC Frame subtype code (6-bit). The frame subtypes fall into one of the three frame type groups as defined in tenuWifiFrameType (MANAGEMENT, CONTROL & DATA). Values are defined as per the IEEE 802.11 standard. More... | |
| enum | tenuInfoElementId { ISSID = 0, ISUPRATES = 1, IFHPARMS = 2, IDSPARMS = 3, ICFPARMS = 4, ITIM = 5, IIBPARMS = 6, ICOUNTRY = 7, IEDCAPARAMS = 12, ITSPEC = 13, ITCLAS = 14, ISCHED = 15, ICTEXT = 16, IPOWERCONSTRAINT = 32, IPOWERCAPABILITY = 33, ITPCREQUEST = 34, ITPCREPORT = 35 , ICHSWANNOUNC = 37, IMEASUREMENTREQUEST = 38, IMEASUREMENTREPORT = 39, IQUIET = 40, IIBSSDFS = 41, IERPINFO = 42, ITSDELAY = 43, ITCLASPROCESS = 44, IHTCAP = 45, IQOSCAP = 46, IRSNELEMENT = 48, IEXSUPRATES = 50, IEXCHSWANNOUNC = 60, IHTOPERATION = 61, ISECCHOFF = 62, I2040COEX = 72, I2040INTOLCHREPORT = 73, IOBSSSCAN = 74, IEXTCAP = 127, IWMM = 221, IWPAELEMENT = 221 } |
Enumeration for the Wi-Fi Information Element(IE) IDs, which indicates the specific type of IEs. IEs are management frame information included in management frames. Values are defined as per the IEEE 802.11 standard. More... | |
| enum | tenuWifiCapability { ESS = 0x01, IBSS = 0x02, POLLABLE = 0x04, POLLREQ = 0x08, PRIVACY = 0x10, SHORTPREAMBLE = 0x20, SHORTSLOT = 0x400, PBCC = 0x40, CHANNELAGILITY = 0x80, SPECTRUM_MGMT = 0x100, DSSS_OFDM = 0x2000 } |
Detailed Description
WINC WLAN Application Interface.
Copyright (c) 2016-2017 Atmel Corporation. All rights reserved.
Definition in file m2m_wifi.h.
Generated on Wed Jul 13 2022 16:32:37 by
1.7.2