Specifies the enums and Data Structures used by the Wlan APIs.
Modules | |
Function | |
Here are listed all the functions that implement the Wlan APIs. | |
m2m_wifi_init | |
Synchronous initialization functions for the WILC driver. | |
m2m_wifi_deinit | |
Synchronous deinitialization function to the WILC1000 driver. | |
m2m_wifi_handle_events | |
Synchronous M2M event handler function, responsible for handling interrupts received from the WILC firmware. | |
m2m_wifi_connect | |
Asynchronous wi-fi connection function to a specific AP. | |
m2m_wifi_disconnect | |
Synchronous wi-fi disconnection function, requesting a Wi-Fi disconnect from the currently connected AP. | |
m2m_wifi_get_connection_info | |
Asynchronous connection status retrieval function, retrieves the status information of the currently connected AP. | |
m2m_wifi_set_mac_address | |
Synchronous dual MAC address assigning to the WILC1500 . | |
m2m_wifi_wps | |
Asynchronous WPS triggering function. | |
m2m_wifi_wps_disable | |
Disable the NMC1500 WPS operation. | |
m2m_wifi_p2p | |
Asynchronous Wi-Fi direct (P2P) enabling mode function. | |
m2m_wifi_p2p_disconnect | |
Disable the NMC1500 device Wi-Fi direct mode (P2P). | |
m2m_wifi_enable_ap | |
Asychronous wi-fi hotspot enabling function. | |
m2m_wifi_disable_ap | |
Synchronous wi-fi hotspot disabling function. | |
m2m_wifi_set_scan_options | |
Synchronous wi-fi scan settings function. | |
m2m_wifi_set_scan_region | |
Synchronous wi-fi scan region setting function. | |
m2m_wifi_request_scan | |
Asynchronous wi-fi scan request on the given channel. | |
m2m_wifi_get_num_ap_found | |
Synchronous function to retrieve the number of AP's found in the last scan request, The function read the number of AP's from global variable which updated in the wi-fi callback fucntion through the M2M_WIFI_RESP_SCAN_DONE event. | |
m2m_wifi_req_scan_result | |
Synchronous call to read the AP information from the SCAN Result list with the given index. | |
m2m_wifi_req_curr_rssi | |
Asynchronous request for the current RSSI of the connected AP. | |
m2m_wifi_get_otp_mac_address | |
Request the MAC address stored on the OTP (one time programmable) memory of the device. | |
m2m_wifi_get_mac_address | |
Function to retrieve the current MAC address. | |
m2m_wifi_set_sleep_mode | |
Synchronous power-save mode setting function for the NMC1500. | |
m2m_wifi_get_sleep_mode | |
Synchronous power save mode retrieval function. | |
Data Structures | |
struct | tstr1xAuthCredentials |
Credentials for the user to authenticate with the AAA server (WPA-Enterprise Mode IEEE802.1x). More... | |
struct | tstrAuth1xMschap2 |
struct | tstrAuth1xTls |
struct | tstrAuthPsk |
struct | tstrAuthWep |
struct | tstrConfAutoRate |
Auto TX rate selection parameters passed to m2m_wifi_conf_auto_rate. More... | |
struct | tstrCyptoResp |
crypto response More... | |
struct | tstrEthInitParam |
Structure to hold ethernet interface parameters. More... | |
struct | tstrM2MAPAssocInfo |
M2M association information of the connected station in the AP mode. More... | |
struct | tstrM2MAPConfig |
AP Configuration. More... | |
struct | tstrM2MAPConfigExt |
AP Configuration Extension. More... | |
struct | tstrM2MAPModeConfig |
AP Configuration. More... | |
struct | tstrM2MAssocEntryInfo |
M2M association information of of an assoicated entry in the AP mode. More... | |
struct | tstrM2mBatteryVoltage |
Battery Voltage. More... | |
struct | tstrM2mClientState |
PS Client State. More... | |
struct | tstrM2mConnCredCmn |
Wi-Fi Connect Credentials Common section. More... | |
struct | tstrM2mConnCredHdr |
Wi-Fi Connect Credentials Header. More... | |
struct | tstrM2MConnInfo |
M2M Provisioning Information obtained from the HTTP Provisioning server. More... | |
struct | tstrM2MDataBufCtrl |
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 is placed in the tstrEthInitParam structure in the au8ethRcvBuf attribute. This following information is retreived in the host when an event M2M_WIFI_RESP_ETHERNET_RX_PACKET is received in the wi-fi callback function tpfAppWifiCb. More... | |
struct | tstrM2MDefaultConnResp |
Response error of the m2m_default_connect. More... | |
struct | tstrM2MDeviceNameConfig |
Device name. More... | |
struct | tstrM2mEnableLogs |
Enable Firmware logs. More... | |
struct | tstrM2MGenericResp |
Generic success/error response. More... | |
struct | tstrM2MIfId |
Set Intrface ID. More... | |
struct | tstrM2MIPConfig |
Static IP configuration. 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::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 | tstrM2mIpRsvdPkt |
Received Packet Size and Data Offset. More... | |
struct | tstrM2mLsnInt |
Listen interval. More... | |
struct | tstrM2MMulticastMac |
M2M add/remove multicast mac address. More... | |
struct | tstrM2MP2PConnect |
Set the device to operate in the Wi-Fi Direct (P2P) mode. More... | |
struct | tstrM2MP2pDevInfo |
P2P Pin. More... | |
struct | tstrM2MPinInfo |
PIN Number (input) More... | |
struct | tstrM2MProvisionInfo |
M2M Provisioning Information obtained from the HTTP Provisioning server. More... | |
struct | tstrM2MProvisionModeConfig |
M2M Provisioning Mode Configuration. More... | |
struct | tstrM2mPsType |
Power Save Configuration. More... | |
struct | tstrM2mPwrMode |
Power Mode. More... | |
struct | tstrM2mReqScanResult |
Scan Result Request. More... | |
struct | tstrM2MScan |
Wi-Fi Scan Request. More... | |
struct | tstrM2mScanDone |
Wi-Fi Scan Result. More... | |
struct | tstrM2MScanList |
Wi-Fi channel list regulation. More... | |
struct | tstrM2MScanOption |
This struct contains the configuration options for Wi-Fi scan. More... | |
struct | tstrM2MScanRegion |
Wi-Fi channel regulation region information. More... | |
struct | tstrM2Mservercmd |
PS Server CMD. More... | |
struct | tstrM2mServerInit |
PS Server initialization. More... | |
struct | tstrM2mSetMacAddress |
Sets the MAC address from application. It is only intended for testing purpose. This method is not used for production SW. Production SW reads MAC Address from EFUSE. More... | |
struct | tstrM2mSlpReqTime |
Manual power save request sleep time. More... | |
struct | tstrM2MSNTPConfig |
SNTP Client Configuration. More... | |
struct | tstrM2MStopScanOption |
This struct holds additional configuration options for Wi-Fi scan. More... | |
struct | tstrM2mTxPwrLevel |
Tx power level. More... | |
struct | tstrM2MUserMaxTxRate |
User specified Max Tx Rate. More... | |
struct | tstrM2mWifi1xHdr |
Wi-Fi Authentication 802.1x header for parameters. The parameters (Domain, UserName, PrivateKey/Password) are appended to this structure. More... | |
struct | tstrM2mWifiApId |
Specify an access point (by SSID) More... | |
struct | tstrM2mWifiAuthInfoHdr |
Generic Wi-Fi authentication information to be sent in a separate HIF message of type M2M_WIFI_IND_CONN_PARAM (preceding M2M_WIFI_REQ_CONN). More... | |
struct | tstrM2mWifiConnect |
Wi-Fi Connect Request. More... | |
struct | tstrM2mWifiConnHdr |
Wi-Fi Connect Request (new format) for use with M2M_WIFI_REQ_CONN. This structure is sent across the HIF along with the relevant auth details. One of: tstrM2mWifiPsk tstrM2mWifiWep tstrM2mWifi1xHdr If further authentication details need to be sent (such as client certificate for 1x TLS), they are sent with header tstrM2mWifiAuthInfoHdr in a preceding HIF message of type M2M_WIFI_IND_CONN_PARAM. More... | |
struct | tstrM2mWiFiGainIdx |
Gain Table index selection corresponding to specific WiFi region. More... | |
struct | tstrM2mWifiGainsParams |
Gain Values. More... | |
struct | tstrM2MWifiMonitorModeCtrl |
Wi-Fi Monitor Mode Filter. More... | |
struct | tstrM2mWifiPsk |
Passphrase and PSK for WPA(2) PSK. More... | |
struct | tstrM2mWiFiRoaming |
Roaming related information . More... | |
struct | tstrM2MWifiRxPacketInfo |
Wi-Fi RX Frame Header. More... | |
struct | tstrM2mWifiscanResult |
Wi-Fi Scan Result. More... | |
struct | tstrM2MWifiSecInfo |
Authentication credentials to connect to a Wi-Fi network. More... | |
struct | tstrM2mWifiStateChanged |
Wi-Fi Connection State. More... | |
struct | tstrM2MWifiTxPacketInfo |
Wi-Fi Tx Packet Info. More... | |
struct | tstrM2mWifiWep |
WEP security key header. More... | |
struct | tstrM2mWifiWepParams |
WEP security key parameters. More... | |
struct | tstrM2mWiFiXOSleepEnable |
Choose to keep the XO on or off over deep sleep. More... | |
struct | tstrM2MWPSConnect |
WPS Configuration parameters. More... | |
struct | tstrM2MWPSInfo |
WPS Result. More... | |
struct | tstrNetworkId |
struct | tstrPrng |
M2M Request PRNG. More... | |
struct | tstrSystemTime |
Used for time storage. 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... | |
union | tuCtrlStruct |
union | tuniM2MWifiAuth |
Wi-Fi Security Parameters for all supported security modes. More... | |
Macros | |
#define | PAD_SZ(x) (4 - ((x) % 4)) |
Typedefs | |
typedef void(* | tpfAppEthCb )(uint8 u8MsgType, void *pvMsg, void *pvCtrlBuf) |
Ethernet notification callback function receiving events as defined in the Wi-Fi reponses enumeration tenuM2mStaCmd. More... | |
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. More... | |
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. More... | |
Functions | |
_Static_assert ((sizeof(tstrM2mPwrMode)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mTxPwrLevel)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWiFiGainIdx)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mEnableLogs)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mBatteryVoltage)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWiFiRoaming)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWiFiXOSleepEnable)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mConnCredHdr)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mConnCredCmn)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiWep)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiPsk)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifi1xHdr)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiAuthInfoHdr)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiConnHdr)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiApId)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MGenericResp)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MWPSConnect)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MDefaultConnResp)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MScanOption)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MStopScanOption)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MScanRegion)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrCyptoResp)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mScanDone)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mReqScanResult)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiscanResult)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiStateChanged)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mPsType)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mLsnInt)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MWifiMonitorModeCtrl)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MWifiRxPacketInfo)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MAPConfig)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MAPConfigExt)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MAPModeConfig)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mServerInit)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mClientState)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2Mservercmd)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mSetMacAddress)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MProvisionModeConfig)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MConnInfo)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MSNTPConfig)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrSystemTime)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MMulticastMac)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrPrng)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrConfAutoRate)%4)==0,"Structure alignment error") | |
NMI_API sint8 | m2m_wifi_set_p2p_pin (uint8 *pu8PinNumber, uint8 u8PinLength) |
NMI_API sint8 | m2m_wifi_set_device_name (uint8 *pu8DeviceName, uint8 u8DeviceNameLength) |
Set the WILC1000 device name which is used as P2P device name. More... | |
#define PAD_SZ | ( | x | ) | (4 - ((x) % 4)) |
< Padding bytes for forcing 4-byte alignment
void(* tpfAppEthCb)(uint8 u8MsgType, void *pvMsg, void *pvCtrlBuf) |
Ethernet notification callback function receiving events as defined in the Wi-Fi reponses enumeration tenuM2mStaCmd.
Ethernet (Bypass mode) notification callback function receiving Bypass mode events as defined in the Wi-Fi responses enumeration tenuM2mStaCmd.
[in] | u8MsgType | Type of 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. For example, it could be a pointer to the buffer holding the received frame in case of M2M_WIFI_RESP_ETHERNET_RX_PACKET event. |
[in] | pvControlBuf | A pointer to control buffer describing the accompanied message. To be casted to tstrM2MDataBufCtrl in case of M2M_WIFI_RESP_ETHERNET_RX_PACKET event. |
If bypass mode is enabled, applications must ensure this callback function is registered with the Wi-Fi driver by calling @ref m2m_wifi_init.
[in] | u8MsgType | Type of notification. Possible types are: |
[in] | pvMsg | A pointer to a buffer containing the notification parameters (if any). It should be cast to the correct data type corresponding to the notification type. |
For example, it could be a pointer to the buffer holding the received frame in case of M2M_WIFI_RESP_ETHERNET_RX_PACKET event.
[in] | pvControlBuf | A pointer to control buffer describing the accompanied message. To be cast to tstrM2mIpCtrlBuf in case of M2M_WIFI_RESP_ETHERNET_RX_PACKET event. |
If bypass mode is enabled, applications must ensure this callback function is registered with the Wi-Fi driver by calling @ref m2m_wifi_init.
[in] | u8MsgType | Type of notification. Possible types are: |
[in] | pvMsg | A pointer to a buffer containing the notification parameters (if any). It should be cast to the correct data type corresponding to the notification type. |
For example, it could be a pointer to the buffer holding the received frame in case a M2M_WIFI_RESP_ETHERNET_RX_PACKET event is received.
[in] | pvControlBuf | A pointer to control buffer describing the accompanied message. This must be cast to the data type tstrM2mIpCtrlBuf in case of M2M_WIFI_RESP_ETHERNET_RX_PACKET event. |
tpfAppMonCb |
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.
[in] | pstrWifiRxPacket | Pointer to a structure holding the Wi-Fi packet header parameters. |
[in] | pu8Payload | Pointer to the buffer holding the Wi-Fi packet payload information required by the application starting from the defined OFFSET by the application (when calling m2m_wifi_enable_monitoring_mode). Could hold a value of NULL, if the application does not need any data from the payload. |
[in] | u16PayloadSize | The size of the payload in bytes. |
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.
This is the main callback function for the Wi-Fi driver and is responsible for processing any M2M_WIFI events that are received on the Wi-Fi interface. These events (notifications) are usually received in response to earlier Wi-Fi requests such as m2m_wifi_request_scan, m2m_wifi_connect_open, m2m_wifi_get_connection_info m2m_wifi_req_curr_rssi, m2m_wifi_get_system_time, etc.
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 operations such as m2m_wifi_request_scan, m2m_wifi_connect_open, m2m_wifi_connect_wep, m2m_wifi_connect_psk, m2m_wifi_connect_1x_mschap2, m2m_wifi_connect_1x_tls.
[in] | u8MsgType | Type of notification. Possible types are: /ref M2M_WIFI_RESP_CON_STATE_CHANGED /ref M2M_WIFI_RESP_CONN_INFO /ref M2M_WIFI_REQ_WPS /ref M2M_WIFI_RESP_SCAN_DONE /ref M2M_WIFI_RESP_SCAN_RESULT /ref M2M_WIFI_RESP_CURRENT_RSSI /ref M2M_WIFI_RESP_DEFAULT_CONNECT /ref M2M_WIFI_RESP_ETHERNET_RX_PACKET |
In case Monitoring mode is used: M2M_WIFI_RESP_WIFI_RX_PACKET
[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. |
Wi-Fi 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 @ref m2m_wifi_init.
[in] | u8MsgType | Type of notification. Possible types are:
|
[in] | pvMsg | A pointer to a buffer containing the notification parameters (if any). It should be cast to the correct data type corresponding to the notification type. |
Most Wi-Fi APIs are implemented in an asynchronous mode and calling them generates information that is then passed back to the application via this callback. For instance, a set of detected networks to be passed back as a result to a call to @ref m2m_wifi_request_scan. Applications must ensure a callback function is registered with the Wi-Fi driver by calling @ref m2m_wifi_init.
[in] | u8MsgType | Type of notification. Possible types are:
|
[in] | pvMsg | A pointer to a buffer containing the notification parameters (if any). It should be cast to the correct data type corresponding to the notification type. |
enum tenu1xOption |
Enumerator | |
---|---|
WIFI_1X_BYPASS_SERVER_AUTH |
Server authentication for 802.1x connections. Values are of type int. |
WIFI_1X_SESSION_CACHING |
TLS session caching on/off for 802.1x connections. Values are of type int. |
WIFI_1X_SPECIFIC_ROOTCERT |
SHA1 digest of subject name of the root certificate to be used during server authentication. Values are: |
WIFI_1X_TIME_VERIF_MODE |
Mode for checking expiry of server certificate chain. Values are of type tenuSslCertExpSettings. Default is SSL_CERT_EXP_CHECK_EN_IF_SYS_TIME. |
WIFI_1X_BYPASS_SERVER_AUTH |
Server authentication for 802.1x connections. Values are of type int. |
WIFI_1X_TIME_VERIF_MODE |
Mode for checking expiry of server certificate chain. Values are of type tenuTlsCertExpSettings. Default is TLS_CERT_EXP_CHECK_EN_IF_SYS_TIME. |
WIFI_1X_SESSION_CACHING |
TLS session caching on/off for 802.1x connections. Values are of type int. |
WIFI_1X_SPECIFIC_ROOTCERT |
SHA1 digest of subject name of the root certificate to be used during server authentication. Values are: |
enum tenu1xOption |
Enumerator | |
---|---|
WIFI_1X_BYPASS_SERVER_AUTH |
Server authentication for 802.1x connections. Values are of type int. |
WIFI_1X_SESSION_CACHING |
TLS session caching on/off for 802.1x connections. Values are of type int. |
WIFI_1X_SPECIFIC_ROOTCERT |
SHA1 digest of subject name of the root certificate to be used during server authentication. Values are: |
WIFI_1X_TIME_VERIF_MODE |
Mode for checking expiry of server certificate chain. Values are of type tenuSslCertExpSettings. Default is SSL_CERT_EXP_CHECK_EN_IF_SYS_TIME. |
WIFI_1X_BYPASS_SERVER_AUTH |
Server authentication for 802.1x connections. Values are of type int. |
WIFI_1X_TIME_VERIF_MODE |
Mode for checking expiry of server certificate chain. Values are of type tenuTlsCertExpSettings. Default is TLS_CERT_EXP_CHECK_EN_IF_SYS_TIME. |
WIFI_1X_SESSION_CACHING |
TLS session caching on/off for 802.1x connections. Values are of type int. |
WIFI_1X_SPECIFIC_ROOTCERT |
SHA1 digest of subject name of the root certificate to be used during server authentication. Values are: |
enum tenuAntSelGpio |
enum tenuAntSwitchMode |
enum tenuControlInterface |
enum tenuCredStoreOption |
enum tenuCredStoreOption |
enum tenuFlashLUTEntryID |
enum tenuM2mApCmd |
This enum contains all the WILC commands while in AP mode.
This enum contains WINC commands while in AP mode.
enum tenuM2mApCmd |
enum tenuM2mApCmd |
enum tenuM2mConfigCmd |
This enum contains all the host commands used to configure the WILC board.
This enum contains host commands used to configure the WINC board.
enum tenuM2mConfigCmd |
enum tenuM2mConfigCmd |
enum tenuM2mConnState |
Wi-Fi Connection State.
This enum contains all the Wi-Fi connection states.
enum tenuM2mConnState |
enum tenuM2mConnState |
enum tenuM2mCryptoCmd |
enum tenuM2mGenCmd |
Enumerator | |
---|---|
M2M_WIFI_REQ_ROAMING |
Request to enable/disable wifi roaming. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_REQ_XO_SLEEP_ENABLE |
Request to enable/disable the crystal oscillator during deep sleep. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_REQ_SET_STOP_SCAN_OPTION |
Set Scan option to stop on first result. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_MAX_GEN_ALL | |
M2M_WIFI_REQRSP_DELETE_APID |
Request/response to delete security credentials from WINC flash. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_REQ_ROAMING |
Request to enable/disable wifi roaming. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_REQ_SCAN_SSID_LIST |
Request scan with list of hidden SSID plus the broadcast scan. |
M2M_WIFI_REQ_SET_STOP_SCAN_OPTION |
Set Scan option to stop on first result. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_MAX_GEN_ALL |
enum tenuM2mGenCmd |
This enum contains additional WINC commands (overflow of previous enums).
Enumerator | |
---|---|
M2M_WIFI_REQ_ROAMING |
Request to enable/disable wifi roaming. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_REQ_XO_SLEEP_ENABLE |
Request to enable/disable the crystal oscillator during deep sleep. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_REQ_SET_STOP_SCAN_OPTION |
Set Scan option to stop on first result. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_MAX_GEN_ALL | |
M2M_WIFI_REQRSP_DELETE_APID |
Request/response to delete security credentials from WINC flash. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_REQ_ROAMING |
Request to enable/disable wifi roaming. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_REQ_SCAN_SSID_LIST |
Request scan with list of hidden SSID plus the broadcast scan. |
M2M_WIFI_REQ_SET_STOP_SCAN_OPTION |
Set Scan option to stop on first result. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_MAX_GEN_ALL |
enum tenuM2mIpCmd |
enum tenuM2mIpCmd |
enum tenuM2mP2pCmd |
This enum contains all the WILC commands while in P2P mode.
This enum contains WINC commands while in P2P mode.
enum tenuM2mP2pCmd |
enum tenuM2mPwrMode |
enum tenuM2mPwrMode |
enum tenuM2mReqGroup |
enum tenuM2mReqGroup |
enum tenuM2mReqpkt |
enum tenuM2mReqpkt |
enum tenuM2mScanCh |
Wi-Fi RF Channels.
This enum contains all the Wi-Fi RF channels.
enum tenuM2mScanCh |
enum tenuM2mScanCh |
enum tenuM2mScanRegion |
Wi-Fi RF Channels.
This enum contains all the Wi-Fi channel regions.
enum tenuM2mScanRegion |
enum tenuM2mScanRegion |
enum tenuM2mSecType |
Wi-Fi Supported Security types.
This enum contains all the supported Wi-Fi SSID types.
This enum contains all the supported Wi-Fi security types.
Wi-Fi Supported SSID types.
enum tenuM2mSecType |
enum tenuM2mSecType |
enum tenuM2mServerCmd |
enum tenuM2mServerCmd |
This enum contains WINC commands while in PS mode. These command are currently not supported.
These commands are currently not supported.
enum tenuM2mSigmaCmd |
enum tenuM2mSigmaCmd |
This enum contains all the WINC commands related to Sigma.
enum tenuM2mSsidMode |
enum tenuM2mSsidMode |
enum tenuM2mSsidMode |
enum tenuM2mStaCmd |
This enum contains all the WILC commands while in Station mode.
This enum contains WINC commands while in Station mode.
Enumerator | |
---|---|
M2M_WIFI_REQ_CONNECT |
Connect with AP command. |
M2M_WIFI_REQ_GET_CONN_INFO |
Request connection information command. |
M2M_WIFI_RESP_CONN_INFO |
Request connection information response. |
M2M_WIFI_REQ_DISCONNECT |
Request to disconnect from AP command. |
M2M_WIFI_RESP_CON_STATE_CHANGED |
Connection state changed response. |
M2M_WIFI_REQ_SLEEP |
Set PS mode command. |
M2M_WIFI_REQ_SCAN |
Request scan command. |
M2M_WIFI_RESP_SCAN_DONE |
Scan complete notification response. |
M2M_WIFI_REQ_SCAN_RESULT |
Request Scan results command. |
M2M_WIFI_RESP_SCAN_RESULT |
Request Scan results resopnse. |
M2M_WIFI_REQ_START_WPS |
Request WPS start command. |
M2M_WIFI_REQ_DISABLE_WPS |
Request to disable WPS command. |
M2M_WIFI_RES_WPS |
Response to WPS start command. |
M2M_WIFI_RESP_IP_CONFIGURED |
This command is for internal use by the WILC and should not be used by the host driver. |
M2M_WIFI_RESP_IP_CONFLICT |
Response indicating a conflict in obtained IP address. The user should re attempt the DHCP request. |
M2M_WIFI_REQ_ENABLE_MONITORING |
Request to enable monitor mode command. |
M2M_WIFI_REQ_DISABLE_MONITORING |
Request to disable monitor mode command. |
M2M_WIFI_RESP_WIFI_RX_PACKET |
Indicate that a packet was received in monitor mode. |
M2M_WIFI_REQ_SEND_WIFI_PACKET |
Send packet in monitor mode. |
M2M_WIFI_REQ_LSN_INT |
Set WiFi listen interval. |
M2M_WIFI_REQ_SEND_ETHERNET_PACKET |
Send ethernet packet. |
M2M_WIFI_RESP_ETHERNET_RX_PACKET |
Receive ethernet packet. |
M2M_WIFI_REQ_SET_SCAN_OPTION |
Set Scan options "slot time, slot number .. etc" . |
M2M_WIFI_REQ_SET_SCAN_REGION |
Set scan region. |
M2M_WIFI_REQ_SET_SCAN_LIST |
Set scan channel list. |
M2M_WIFI_REQ_SET_MAC_MCAST |
Set the WILC multicast filters. |
M2M_WIFI_REQ_SET_P2P_IFC_ID |
Set P2P control Interface |
M2M_WIFI_RESP_PACKET_SENT |
Notification that the last packet sent to the firmware successfully. and the firmware is ready to receive the next packet |
M2M_WIFI_REQ_CERT_ADD_CHUNK |
Download one chunk of the certification |
M2M_WIFI_REQ_CERT_DOWNLOAD_DONE |
Certificate download done |
M2M_WIFI_REQ_CHG_MONITORING_CHNL |
Change monitoring channel |
M2M_WIFI_RESP_ANT_SWITCH_MODE |
Request connection information response. |
M2M_WIFI_REQ_P2P_AUTH |
Request to enter p2p pin |
M2M_WIFI_REQ_CONNECT |
Connect with AP command. This command is deprecated in favour of M2M_WIFI_REQ_CONN. |
M2M_WIFI_REQ_DEFAULT_CONNECT |
Connect with default AP command. |
M2M_WIFI_RESP_DEFAULT_CONNECT |
Request connection information response. |
M2M_WIFI_REQ_DISCONNECT |
Request to disconnect from AP command. |
M2M_WIFI_RESP_CON_STATE_CHANGED |
Connection state changed response. |
M2M_WIFI_REQ_SLEEP |
Set PS mode command. |
M2M_WIFI_REQ_WPS_SCAN |
Request WPS scan command. |
M2M_WIFI_REQ_WPS |
Request WPS start command. |
M2M_WIFI_REQ_START_WPS |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_REQ_DISABLE_WPS |
Request to disable WPS command. |
M2M_WIFI_REQ_DHCP_CONF |
Response indicating that IP address was obtained. |
M2M_WIFI_RESP_IP_CONFIGURED |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_RESP_IP_CONFLICT |
Response indicating a conflict in obtained IP address. The user should re attempt the DHCP request. |
M2M_WIFI_REQ_ENABLE_MONITORING |
Request to enable monitor mode command. |
M2M_WIFI_REQ_DISABLE_MONITORING |
Request to disable monitor mode command. |
M2M_WIFI_RESP_WIFI_RX_PACKET |
Indicate that a packet was received in monitor mode. |
M2M_WIFI_REQ_SEND_WIFI_PACKET |
Send packet in monitor mode. |
M2M_WIFI_REQ_LSN_INT |
Set WiFi listen interval. |
M2M_WIFI_REQ_DOZE |
Used to force the WINC to sleep in manual PS mode. |
M2M_WIFI_REQ_CONN |
New command to connect with AP. This replaces M2M_WIFI_REQ_CONNECT. (Firmware continues to handle M2M_WIFI_REQ_CONNECT for backwards compatibility purposes.) |
M2M_WIFI_IND_CONN_PARAM |
Provide extra information (such as Enterprise client certificate) required for connection. |
M2M_WIFI_REQ_DHCP_FAILURE |
Response indicating that IP address could not be obtained or renewed. If the IP could not be renewed then the previous IP will continue to be used. |
M2M_WIFI_MAX_STA_ALL | |
M2M_WIFI_REQ_CONNECT |
Request to connect with a specified AP. This command is deprecated in favour of M2M_WIFI_REQ_CONN. |
M2M_WIFI_REQ_DEFAULT_CONNECT |
Request to connect with a cached AP. |
M2M_WIFI_RESP_DEFAULT_CONNECT |
Response for the default connect. |
M2M_WIFI_REQ_DISCONNECT |
Request to disconnect from the AP. |
M2M_WIFI_RESP_CON_STATE_CHANGED |
Response to indicate a change in the connection state. |
M2M_WIFI_REQ_SLEEP |
Request to sleep. |
M2M_WIFI_REQ_WPS_SCAN |
Request to WPS scan. |
M2M_WIFI_REQ_WPS |
Request to start WPS. |
M2M_WIFI_REQ_START_WPS |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_REQ_DISABLE_WPS |
Request to disable WPS. |
M2M_WIFI_REQ_DHCP_CONF |
Response to indicate the obtained IP address. |
M2M_WIFI_RESP_IP_CONFIGURED |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_RESP_IP_CONFLICT |
Response to indicate a conflict in obtained IP address. The user should re attempt the DHCP request. |
M2M_WIFI_REQ_ENABLE_MONITORING |
Request to enable monitor mode. |
M2M_WIFI_REQ_DISABLE_MONITORING |
Request to disable monitor mode. |
M2M_WIFI_RESP_WIFI_RX_PACKET |
Response to indicate a packet was received in monitor mode. |
M2M_WIFI_REQ_SEND_WIFI_PACKET |
Request to send a packet in monitor mode. |
M2M_WIFI_REQ_LSN_INT |
Request to set the listen interval. |
M2M_WIFI_REQ_DOZE |
Request to doze |
M2M_WIFI_REQ_GET_PRNG |
Request PRNG. |
M2M_WIFI_RESP_GET_PRNG |
Response for PRNG. |
M2M_WIFI_REQ_CONN |
New command to connect with AP. This replaces M2M_WIFI_REQ_CONNECT. (Firmware continues to handle M2M_WIFI_REQ_CONNECT for backwards compatibility purposes.) |
M2M_WIFI_IND_CONN_PARAM |
Provide extra information (such as Enterprise client certificate) required for connection. |
M2M_WIFI_MAX_STA_ALL |
enum tenuM2mStaCmd |
Enumerator | |
---|---|
M2M_WIFI_REQ_CONNECT |
Connect with AP command. |
M2M_WIFI_REQ_GET_CONN_INFO |
Request connection information command. |
M2M_WIFI_RESP_CONN_INFO |
Request connection information response. |
M2M_WIFI_REQ_DISCONNECT |
Request to disconnect from AP command. |
M2M_WIFI_RESP_CON_STATE_CHANGED |
Connection state changed response. |
M2M_WIFI_REQ_SLEEP |
Set PS mode command. |
M2M_WIFI_REQ_SCAN |
Request scan command. |
M2M_WIFI_RESP_SCAN_DONE |
Scan complete notification response. |
M2M_WIFI_REQ_SCAN_RESULT |
Request Scan results command. |
M2M_WIFI_RESP_SCAN_RESULT |
Request Scan results resopnse. |
M2M_WIFI_REQ_START_WPS |
Request WPS start command. |
M2M_WIFI_REQ_DISABLE_WPS |
Request to disable WPS command. |
M2M_WIFI_RES_WPS |
Response to WPS start command. |
M2M_WIFI_RESP_IP_CONFIGURED |
This command is for internal use by the WILC and should not be used by the host driver. |
M2M_WIFI_RESP_IP_CONFLICT |
Response indicating a conflict in obtained IP address. The user should re attempt the DHCP request. |
M2M_WIFI_REQ_ENABLE_MONITORING |
Request to enable monitor mode command. |
M2M_WIFI_REQ_DISABLE_MONITORING |
Request to disable monitor mode command. |
M2M_WIFI_RESP_WIFI_RX_PACKET |
Indicate that a packet was received in monitor mode. |
M2M_WIFI_REQ_SEND_WIFI_PACKET |
Send packet in monitor mode. |
M2M_WIFI_REQ_LSN_INT |
Set WiFi listen interval. |
M2M_WIFI_REQ_SEND_ETHERNET_PACKET |
Send ethernet packet. |
M2M_WIFI_RESP_ETHERNET_RX_PACKET |
Receive ethernet packet. |
M2M_WIFI_REQ_SET_SCAN_OPTION |
Set Scan options "slot time, slot number .. etc" . |
M2M_WIFI_REQ_SET_SCAN_REGION |
Set scan region. |
M2M_WIFI_REQ_SET_SCAN_LIST |
Set scan channel list. |
M2M_WIFI_REQ_SET_MAC_MCAST |
Set the WILC multicast filters. |
M2M_WIFI_REQ_SET_P2P_IFC_ID |
Set P2P control Interface |
M2M_WIFI_RESP_PACKET_SENT |
Notification that the last packet sent to the firmware successfully. and the firmware is ready to receive the next packet |
M2M_WIFI_REQ_CERT_ADD_CHUNK |
Download one chunk of the certification |
M2M_WIFI_REQ_CERT_DOWNLOAD_DONE |
Certificate download done |
M2M_WIFI_REQ_CHG_MONITORING_CHNL |
Change monitoring channel |
M2M_WIFI_RESP_ANT_SWITCH_MODE |
Request connection information response. |
M2M_WIFI_REQ_P2P_AUTH |
Request to enter p2p pin |
M2M_WIFI_REQ_CONNECT |
Connect with AP command. This command is deprecated in favour of M2M_WIFI_REQ_CONN. |
M2M_WIFI_REQ_DEFAULT_CONNECT |
Connect with default AP command. |
M2M_WIFI_RESP_DEFAULT_CONNECT |
Request connection information response. |
M2M_WIFI_REQ_DISCONNECT |
Request to disconnect from AP command. |
M2M_WIFI_RESP_CON_STATE_CHANGED |
Connection state changed response. |
M2M_WIFI_REQ_SLEEP |
Set PS mode command. |
M2M_WIFI_REQ_WPS_SCAN |
Request WPS scan command. |
M2M_WIFI_REQ_WPS |
Request WPS start command. |
M2M_WIFI_REQ_START_WPS |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_REQ_DISABLE_WPS |
Request to disable WPS command. |
M2M_WIFI_REQ_DHCP_CONF |
Response indicating that IP address was obtained. |
M2M_WIFI_RESP_IP_CONFIGURED |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_RESP_IP_CONFLICT |
Response indicating a conflict in obtained IP address. The user should re attempt the DHCP request. |
M2M_WIFI_REQ_ENABLE_MONITORING |
Request to enable monitor mode command. |
M2M_WIFI_REQ_DISABLE_MONITORING |
Request to disable monitor mode command. |
M2M_WIFI_RESP_WIFI_RX_PACKET |
Indicate that a packet was received in monitor mode. |
M2M_WIFI_REQ_SEND_WIFI_PACKET |
Send packet in monitor mode. |
M2M_WIFI_REQ_LSN_INT |
Set WiFi listen interval. |
M2M_WIFI_REQ_DOZE |
Used to force the WINC to sleep in manual PS mode. |
M2M_WIFI_REQ_CONN |
New command to connect with AP. This replaces M2M_WIFI_REQ_CONNECT. (Firmware continues to handle M2M_WIFI_REQ_CONNECT for backwards compatibility purposes.) |
M2M_WIFI_IND_CONN_PARAM |
Provide extra information (such as Enterprise client certificate) required for connection. |
M2M_WIFI_REQ_DHCP_FAILURE |
Response indicating that IP address could not be obtained or renewed. If the IP could not be renewed then the previous IP will continue to be used. |
M2M_WIFI_MAX_STA_ALL | |
M2M_WIFI_REQ_CONNECT |
Request to connect with a specified AP. This command is deprecated in favour of M2M_WIFI_REQ_CONN. |
M2M_WIFI_REQ_DEFAULT_CONNECT |
Request to connect with a cached AP. |
M2M_WIFI_RESP_DEFAULT_CONNECT |
Response for the default connect. |
M2M_WIFI_REQ_DISCONNECT |
Request to disconnect from the AP. |
M2M_WIFI_RESP_CON_STATE_CHANGED |
Response to indicate a change in the connection state. |
M2M_WIFI_REQ_SLEEP |
Request to sleep. |
M2M_WIFI_REQ_WPS_SCAN |
Request to WPS scan. |
M2M_WIFI_REQ_WPS |
Request to start WPS. |
M2M_WIFI_REQ_START_WPS |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_REQ_DISABLE_WPS |
Request to disable WPS. |
M2M_WIFI_REQ_DHCP_CONF |
Response to indicate the obtained IP address. |
M2M_WIFI_RESP_IP_CONFIGURED |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_RESP_IP_CONFLICT |
Response to indicate a conflict in obtained IP address. The user should re attempt the DHCP request. |
M2M_WIFI_REQ_ENABLE_MONITORING |
Request to enable monitor mode. |
M2M_WIFI_REQ_DISABLE_MONITORING |
Request to disable monitor mode. |
M2M_WIFI_RESP_WIFI_RX_PACKET |
Response to indicate a packet was received in monitor mode. |
M2M_WIFI_REQ_SEND_WIFI_PACKET |
Request to send a packet in monitor mode. |
M2M_WIFI_REQ_LSN_INT |
Request to set the listen interval. |
M2M_WIFI_REQ_DOZE |
Request to doze |
M2M_WIFI_REQ_GET_PRNG |
Request PRNG. |
M2M_WIFI_RESP_GET_PRNG |
Response for PRNG. |
M2M_WIFI_REQ_CONN |
New command to connect with AP. This replaces M2M_WIFI_REQ_CONNECT. (Firmware continues to handle M2M_WIFI_REQ_CONNECT for backwards compatibility purposes.) |
M2M_WIFI_IND_CONN_PARAM |
Provide extra information (such as Enterprise client certificate) required for connection. |
M2M_WIFI_MAX_STA_ALL |
enum tenuM2mStaCmd |
Enumerator | |
---|---|
M2M_WIFI_REQ_CONNECT |
Connect with AP command. |
M2M_WIFI_REQ_GET_CONN_INFO |
Request connection information command. |
M2M_WIFI_RESP_CONN_INFO |
Request connection information response. |
M2M_WIFI_REQ_DISCONNECT |
Request to disconnect from AP command. |
M2M_WIFI_RESP_CON_STATE_CHANGED |
Connection state changed response. |
M2M_WIFI_REQ_SLEEP |
Set PS mode command. |
M2M_WIFI_REQ_SCAN |
Request scan command. |
M2M_WIFI_RESP_SCAN_DONE |
Scan complete notification response. |
M2M_WIFI_REQ_SCAN_RESULT |
Request Scan results command. |
M2M_WIFI_RESP_SCAN_RESULT |
Request Scan results resopnse. |
M2M_WIFI_REQ_START_WPS |
Request WPS start command. |
M2M_WIFI_REQ_DISABLE_WPS |
Request to disable WPS command. |
M2M_WIFI_RES_WPS |
Response to WPS start command. |
M2M_WIFI_RESP_IP_CONFIGURED |
This command is for internal use by the WILC and should not be used by the host driver. |
M2M_WIFI_RESP_IP_CONFLICT |
Response indicating a conflict in obtained IP address. The user should re attempt the DHCP request. |
M2M_WIFI_REQ_ENABLE_MONITORING |
Request to enable monitor mode command. |
M2M_WIFI_REQ_DISABLE_MONITORING |
Request to disable monitor mode command. |
M2M_WIFI_RESP_WIFI_RX_PACKET |
Indicate that a packet was received in monitor mode. |
M2M_WIFI_REQ_SEND_WIFI_PACKET |
Send packet in monitor mode. |
M2M_WIFI_REQ_LSN_INT |
Set WiFi listen interval. |
M2M_WIFI_REQ_SEND_ETHERNET_PACKET |
Send ethernet packet. |
M2M_WIFI_RESP_ETHERNET_RX_PACKET |
Receive ethernet packet. |
M2M_WIFI_REQ_SET_SCAN_OPTION |
Set Scan options "slot time, slot number .. etc" . |
M2M_WIFI_REQ_SET_SCAN_REGION |
Set scan region. |
M2M_WIFI_REQ_SET_SCAN_LIST |
Set scan channel list. |
M2M_WIFI_REQ_SET_MAC_MCAST |
Set the WILC multicast filters. |
M2M_WIFI_REQ_SET_P2P_IFC_ID |
Set P2P control Interface |
M2M_WIFI_RESP_PACKET_SENT |
Notification that the last packet sent to the firmware successfully. and the firmware is ready to receive the next packet |
M2M_WIFI_REQ_CERT_ADD_CHUNK |
Download one chunk of the certification |
M2M_WIFI_REQ_CERT_DOWNLOAD_DONE |
Certificate download done |
M2M_WIFI_REQ_CHG_MONITORING_CHNL |
Change monitoring channel |
M2M_WIFI_RESP_ANT_SWITCH_MODE |
Request connection information response. |
M2M_WIFI_REQ_P2P_AUTH |
Request to enter p2p pin |
M2M_WIFI_REQ_CONNECT |
Connect with AP command. This command is deprecated in favour of M2M_WIFI_REQ_CONN. |
M2M_WIFI_REQ_DEFAULT_CONNECT |
Connect with default AP command. |
M2M_WIFI_RESP_DEFAULT_CONNECT |
Request connection information response. |
M2M_WIFI_REQ_DISCONNECT |
Request to disconnect from AP command. |
M2M_WIFI_RESP_CON_STATE_CHANGED |
Connection state changed response. |
M2M_WIFI_REQ_SLEEP |
Set PS mode command. |
M2M_WIFI_REQ_WPS_SCAN |
Request WPS scan command. |
M2M_WIFI_REQ_WPS |
Request WPS start command. |
M2M_WIFI_REQ_START_WPS |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_REQ_DISABLE_WPS |
Request to disable WPS command. |
M2M_WIFI_REQ_DHCP_CONF |
Response indicating that IP address was obtained. |
M2M_WIFI_RESP_IP_CONFIGURED |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_RESP_IP_CONFLICT |
Response indicating a conflict in obtained IP address. The user should re attempt the DHCP request. |
M2M_WIFI_REQ_ENABLE_MONITORING |
Request to enable monitor mode command. |
M2M_WIFI_REQ_DISABLE_MONITORING |
Request to disable monitor mode command. |
M2M_WIFI_RESP_WIFI_RX_PACKET |
Indicate that a packet was received in monitor mode. |
M2M_WIFI_REQ_SEND_WIFI_PACKET |
Send packet in monitor mode. |
M2M_WIFI_REQ_LSN_INT |
Set WiFi listen interval. |
M2M_WIFI_REQ_DOZE |
Used to force the WINC to sleep in manual PS mode. |
M2M_WIFI_REQ_CONN |
New command to connect with AP. This replaces M2M_WIFI_REQ_CONNECT. (Firmware continues to handle M2M_WIFI_REQ_CONNECT for backwards compatibility purposes.) |
M2M_WIFI_IND_CONN_PARAM |
Provide extra information (such as Enterprise client certificate) required for connection. |
M2M_WIFI_REQ_DHCP_FAILURE |
Response indicating that IP address could not be obtained or renewed. If the IP could not be renewed then the previous IP will continue to be used. |
M2M_WIFI_MAX_STA_ALL | |
M2M_WIFI_REQ_CONNECT |
Request to connect with a specified AP. This command is deprecated in favour of M2M_WIFI_REQ_CONN. |
M2M_WIFI_REQ_DEFAULT_CONNECT |
Request to connect with a cached AP. |
M2M_WIFI_RESP_DEFAULT_CONNECT |
Response for the default connect. |
M2M_WIFI_REQ_DISCONNECT |
Request to disconnect from the AP. |
M2M_WIFI_RESP_CON_STATE_CHANGED |
Response to indicate a change in the connection state. |
M2M_WIFI_REQ_SLEEP |
Request to sleep. |
M2M_WIFI_REQ_WPS_SCAN |
Request to WPS scan. |
M2M_WIFI_REQ_WPS |
Request to start WPS. |
M2M_WIFI_REQ_START_WPS |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_REQ_DISABLE_WPS |
Request to disable WPS. |
M2M_WIFI_REQ_DHCP_CONF |
Response to indicate the obtained IP address. |
M2M_WIFI_RESP_IP_CONFIGURED |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_RESP_IP_CONFLICT |
Response to indicate a conflict in obtained IP address. The user should re attempt the DHCP request. |
M2M_WIFI_REQ_ENABLE_MONITORING |
Request to enable monitor mode. |
M2M_WIFI_REQ_DISABLE_MONITORING |
Request to disable monitor mode. |
M2M_WIFI_RESP_WIFI_RX_PACKET |
Response to indicate a packet was received in monitor mode. |
M2M_WIFI_REQ_SEND_WIFI_PACKET |
Request to send a packet in monitor mode. |
M2M_WIFI_REQ_LSN_INT |
Request to set the listen interval. |
M2M_WIFI_REQ_DOZE |
Request to doze |
M2M_WIFI_REQ_GET_PRNG |
Request PRNG. |
M2M_WIFI_RESP_GET_PRNG |
Response for PRNG. |
M2M_WIFI_REQ_CONN |
New command to connect with AP. This replaces M2M_WIFI_REQ_CONNECT. (Firmware continues to handle M2M_WIFI_REQ_CONNECT for backwards compatibility purposes.) |
M2M_WIFI_IND_CONN_PARAM |
Provide extra information (such as Enterprise client certificate) required for connection. |
M2M_WIFI_MAX_STA_ALL |
enum tenuM2mTxPwrLevel |
enum tenuM2mTxPwrLevel |
enum tenuM2mWepAuthType |
enum tenuM2mWepKeyIndex |
Index for WEP key Authentication.
enum tenuM2mWepKeyIndex |
enum tenuM2mWepKeyIndex |
enum tenuM2mWifiMode |
enum tenuM2mWifiMode |
Wi-Fi Operation Mode.
This enum contains all the supported Wi-Fi Operation Modes.
enum holding P2P Control interface for different concurrency modes
enum tenuP2PTrigger |
enum tenuPowerSaveModes |
Power Save Modes.
This enum contains all the supported Wi-Fi Power Save modes.
enum tenuPowerSaveModes |
enum tenuPowerSaveModes |
enum tenuSNTPUseDHCP |
enum tenuSNTPUseDHCP |
Use NTP server provided by the DHCP server.
enum tenuSubTypes |
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.
TLS Certificate Expiry Validation Options.
enum tenuTxDataRate |
This enum contains all the phy tx rates.
enum tenuWifiFrameType |
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 constitues 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.
Enumerator | |
---|---|
MANAGEMENT |
Wi-Fi Management frame (Probe Req/Resp, Beacon, Association Req/Resp ...etc). |
CONTROL |
Wi-Fi Control frame (eg. ACK frame). |
DATA_BASICTYPE |
Wi-Fi Data frame. |
RESERVED |
enum tenuWifiState |
Enumeration for Wi-Fi state The following is used to track the state of the wifi (not initialized, initialized or started)
enum tenuWifiState |
enum tenuWlanTxRate |
All possible supported 802.11 WLAN TX rates.
enum tenuWPSTrigger |
WPS Triggering Methods.
This enum contains the WPS triggering methods.
enum tenuWPSTrigger |
enum tenuWPSTrigger |
_Static_assert | ( | (sizeof(tstrM2mPwrMode)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mTxPwrLevel)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWiFiGainIdx)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mEnableLogs)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mBatteryVoltage)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWiFiRoaming)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWiFiXOSleepEnable)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mConnCredHdr)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mConnCredCmn)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiWep)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiPsk)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifi1xHdr)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiAuthInfoHdr)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiConnHdr)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiApId)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MGenericResp)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MWPSConnect)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MDefaultConnResp)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MScanOption)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MStopScanOption)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MScanRegion)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrCyptoResp)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mScanDone)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mReqScanResult)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiscanResult)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiStateChanged)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mPsType)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mLsnInt)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MWifiMonitorModeCtrl)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MWifiRxPacketInfo)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MAPConfig)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MAPConfigExt)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MAPModeConfig)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mServerInit)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mClientState)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2Mservercmd)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mSetMacAddress)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MProvisionModeConfig)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MConnInfo)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MSNTPConfig)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrSystemTime)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MMulticastMac)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrPrng)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrConfAutoRate)%4) | = =0 , |
"Structure alignment error" | |||
) |
Set the WILC1000 device name which is used as P2P device name.
Asynchronous API to set the Wi-Fi Direct "Device Name" of the WINC.
Set the WINC3400 device name which is used as P2P device name.
Asynchronous API to set the "Device Name" of the WINC IC.
Sets the WINC device name. The name string is used as a device name in DHCP hostname (option 12).
m2m_wifi_set_device_name Set the WILC device name which is to be used as a P2P device name.
[in] | pu8DeviceName | Buffer holding the device name. |
[in] | u8DeviceNameLength | Length of the device name. |
[in] | pu8DeviceName | Buffer holding the device name. |
[in] | u8DeviceNameLength | Length of the device name. Should not exceed the maximum device name's length M2M_DEVICE_NAME_MAX. |
Sets the WINC device name. The name string is used as a device name in DHCP hostname (option 12). If a device is not set through this function a default name is assigned. The default name is WINC-XX-YY, where XX and YY are the last 2 octets of the OTP MAC address. If OTP (eFuse) is programmed, then the default name is WINC-00-00.
[in] | pu8DeviceName | Buffer holding the device name. Device name is a null terminated C string. |
[in] | u8DeviceNameLength | Length of the device name. Should not exceed the maximum device name's length M2M_DEVICE_NAME_MAX (including null character). |
Sets the WINC device name. The name string is used as a device name in DHCP hostname (option 12). If a device is not set through this function a default name is assigned. The default name is WINC-XX-YY, where XX and YY are the last 2 octets of the OTP MAC address. If OTP (eFuse) is programmed, then the default name is WINC-00-00.
[in] | pu8DeviceName | Buffer holding the device name. Device name is a null terminated C string. |
[in] | u8DeviceNameLength | Length of the device name. Should not exceed the maximum device name's length M2M_DEVICE_NAME_MAX (including null character). |
[in] | pu8PinNumber | PIN number for P2P PIN method. It must follow the rules stated by the WPS Standard. |
[in] | u8PinLength | Length of the PIN number. Should not exceed the maximum P2P_MAX_PIN_SIZE. |
References tstrM2MPinInfo::au8Pin, hif_send(), m2m_memcpy(), M2M_REQ_GRP_WIFI, M2M_WIFI_P2P_AUTH_RES, and NULL.
Referenced by m2m_wifi_allow_p2p_connection(), and os_m2m_wifi_set_p2p_pin_imp().