m2m_wifi.h
Go to the documentation of this file.
1 
38 #ifndef __M2M_WIFI_H__
39 #define __M2M_WIFI_H__
40 
41 /*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
42 INCLUDES
43 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*/
44 
47 #include "driver/source/nmdrv.h"
48 
49 /*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
50 MACROS
51 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*/
74 typedef enum {
75  MANAGEMENT = 0x00,
76  CONTROL = 0x04,
77  DATA_BASICTYPE = 0x08,
78  RESERVED = 0x0C
80 
81 
100 typedef enum {
101  /* Sub-Types related to Management */
102  ASSOC_REQ = 0x00,
103  ASSOC_RSP = 0x10,
104  REASSOC_REQ = 0x20,
105  REASSOC_RSP = 0x30,
106  PROBE_REQ = 0x40,
107  PROBE_RSP = 0x50,
108  BEACON = 0x80,
109  ATIM = 0x90,
110  DISASOC = 0xA0,
111  AUTH = 0xB0,
112  DEAUTH = 0xC0,
113  ACTION = 0xD0,
115  /* Sub-Types related to Control */
116  PS_POLL = 0xA4,
117  RTS = 0xB4,
118  CTS = 0xC4,
119  ACK = 0xD4,
120  CFEND = 0xE4,
121  CFEND_ACK = 0xF4,
122  BLOCKACK_REQ = 0x84,
123  BLOCKACK = 0x94,
125  /* Sub-Types related to Data */
126  DATA = 0x08,
127  DATA_ACK = 0x18,
128  DATA_POLL = 0x28,
129  DATA_POLL_ACK = 0x38,
130  NULL_FRAME = 0x48,
131  CFACK = 0x58,
132  CFPOLL = 0x68,
133  CFPOLL_ACK = 0x78,
134  QOS_DATA = 0x88,
135  QOS_DATA_ACK = 0x98,
136  QOS_DATA_POLL = 0xA8,
138  QOS_NULL_FRAME = 0xC8,
139  QOS_CFPOLL = 0xE8,
141 }tenuSubTypes;
142 
143 
157 typedef enum {
158  ISSID = 0,
159  ISUPRATES = 1,
160  IFHPARMS = 2,
161  IDSPARMS = 3,
162  ICFPARMS = 4,
163  ITIM = 5,
164  IIBPARMS = 6,
165  ICOUNTRY = 7,
166  IEDCAPARAMS = 12,
167  ITSPEC = 13,
168  ITCLAS = 14,
169  ISCHED = 15,
170  ICTEXT = 16,
173  ITPCREQUEST = 34,
174  ITPCREPORT = 35,
175  ISUPCHANNEL = 36,
179  IQUIET = 40,
180  IIBSSDFS = 41,
181  IERPINFO = 42,
182  ITSDELAY = 43,
184  IHTCAP = 45,
185  IQOSCAP = 46,
186  IRSNELEMENT = 48,
187  IEXSUPRATES = 50,
190  ISECCHOFF = 62,
191  I2040COEX = 72,
193  IOBSSSCAN = 74,
194  IEXTCAP = 127,
195  IWMM = 221,
196  IWPAELEMENT = 221
198 
213 typedef enum{
214  ESS = 0x01,
215  IBSS = 0x02,
216  POLLABLE = 0x04,
217  POLLREQ = 0x08,
218  PRIVACY = 0x10,
219  SHORTPREAMBLE = 0x20,
220  SHORTSLOT = 0x400,
221  PBCC = 0x40,
222  CHANNELAGILITY = 0x80,
223  SPECTRUM_MGMT = 0x100,
224  DSSS_OFDM = 0x2000
226 
227 
271 typedef void (*tpfAppWifiCb) (uint8 u8MsgType, void * pvMsg);
272 
300 typedef void (*tpfAppEthCb) (uint8 u8MsgType, void * pvMsg,void * pvCtrlBuf);
301 
330 typedef void (*tpfAppMonCb) (tstrM2MWifiRxPacketInfo *pstrWifiRxPacket, uint8 * pu8Payload, uint16 u16PayloadSize);
331 
350 typedef struct {
356 
379 typedef struct{
383 
384 
398 typedef struct {
403  uint8 __PAD24__[3];
405 
406 
407 /*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
408 FUNCTION PROTOTYPES
409 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*/
413 #ifdef __cplusplus
414  extern "C" {
415 #endif
416 
433 
485 NMI_API sint8 m2m_wifi_init(tstrWifiInitParam * pWifiInitParam);
486 
506 NMI_API sint8 m2m_wifi_deinit(void * arg);
507 
532 
553 
564 
588 NMI_API void m2m_wifi_yield(void);
603 
639 
704 NMI_API sint8 m2m_wifi_connect(char *pcSsid, uint8 u8SsidLen, uint8 u8SecType, void *pvAuthInfo, uint16 u16Ch);
705 
777 NMI_API sint8 m2m_wifi_connect_sc(char *pcSsid, uint8 u8SsidLen, uint8 u8SecType, void *pvAuthInfo, uint16 u16Ch, uint8 u8SaveCred);
778 
805 
929 NMI_API sint8 m2m_wifi_start_provision_mode(tstrM2MAPConfig *pstrAPConfig, char *pcHttpServerDomainName, uint8 bEnableHttpRedirect);
930 
951 
1042 
1063 NMI_API sint8 m2m_wifi_set_mac_address(uint8 au8MacAddress[6]);
1064 
1179 NMI_API sint8 m2m_wifi_wps(uint8 u8TriggerType,const char *pcPinNumber);
1180 
1193 
1279 NMI_API sint8 m2m_wifi_p2p(uint8 u8Channel);
1280 
1296 
1391 
1407 
1440 
1459 
1480 
1509 
1510 
1535 
1560 
1691 
1725 
1837 
1965 
2029 
2048 
2066 
2093 NMI_API sint8 m2m_wifi_get_otp_mac_address(uint8 *pu8MacAddr, uint8 * pu8IsValid);
2094 
2117 
2142 
2167 
2183 
2184 #if 0
2185 /*
2186  * These two functions are for a mode in which two WINC ICs communicate with each other
2187  * via probe request and probe response frames. This mode is not supported in WINC fw.
2188  */
2189 NMI_API sint8 m2m_wifi_req_client_ctrl(uint8 cmd);
2190 NMI_API sint8 m2m_wifi_req_server_init(uint8 ch);
2191 #endif
2192 
2209 NMI_API sint8 m2m_wifi_set_device_name(uint8 *pu8DeviceName, uint8 u8DeviceNameLength);
2210 
2232 
2336  uint16 u16BufferSize, uint16 u16DataOffset);
2337 
2352 
2379 NMI_API sint8 m2m_wifi_send_wlan_pkt(uint8 *pu8WlanPacket, uint16 u16WlanHeaderLength, uint16 u16WlanPktSize);
2380 
2404 NMI_API sint8 m2m_wifi_send_ethernet_pkt(uint8* pu8Packet,uint16 u16PacketSize);
2405 
2437 
2460 
2487 
2551 NMI_API sint8 m2m_wifi_set_cust_InfoElement(uint8* pau8M2mCustInfoElement);
2552 
2572 
2586 sint8 m2m_wifi_set_tx_power(uint8 u8TxPwrLevel);
2587 
2617 sint8 m2m_wifi_set_battery_voltage(uint16 u16BattVoltx100);
2618 
2636 
2637 
2666 NMI_API sint8 m2m_wifi_enable_mac_mcast(uint8* pu8MulticastMacAddress, uint8 u8AddRemove);
2667 
2688 NMI_API sint8 m2m_wifi_set_receive_buffer(void* pvBuffer,uint16 u16BufferLen);
2689 
2733 
2750 
2763 sint8 m2m_wifi_prng_get_random_bytes(uint8 * pu8PrngBuff,uint16 u16PrngSize);
2764 
2765 #ifdef __cplusplus
2766 }
2767 #endif
2768 #endif /* __M2M_WIFI_H__ */
2769 
sint8 m2m_wifi_reinit_start(tstrWifiInitParam *param)
Second part of m2m_wifi_reinit, continuing from where m2m_wifi_reinit_hold left off.
Definition: m2m_wifi.c:548
NMI_API sint8 m2m_wifi_connect(char *pcSsid, uint8 u8SsidLen, uint8 u8SecType, void *pvAuthInfo, uint16 u16Ch)
Asynchronous API to request connection to a specified access point.
Definition: m2m_wifi.c:577
NMI_API sint8 m2m_wifi_req_scan_result(uint8 index)
Asynchronous API to request the information of an access point discovered via scanning.
Definition: m2m_wifi.c:1007
NMI_API sint8 m2m_wifi_ble_api_send(uint8 *msg, uint32 len)
Definition: m2m_wifi.c:1479
NMI_API sint8 m2m_wifi_set_sleep_mode(uint8 PsTyp, uint8 BcastEn)
Synchronous API to set the power-save mode of the WINC IC.
Definition: m2m_wifi.c:1055
This module contains common APIs declarations.
bool param(const std::string &param_name, T &param_val, const T &default_val)
signed char sint8
Range of values between -128 to 127.
Definition: nm_bsp.h:111
sint8 m2m_wifi_set_power_profile(uint8 u8PwrMode)
Change the power profile mode.
Definition: m2m_wifi.c:1308
sint8 m2m_wifi_set_battery_voltage(uint16 u16BattVoltx100)
Enable or Disable logs in run time (Disable Firmware logs will enhance the firmware start-up time and...
Definition: m2m_wifi.c:1366
NMI_API sint8 m2m_wifi_disable_ap(void)
Synchronous API to disable access point mode on the WINC IC.
Definition: m2m_wifi.c:890
NMI_API sint8 m2m_wifi_set_scan_options(tstrM2MScanOption *ptstrM2MScanOption)
Synchronous API for configuring the behaviour of the WINC IC's network scanning functions.
Definition: m2m_wifi.c:758
tstrEthInitParam strEthInitParam
Definition: m2m_wifi.h:401
NMI_API sint8 m2m_wifi_start_provision_mode(tstrM2MAPConfig *pstrAPConfig, char *pcHttpServerDomainName, uint8 bEnableHttpRedirect)
Asynchronous API for control of Wi-Fi provisioning functionality.
Definition: m2m_wifi.c:1233
This module contains WINC3400 M2M driver APIs declarations.
sint8 m2m_wifi_prng_get_random_bytes(uint8 *pu8PrngBuff, uint16 u16PrngSize)
Get random bytes using the PRNG bytes.
Definition: m2m_wifi.c:1383
Definition: m2m_wifi.h:163
Structure to hold Ethernet interface parameters. Structure is to be defined and have its attributes s...
Definition: m2m_wifi.h:350
NMI_API sint8 m2m_wifi_wps(uint8 u8TriggerType, const char *pcPinNumber)
Asynchronous API to engage the WINC IC's Wi-Fi Protected Setup (enrolee) function.
Definition: m2m_wifi.c:809
Definition: m2m_wifi.h:221
NMI_API sint8 m2m_wifi_request_dhcp_client(void)
Legacy (deprecated) Asynchronous API for starting a DHCP client on the WINC IC.
Definition: m2m_wifi.c:717
string cmd
NMI_API sint8 m2m_wifi_deinit(void *arg)
Synchronous API that de-initialises the WINC driver.
Definition: m2m_wifi.c:534
tpfAppMonCb pfAppMonCb
Definition: m2m_wifi.h:400
Definition: m2m_wifi.h:119
Structure, holding the Wi-fi configuration attributes such as the wi-fi callback , monitoring mode callback and Ethernet parameter initialization structure. Such configuration parameters are required to be set before calling the wi-fi initialization function m2m_wifi_init. pfAppWifiCb attribute must be set to handle the wi-fi callback operations. pfAppMonCb attribute, is optional based on whether the application requires the monitoring mode configuration, and can there not be set before the initialization. strEthInitParam structure, is another optional configuration based on whether the bypass mode is set.
Definition: m2m_wifi.h:398
This struct contains the Wi-Fi RX Frame Header. The M2M application has the ability to allow Wi-Fi mo...
Definition: m2m_types.h:1494
NMI_API sint8 m2m_wifi_get_mac_address(uint8 *pu8MacAddr)
Synchronous API to retrieve the MAC address currently in use on the device.
Definition: m2m_wifi.c:975
Definition: m2m_wifi.h:118
NMI_API sint8 m2m_wifi_request_sleep(uint32 u32SlpReqTime)
Asynchronous API to place the WINC IC into sleep mode for a specified period of time.
Definition: m2m_wifi.c:1075
NMI_API sint8 m2m_wifi_set_device_name(uint8 *pu8DeviceName, uint8 u8DeviceNameLength)
Asynchronous API to set the Wi-Fi Direct "Device Name" of the WINC IC.
Definition: m2m_wifi.c:1098
WINC3400 IoT Application Interface Internal Types.
#define CONST
Definition: nm_bsp.h:49
tpfAppEthCb pfAppEthCb
Definition: m2m_wifi.h:352
Definition: m2m_wifi.h:215
NMI_API sint8 m2m_wifi_p2p_disconnect(void)
Synchronous API to disable Wi-Fi Direct (P2P) Mode on the WINC IC.
Definition: m2m_wifi.c:875
tenuInfoElementId
Enumeration for the Wi-Fi Information Element(IE) IDs, which indicates the specific type of IEs...
Definition: m2m_wifi.h:157
Definition: m2m_wifi.h:195
NMI_API sint8 m2m_wifi_req_curr_rssi(void)
Asynchronous API to request the current Receive Signal Strength (RSSI) of the current connection...
Definition: m2m_wifi.c:903
This struct contains the Wi-Fi Monitor Mode Filter. It sets the filtering criteria for WLAN packets w...
Definition: m2m_types.h:1465
This struct contains the Listen Interval. It is the value of the Wi-Fi StA Listen Interval when power...
Definition: m2m_types.h:1449
NMI_API sint8 m2m_wifi_enable_monitoring_mode(tstrM2MWifiMonitorModeCtrl *pstrMtrCtrl, uint8 *pu8PayloadBuffer, uint16 u16BufferSize, uint16 u16DataOffset)
Asynchronous call to enable Wi-Fi monitoring (promiscuous receive) mode.
unsigned short uint16
Range of values between 0 to 65535.
Definition: nm_bsp.h:96
NMI_API void m2m_wifi_yield(void)
Yield from processing more synchronous M2M events.
Definition: m2m_wifi.c:562
sint8 m2m_wifi_init_hold(void)
First part of m2m_wifi_init, up to the point of initializing spi for flash access.
Definition: m2m_wifi.c:463
void(* tpfAppWifiCb)(uint8 u8MsgType, void *pvMsg)
This is the main callback function for the Wi-Fi driver and is responsible for processing any M2M_WIF...
Definition: m2m_wifi.h:271
tenuWifiFrameType
Enumeration for Wi-Fi MAC frame type codes (2-bit) The following types are used to identify the type ...
Definition: m2m_wifi.h:74
uint16 u16DataSize
Definition: m2m_wifi.h:380
sint8 m2m_wifi_check_ota_rb(void)
Synchronous API to check presence and compatibility of the WINC image that is stored in the inactive ...
Definition: m2m_wifi.c:1159
NMI_API sint8 m2m_wifi_connect_sc(char *pcSsid, uint8 u8SsidLen, uint8 u8SecType, void *pvAuthInfo, uint16 u16Ch, uint8 u8SaveCred)
Asynchronous API to request connection to a specific AP with option to store credentials in flash...
Definition: m2m_wifi.c:581
Definition: m2m_wifi.h:126
uint8 * au8ethRcvBuf
Definition: m2m_wifi.h:353
sint8 m2m_wifi_enable_firmware_logs(uint8 u8Enable)
Enable or Disable logs in run time (Disable Firmware logs will enhance the firmware start-up time and...
Definition: m2m_wifi.c:1346
sint8 m2m_wifi_reinit_hold(void)
First part of m2m_wifi_reinit, up to the point of initializing spi for flash access.
Definition: m2m_wifi.c:543
sint8 m2m_wifi_get_firmware_version(tstrM2mRev *pstrRev)
Synchronous API to obtain the firmware version currently running on the WINC IC.
Definition: m2m_wifi.c:1137
NMI_API sint8 m2m_wifi_send_ethernet_pkt(uint8 *pu8Packet, uint16 u16PacketSize)
Asynchronous API to queue an Ethernet packet for transmission by the WINC IC.
Definition: m2m_wifi.c:924
NMI_API sint8 m2m_wifi_enable_dhcp(uint8 u8DhcpEn)
Asynchronous function to control the DHCP client functionality within the WINC IC.
Definition: m2m_wifi.c:738
NMI_API sint8 m2m_wifi_set_mac_address(uint8 au8MacAddress[6])
Synchronous API for assigning a MAC address to the WINC IC.
Definition: m2m_wifi.c:697
Definition: m2m_wifi.h:117
uint32 m2m_wifi_get_chipId(void)
Synchronous API to obtain the firmware WINC chip ID.
Definition: m2m_wifi.c:1121
NMI_API sint8 m2m_wifi_request_dhcp_server(uint8 *addr)
Legacy (deprecated) Asynchronous function to start a DHCP client on the WINC IC.
Definition: m2m_wifi.c:722
tpfAppWifiCb pfAppWifiCb
Definition: m2m_wifi.h:399
This struct contains the static IP configuration.
Definition: m2m_types.h:1672
tenuSubTypes
Enumeration for Wi-Fi MAC Frame subtype code (6-bit). The frame subtypes fall into one of the three f...
Definition: m2m_wifi.h:100
NMI_API sint8 m2m_wifi_request_scan(uint8 ch)
Asynchronous API to request the WINC IC perform a scan for networks.
Definition: m2m_wifi.c:775
NMI_API sint8 m2m_wifi_set_static_ip(tstrM2MIPConfig *pstrStaticIPConf)
Synchronous API to manually assign a (static) IP address to the WINC IC.
Definition: m2m_wifi.c:705
NMI_API sint8 m2m_wifi_download_mode(void)
Synchronous API that prepares the WINC IC to enter firmware or certificate download mode...
Definition: m2m_wifi.c:322
uint16 u16RemainigDataSize
Definition: m2m_wifi.h:381
NMI_API uint8 m2m_wifi_get_num_ap_found(void)
Synchronous API to retrieve the number of AP's found during the last scan operation.
Definition: m2m_wifi.c:1027
sint8 m2m_wifi_init_start(tstrWifiInitParam *param)
Second part of m2m_wifi_init, continuing from where m2m_wifi_init_hold left off.
Definition: m2m_wifi.c:472
NMI_API sint8 m2m_wifi_handle_events(void *arg)
Synchronous M2M event handler function.
Definition: m2m_wifi.c:567
tpfAppWifiCb pfAppWifiCb
Definition: m2m_wifi.h:351
NMI_API sint8 m2m_wifi_req_unrestrict_ble(void)
Asynchronous API to request un-restricting of BLE functionality by reverting the BLE processor to ful...
Definition: m2m_wifi.c:917
Structure holding the incoming buffer's data size information, indicating the data size of the buff...
Definition: m2m_wifi.h:379
sint8 m2m_wifi_request_scan_passive(uint8 ch)
Definition: m2m_wifi.c:792
NMI_API sint8 m2m_wifi_default_connect(void)
Asynchronous API that attempts to reconnect to the last-associated access point.
Definition: m2m_wifi.c:572
sint8 m2m_wifi_set_tx_power(uint8 u8TxPwrLevel)
set the TX power tenuM2mTxPwrLevel
Definition: m2m_wifi.c:1326
NMI_API sint8 m2m_wifi_get_otp_mac_address(uint8 *pu8MacAddr, uint8 *pu8IsValid)
Synchronous API to query the MAC address programmed into the WINC ICs OTP memory. ...
Definition: m2m_wifi.c:951
NMI_API sint8 m2m_wifi_set_receive_buffer(void *pvBuffer, uint16 u16BufferLen)
Asynchronous API to set or change the size of the WINC IC's receive buffer.
void(* tpfAppEthCb)(uint8 u8MsgType, void *pvMsg, void *pvCtrlBuf)
Ethernet (Bypass mode) notification callback function receiving Bypass mode events as defined in the ...
Definition: m2m_wifi.h:300
uint8 GainTableIndex
Definition: m2m_wifi.h:402
NMI_API sint8 m2m_wifi_stop_provision_mode(void)
Synchronous API for terminating provisioning mode on the WINC IC.
Definition: m2m_wifi.c:1263
NMI_API sint8 m2m_wifi_disable_monitoring_mode(void)
Asynchronous API to disable Wi-Fi monitoring (promiscuous receive) mode.
NMI_API sint8 m2m_wifi_set_scan_region(uint16 ScanRegion)
Synchronous API for configuring the regulatory restrictions that may affect the WINC ICs scanning beh...
Definition: m2m_wifi.c:767
uint16 u16ethRcvBufSize
Definition: m2m_wifi.h:354
This struct contains the configuration options for Wi-Fi scan.
Definition: m2m_types.h:1261
void(* tpfAppMonCb)(tstrM2MWifiRxPacketInfo *pstrWifiRxPacket, uint8 *pu8Payload, uint16 u16PayloadSize)
Wi-Fi monitoring mode callback function. This function delivers all received wi-Fi packets to the app...
Definition: m2m_wifi.h:330
unsigned long uint32
Range of values between 0 to 4294967295.
Definition: nm_bsp.h:103
NMI_API sint8 m2m_wifi_req_restrict_ble(void)
Asynchronous API to request restricting of BLE functionality by placing the BLE processor in a low po...
Definition: m2m_wifi.c:910
NMI_API sint8 m2m_wifi_get_connection_info(void)
Asynchronous API for retrieving the WINC IC's connection status.
Definition: m2m_wifi.c:1268
tenuWifiCapability
Enumeration for capability Information field bit. The value of the capability information field from ...
Definition: m2m_wifi.h:213
NMI_API uint8 m2m_wifi_get_sleep_mode(void)
Synchronous API to retrieve the current power save mode of the WINC IC.
Definition: m2m_wifi.c:1037
NMI_API sint8 m2m_wifi_init(tstrWifiInitParam *pWifiInitParam)
Synchronous API that initialises the WINC driver.
Definition: m2m_wifi.c:523
sint8 m2m_wifi_reinit(tstrWifiInitParam *param)
Deinitialize and reinitialize wifi. Resets the WINC. Parameter may be set to NULL, in which case there is no change to the parameters given at initialization.
Definition: m2m_wifi.c:552
unsigned char uint8
Range of values between 0 to 255.
Definition: nm_bsp.h:89
Definition: m2m_wifi.h:214
NMI_API sint8 m2m_wifi_enable_sntp(uint8 bEnable)
Asynchronous API to enable or disable the SNTP client running on the WINC IC.
Definition: m2m_wifi.c:1290
NMI_API sint8 m2m_wifi_enable_mac_mcast(uint8 *pu8MulticastMacAddress, uint8 u8AddRemove)
Asynchronous API to add or remove MAC addresses in the multicast filter.
NMI_API sint8 m2m_wifi_ble_set_gain_table(uint8 table_idx)
Asynchronous API that notifies the WINC with the Gain Table index from Flash that should use to confi...
Definition: m2m_wifi.c:451
NMI_API sint8 m2m_wifi_set_cust_InfoElement(uint8 *pau8M2mCustInfoElement)
Asynchronous API to add or remove a user-defined Information Element.
Definition: m2m_wifi.c:753
NMI_API sint8 m2m_wifi_set_lsn_int(tstrM2mLsnInt *pstrM2mLsnInt)
Asynchronous API to set Wi-Fi listen interval for power save operation.
Definition: m2m_wifi.c:748
This structure holds the configuration parameters for the AP mode. It should be set by the applicatio...
Definition: m2m_types.h:1564
NMI_API sint8 m2m_ota_get_firmware_version(tstrM2mRev *pstrRev)
Synchronous API to obtain the firmware version of the WINC image that is stored in the inactive flash...
Definition: m2m_wifi.c:1186
Definition: m2m_wifi.h:111
NMI_API sint8 m2m_wifi_p2p(uint8 u8Channel)
Asynchronous API for enabling Wi-Fi Direct (P2P) mode in the WINC IC.
Definition: m2m_wifi.c:859
Definition: m2m_wifi.h:109
NMI_API sint8 m2m_wifi_get_sytem_time(void)
Asynchronous API to obtain the system time in use by the WINC IC.
Definition: m2m_wifi.c:1285
NMI_API sint8 m2m_wifi_send_wlan_pkt(uint8 *pu8WlanPacket, uint16 u16WlanHeaderLength, uint16 u16WlanPktSize)
Asynchronous API to queue a raw Wi-Fi packet for transmission by the WINC IC.
NMI_API sint8 m2m_wifi_enable_ap(CONST tstrM2MAPConfig *pstrM2MAPConfig)
Asynchronous API to enable access point (AKA "hot-spot") mode on the WINC IC.
Definition: m2m_wifi.c:881
NMI_API sint8 m2m_wifi_disconnect(void)
Synchronous API to request disconnection from a network.
Definition: m2m_wifi.c:693
NMI_API sint8 m2m_wifi_wps_disable(void)
Synchronous API that disables Wi-Fi Protected Setup mode in the WINC IC.
Definition: m2m_wifi.c:820
Structure holding firmware version parameters and build date/time.
Definition: nmdrv.h:44
NMI_API sint8 m2m_wifi_set_sytem_time(uint32 u32UTCSeconds)
Asynchronous function for setting the system time within the WINC IC.
Definition: m2m_wifi.c:1273
#define NMI_API
Definition: nm_bsp.h:45


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:58