Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations and Typedefs

     Specifies the enums and Data Structures used by the Wlan APIs.

Data Structures

struct  tstr1xAuthCredentials
 
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. Structure is to be defined and have its attributes set, based on the application's functionality before a call is made to initialize the wi-fi operations by calling the m2m_wifi_init function. Part of the wi-fi configuration structure tstrWifiInitParam. Applications shouldn't need to define this structure, if the bypass mode is not defined. More...
 
struct  tstrM2MAPConfig
 AP Configuration. More...
 
struct  tstrM2MAPConfigExt
 AP Configuration Extension. More...
 
struct  tstrM2MAPModeConfig
 AP Configuration. 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  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  tstrM2MIPConfig
 IP configuration (static/DHCP). The same structure is used for DCHP callback as well as 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 multi-cast mac address. 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  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. The WINC load the mac address from the effuse by default to the WINC configuration memory, but that function is used to let the application overwrite the configuration memory with the mac address from the host. 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  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  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  tstrM2mWifiStateChanged
 Wi-Fi Connection State. More...
 
struct  tstrM2MWifiTxPacketInfo
 Wi-Fi TX Packet Info. More...
 
struct  tstrM2mWifiWep
 WEP security key header. More...
 
struct  tstrM2mWifiWepParams
 
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...
 

Enumerations

enum  tenu1xOption {
  WIFI_1X_BYPASS_SERVER_AUTH,
  WIFI_1X_SESSION_CACHING,
  WIFI_1X_SPECIFIC_ROOTCERT,
  WIFI_1X_TIME_VERIF_MODE
}
 
enum  tenuCredStoreOption {
  WIFI_CRED_DONTSAVE,
  WIFI_CRED_SAVE_UNENCRYPTED,
  WIFI_CRED_SAVE_ENCRYPTED
}
 
enum  tenuFlashLUTEntryID {
  ENTRY_ID_FW = 0x0011,
  ENTRY_ID_PLLGAIN = 0x0021,
  ENTRY_ID_TLSROOT = 0x0031,
  ENTRY_ID_TLSCLIENT = 0x0032,
  ENTRY_ID_TLSSERVER = 0x0033,
  ENTRY_ID_CONNPARAMS = 0x0034,
  ENTRY_ID_HTTPFILES = 0x0035,
  ENTRY_ID_TLSCOMMON = 0x0036,
  ENTRY_ID_HOSTFILE = 0x0041
}
 
enum  tenuM2mApCmd {
  M2M_WIFI_REQ_ENABLE_AP = M2M_AP_CMD_BASE,
  M2M_WIFI_REQ_DISABLE_AP,
  M2M_WIFI_REQ_RESTART_AP,
  M2M_WIFI_MAX_AP_ALL
}
 This enum contains WINC commands while in AP mode. More...
 
enum  tenuM2mConfigCmd {
  M2M_WIFI_REQ_RESTART = M2M_CONFIG_CMD_BASE,
  M2M_WIFI_REQ_SET_MAC_ADDRESS,
  M2M_WIFI_REQ_CURRENT_RSSI,
  M2M_WIFI_RESP_CURRENT_RSSI,
  M2M_WIFI_REQ_GET_CONN_INFO,
  M2M_WIFI_RESP_CONN_INFO,
  M2M_WIFI_REQ_SET_DEVICE_NAME,
  M2M_WIFI_REQ_START_PROVISION_MODE,
  M2M_WIFI_RESP_PROVISION_INFO,
  M2M_WIFI_REQ_STOP_PROVISION_MODE,
  M2M_WIFI_REQ_SET_SYS_TIME,
  M2M_WIFI_REQ_ENABLE_SNTP_CLIENT,
  M2M_WIFI_REQ_DISABLE_SNTP_CLIENT,
  M2M_WIFI_RESP_MEMORY_RECOVER,
  M2M_WIFI_REQ_CUST_INFO_ELEMENT,
  M2M_WIFI_REQ_SCAN,
  M2M_WIFI_RESP_SCAN_DONE,
  M2M_WIFI_REQ_SCAN_RESULT,
  M2M_WIFI_RESP_SCAN_RESULT,
  M2M_WIFI_REQ_SET_SCAN_OPTION,
  M2M_WIFI_REQ_SET_SCAN_REGION,
  M2M_WIFI_REQ_SET_POWER_PROFILE,
  M2M_WIFI_REQ_SET_TX_POWER,
  M2M_WIFI_REQ_SET_BATTERY_VOLTAGE,
  M2M_WIFI_REQ_SET_ENABLE_LOGS,
  M2M_WIFI_REQ_GET_SYS_TIME,
  M2M_WIFI_RESP_GET_SYS_TIME,
  M2M_WIFI_REQ_SEND_ETHERNET_PACKET,
  M2M_WIFI_RESP_ETHERNET_RX_PACKET,
  M2M_WIFI_REQ_SET_MAC_MCAST,
  M2M_WIFI_REQ_GET_PRNG,
  M2M_WIFI_RESP_GET_PRNG,
  M2M_WIFI_REQ_SCAN_SSID_LIST,
  M2M_WIFI_REQ_SET_GAINS,
  M2M_WIFI_REQ_PASSIVE_SCAN,
  M2M_WIFI_REQ_CONG_AUTO_RATE,
  M2M_WIFI_REQ_CONFIG_SNTP,
  M2M_WIFI_REQ_SET_GAIN_TABLE_IDX,
  M2M_WIFI_REQRSP_DELETE_APID,
  M2M_WIFI_MAX_CONFIG_ALL
}
 This enum contains host commands used to configure the WINC board. More...
 
enum  tenuM2mConnChangedErrcode {
  M2M_ERR_SCAN_FAIL = ((uint8)1),
  M2M_ERR_JOIN_FAIL,
  M2M_ERR_AUTH_FAIL,
  M2M_ERR_ASSOC_FAIL,
  M2M_ERR_CONN_INPROGRESS
}
 
enum  tenuM2mConnState {
  M2M_WIFI_DISCONNECTED = 0,
  M2M_WIFI_CONNECTED,
  M2M_WIFI_ROAMED,
  M2M_WIFI_UNDEF = 0xff
}
 Wi-Fi Connection State. More...
 
enum  tenuM2mCryptoCmd {
  M2M_CRYPTO_REQ_SHA256_INIT = M2M_CRYPTO_CMD_BASE,
  M2M_CRYPTO_RESP_SHA256_INIT,
  M2M_CRYPTO_REQ_SHA256_UPDATE,
  M2M_CRYPTO_RESP_SHA256_UPDATE,
  M2M_CRYPTO_REQ_SHA256_FINISH,
  M2M_CRYPTO_RESP_SHA256_FINISH,
  M2M_CRYPTO_REQ_RSA_SIGN_GEN,
  M2M_CRYPTO_RESP_RSA_SIGN_GEN,
  M2M_CRYPTO_REQ_RSA_SIGN_VERIFY,
  M2M_CRYPTO_RESP_RSA_SIGN_VERIFY,
  M2M_CRYPTO_MAX_ALL
}
 
enum  tenuM2mDefaultConnErrcode {
  M2M_DEFAULT_CONN_INPROGRESS = ((sint8)-23),
  M2M_DEFAULT_CONN_FAIL,
  M2M_DEFAULT_CONN_SCAN_MISMATCH,
  M2M_DEFAULT_CONN_EMPTY_LIST
}
 
enum  tenuM2mGenCmd {
  M2M_WIFI_REQ_ROAMING = M2M_GEN_CMD_BASE,
  M2M_WIFI_REQ_XO_SLEEP_ENABLE,
  M2M_WIFI_REQ_SET_STOP_SCAN_OPTION,
  M2M_WIFI_MAX_GEN_ALL
}
 This enum contains additional WINC commands (overflow of previous enums). More...
 
enum  tenuM2mIpCmd {
  M2M_IP_REQ_STATIC_IP_CONF = ((uint8) 10),
  M2M_IP_REQ_ENABLE_DHCP,
  M2M_IP_REQ_DISABLE_DHCP
}
 
enum  tenuM2mPwrMode {
  PWR_AUTO = ((uint8) 1),
  PWR_LOW1,
  PWR_LOW2,
  PWR_HIGH
}
 
enum  tenuM2mReqGroup {
  M2M_REQ_GROUP_MAIN = 0,
  M2M_REQ_GROUP_WIFI,
  M2M_REQ_GROUP_IP,
  M2M_REQ_GROUP_HIF,
  M2M_REQ_GROUP_OTA,
  M2M_REQ_GROUP_SSL,
  M2M_REQ_GROUP_CRYPTO,
  M2M_REQ_GROUP_SIGMA,
  M2M_REQ_GROUP_INTERNAL
}
 
enum  tenuM2mReqpkt {
  M2M_REQ_CONFIG_PKT,
  M2M_REQ_DATA_PKT = 0x80
}
 
enum  tenuM2mScanCh {
  M2M_WIFI_CH_1 = ((uint8) 1),
  M2M_WIFI_CH_2,
  M2M_WIFI_CH_3,
  M2M_WIFI_CH_4,
  M2M_WIFI_CH_5,
  M2M_WIFI_CH_6,
  M2M_WIFI_CH_7,
  M2M_WIFI_CH_8,
  M2M_WIFI_CH_9,
  M2M_WIFI_CH_10,
  M2M_WIFI_CH_11,
  M2M_WIFI_CH_12,
  M2M_WIFI_CH_13,
  M2M_WIFI_CH_14,
  M2M_WIFI_CH_ALL = ((uint8) 255)
}
 Wi-Fi RF Channels. More...
 
enum  tenuM2mScanRegion {
  REG_CH_1 = ((uint16) 1 << 0),
  REG_CH_2 = ((uint16) 1 << 1),
  REG_CH_3 = ((uint16) 1 << 2),
  REG_CH_4 = ((uint16) 1 << 3),
  REG_CH_5 = ((uint16) 1 << 4),
  REG_CH_6 = ((uint16) 1 << 5),
  REG_CH_7 = ((uint16) 1 << 6),
  REG_CH_8 = ((uint16) 1 << 7),
  REG_CH_9 = ((uint16) 1 << 8),
  REG_CH_10 = ((uint16) 1 << 9),
  REG_CH_11 = ((uint16) 1 << 10),
  REG_CH_12 = ((uint16) 1 << 11),
  REG_CH_13 = ((uint16) 1 << 12),
  REG_CH_14 = ((uint16) 1 << 13),
  REG_CH_ALL = ((uint16) 0x3FFF),
  NORTH_AMERICA = ((uint16) 0x7FF),
  EUROPE = ((uint16) 0x1FFF),
  ASIA = ((uint16) 0x3FFF)
}
 Wi-Fi RF Channels. More...
 
enum  tenuM2mSecType {
  M2M_WIFI_SEC_INVALID = 0,
  M2M_WIFI_SEC_OPEN,
  M2M_WIFI_SEC_WPA_PSK,
  M2M_WIFI_SEC_WEP,
  M2M_WIFI_SEC_802_1X,
  M2M_WIFI_NUM_AUTH_TYPES
}
 Wi-Fi Supported Security types. More...
 
enum  tenuM2mServerCmd {
  M2M_WIFI_REQ_CLIENT_CTRL = M2M_SERVER_CMD_BASE,
  M2M_WIFI_RESP_CLIENT_INFO,
  M2M_WIFI_REQ_SERVER_INIT,
  M2M_WIFI_MAX_SERVER_ALL
}
 This enum contains WINC commands while in PS mode. These command are currently not supported. More...
 
enum  tenuM2mSigmaCmd {
  M2M_SIGMA_ENABLE = ((uint8) 3),
  M2M_SIGMA_TA_START,
  M2M_SIGMA_TA_STATS,
  M2M_SIGMA_TA_RECEIVE_STOP,
  M2M_SIGMA_ICMP_ARP,
  M2M_SIGMA_ICMP_RX,
  M2M_SIGMA_ICMP_TX,
  M2M_SIGMA_UDP_TX,
  M2M_SIGMA_UDP_TX_DEFER,
  M2M_SIGMA_SECURITY_POLICY,
  M2M_SIGMA_SET_SYSTIME
}
 
enum  tenuM2mSsidMode {
  SSID_MODE_VISIBLE = 0,
  SSID_MODE_HIDDEN
}
 
enum  tenuM2mStaCmd {
  M2M_WIFI_REQ_CONNECT = M2M_STA_CMD_BASE,
  M2M_WIFI_REQ_DEFAULT_CONNECT,
  M2M_WIFI_RESP_DEFAULT_CONNECT,
  M2M_WIFI_REQ_DISCONNECT,
  M2M_WIFI_RESP_CON_STATE_CHANGED,
  M2M_WIFI_REQ_SLEEP,
  M2M_WIFI_REQ_WPS_SCAN,
  M2M_WIFI_REQ_WPS,
  M2M_WIFI_REQ_START_WPS,
  M2M_WIFI_REQ_DISABLE_WPS,
  M2M_WIFI_REQ_DHCP_CONF,
  M2M_WIFI_RESP_IP_CONFIGURED,
  M2M_WIFI_RESP_IP_CONFLICT,
  M2M_WIFI_REQ_ENABLE_MONITORING,
  M2M_WIFI_REQ_DISABLE_MONITORING,
  M2M_WIFI_RESP_WIFI_RX_PACKET,
  M2M_WIFI_REQ_SEND_WIFI_PACKET,
  M2M_WIFI_REQ_LSN_INT,
  M2M_WIFI_REQ_DOZE,
  M2M_WIFI_REQ_CONN,
  M2M_WIFI_IND_CONN_PARAM,
  M2M_WIFI_REQ_DHCP_FAILURE,
  M2M_WIFI_MAX_STA_ALL
}
 This enum contains WINC commands while in Station mode. More...
 
enum  tenuM2mTxPwrLevel {
  TX_PWR_HIGH = ((uint8) 1),
  TX_PWR_MED,
  TX_PWR_LOW
}
 
enum  tenuM2mWepKeyIndex {
  M2M_WIFI_WEP_KEY_INDEX_1 = ((uint8) 1),
  M2M_WIFI_WEP_KEY_INDEX_2,
  M2M_WIFI_WEP_KEY_INDEX_3,
  M2M_WIFI_WEP_KEY_INDEX_4
}
 
enum  tenuM2mWifiMode {
  M2M_WIFI_MODE_NORMAL = ((uint8) 1),
  M2M_WIFI_MODE_ATE_HIGH,
  M2M_WIFI_MODE_ATE_LOW,
  M2M_WIFI_MODE_ETHERNET,
  M2M_WIFI_MODE_MAX
}
 Wi-Fi Operation Mode. More...
 
enum  tenuPowerSaveModes {
  M2M_NO_PS,
  M2M_PS_AUTOMATIC,
  M2M_PS_H_AUTOMATIC,
  M2M_PS_DEEP_AUTOMATIC,
  M2M_PS_MANUAL
}
 Power Save Modes. More...
 
enum  tenuSNTPUseDHCP {
  SNTP_DISABLE_DHCP = 0,
  SNTP_ENABLE_DHCP = 1
}
 Use NTP server provided by the DHCP server. More...
 
enum  tenuWifiState {
  WIFI_STATE_DEINIT,
  WIFI_STATE_INIT,
  WIFI_STATE_START
}
 Enumeration for Wi-Fi state The following is used to track the state of the wifi (not initialized, initialized or started) More...
 
enum  tenuWlanTxRate {
  TX_RATE_AUTO = 0xFF,
  TX_RATE_LOWEST = 0xFE,
  TX_RATE_1 = 0x00,
  TX_RATE_2 = 0x01,
  TX_RATE_5_5 = 0x02,
  TX_RATE_11 = 0x03,
  TX_RATE_6 = 0x0B,
  TX_RATE_9 = 0x0F,
  TX_RATE_12 = 0x0A,
  TX_RATE_18 = 0x0E,
  TX_RATE_24 = 0x09,
  TX_RATE_36 = 0x0D,
  TX_RATE_48 = 0x08,
  TX_RATE_54 = 0x0C,
  TX_RATE_MCS_0 = 0x80,
  TX_RATE_MCS_1 = 0x81,
  TX_RATE_MCS_2 = 0x82,
  TX_RATE_MCS_3 = 0x83,
  TX_RATE_MCS_4 = 0x84,
  TX_RATE_MCS_5 = 0x85,
  TX_RATE_MCS_6 = 0x86,
  TX_RATE_MCS_7 = 0x87
}
 All possible supported 802.11 WLAN TX rates. More...
 
enum  tenuWPSTrigger {
  WPS_PIN_TRIGGER = 0,
  WPS_PBC_TRIGGER = 4
}
 WPS Triggering Methods. 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")
 

Remarks
Enumerator
WIFI_1X_BYPASS_SERVER_AUTH 

Server authentication for 802.1x connections. Values are of type int.
0: Authenticate server; Default, Recommended.
1: Bypass server authentication.

WIFI_1X_SESSION_CACHING 

TLS session caching on/off for 802.1x connections. Values are of type int.
0: Session caching off.
1: Session caching on; Default.
Note that the WINC implementation of PEAPv0 does not support session caching; this setting is ignored for PEAPv0 methods.

WIFI_1X_SPECIFIC_ROOTCERT 

SHA1 digest of subject name of the root certificate to be used during server authentication. Values are:
20-byte arrays: authentication is limited to this particular root certificate; Recommended
0-byte array: authentication can succeed with any certificate in the WINC root certificate store; Default.

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.

Enumerator
WIFI_CRED_DONTSAVE 

Credentials will not be stored in WINC flash.

WIFI_CRED_SAVE_UNENCRYPTED 

Credentials will be stored unencrypted in WINC flash.

WIFI_CRED_SAVE_ENCRYPTED 

Credentials will be stored encrypted in WINC flash. The encryption is not secure; it is merely intended to prevent sensitive information being leaked by an opportunistic read of WINC flash contents. The encryption keys involve WINC efuse contents, so WINC efuses should not be written while this option is in use.

Enumerator
ENTRY_ID_FW 
ENTRY_ID_PLLGAIN 
ENTRY_ID_TLSROOT 
ENTRY_ID_TLSCLIENT 
ENTRY_ID_TLSSERVER 
ENTRY_ID_CONNPARAMS 
ENTRY_ID_HTTPFILES 
ENTRY_ID_TLSCOMMON 
ENTRY_ID_HOSTFILE 

This enum contains WINC commands while in AP mode.

Enumerator
M2M_WIFI_REQ_ENABLE_AP 

Enable AP mode command.

M2M_WIFI_REQ_DISABLE_AP 

Disable AP mode command.

M2M_WIFI_REQ_RESTART_AP 
M2M_WIFI_MAX_AP_ALL 

This enum contains host commands used to configure the WINC board.

Enumerator
M2M_WIFI_REQ_RESTART 

Restart the WINC MAC layer, it's doesn't restart the IP layer.

M2M_WIFI_REQ_SET_MAC_ADDRESS 

Set the WINC mac address (not possible for production effused boards).

M2M_WIFI_REQ_CURRENT_RSSI 

Request the current connected AP RSSI.

M2M_WIFI_RESP_CURRENT_RSSI 

Response to M2M_WIFI_REQ_CURRENT_RSSI with the RSSI value.

M2M_WIFI_REQ_GET_CONN_INFO 

Request connection information command.

M2M_WIFI_RESP_CONN_INFO 

Connect with default AP response.

M2M_WIFI_REQ_SET_DEVICE_NAME 

Set the WINC device name property.

M2M_WIFI_REQ_START_PROVISION_MODE 

Start the provisioning mode for the M2M Device.

M2M_WIFI_RESP_PROVISION_INFO 

Send the provisioning information to the host.

M2M_WIFI_REQ_STOP_PROVISION_MODE 

Stop the current running provision mode.

M2M_WIFI_REQ_SET_SYS_TIME 

Set time of day from host.

M2M_WIFI_REQ_ENABLE_SNTP_CLIENT 

Enable the simple network time protocol to get the time from the Internet. this is required for security purposes.

M2M_WIFI_REQ_DISABLE_SNTP_CLIENT 

Disable the simple network time protocol for applications that do not need it.

M2M_WIFI_RESP_MEMORY_RECOVER 

Reserved for debugging

M2M_WIFI_REQ_CUST_INFO_ELEMENT 

Add Custom Element to Beacon Management Frame.

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 response.

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_POWER_PROFILE 

The API shall set power mode to one of 3 modes

M2M_WIFI_REQ_SET_TX_POWER 

API to set TX power.

M2M_WIFI_REQ_SET_BATTERY_VOLTAGE 

API to set Battery Voltage.

M2M_WIFI_REQ_SET_ENABLE_LOGS 

API to set Battery Voltage.

M2M_WIFI_REQ_GET_SYS_TIME 

REQ GET time of day from WINC.

M2M_WIFI_RESP_GET_SYS_TIME 

RESP time of day from host.

M2M_WIFI_REQ_SEND_ETHERNET_PACKET 

Send Ethernet packet in bypass mode.

M2M_WIFI_RESP_ETHERNET_RX_PACKET 

Receive Ethernet packet in bypass mode.

M2M_WIFI_REQ_SET_MAC_MCAST 

Set the WINC multicast filters.

M2M_WIFI_REQ_GET_PRNG 

Request PRNG.

M2M_WIFI_RESP_GET_PRNG 

Response for PRNG.

M2M_WIFI_REQ_SCAN_SSID_LIST 

Request scan with list of hidden SSID plus the broadcast scan.

M2M_WIFI_REQ_SET_GAINS 

Request to set the PPA gain

M2M_WIFI_REQ_PASSIVE_SCAN 

Request a passive scan.

M2M_WIFI_REQ_CONG_AUTO_RATE 

Configure auto TX rate selection algorithm.

M2M_WIFI_REQ_CONFIG_SNTP 

Configure NTP servers.

M2M_WIFI_REQ_SET_GAIN_TABLE_IDX 

API to set Gain table index.

M2M_WIFI_REQRSP_DELETE_APID 

Request/response to delete AP security credentials from WINC flash.

M2M_WIFI_MAX_CONFIG_ALL 
Enumerator
M2M_ERR_SCAN_FAIL 

Indicate that the WINC board has failed to perform the scan operation.

M2M_ERR_JOIN_FAIL 

Indicate that the WINC board has failed to join the BSS .

M2M_ERR_AUTH_FAIL 

Indicate that the WINC board has failed to authenticate with the AP.

M2M_ERR_ASSOC_FAIL 

Indicate that the WINC board has failed to associate with the AP.

M2M_ERR_CONN_INPROGRESS 

Indicate that the WINC board has another connection request in progress.

Wi-Fi Connection State.

Enumerator
M2M_WIFI_DISCONNECTED 

Wi-Fi state is disconnected.

M2M_WIFI_CONNECTED 

Wi-Fi state is connected.

M2M_WIFI_ROAMED 

Wi-Fi state is roamed to new AP.

M2M_WIFI_UNDEF 

Undefined Wi-Fi State.

Enumerator
M2M_CRYPTO_REQ_SHA256_INIT 
M2M_CRYPTO_RESP_SHA256_INIT 
M2M_CRYPTO_REQ_SHA256_UPDATE 
M2M_CRYPTO_RESP_SHA256_UPDATE 
M2M_CRYPTO_REQ_SHA256_FINISH 
M2M_CRYPTO_RESP_SHA256_FINISH 
M2M_CRYPTO_REQ_RSA_SIGN_GEN 
M2M_CRYPTO_RESP_RSA_SIGN_GEN 
M2M_CRYPTO_REQ_RSA_SIGN_VERIFY 
M2M_CRYPTO_RESP_RSA_SIGN_VERIFY 
M2M_CRYPTO_MAX_ALL 
Enumerator
M2M_DEFAULT_CONN_INPROGRESS 

A failure that indicates that a default connection or forced connection is in progress

M2M_DEFAULT_CONN_FAIL 

A failure response that indicates that the winc failed to connect to the cached network

M2M_DEFAULT_CONN_SCAN_MISMATCH 

A failure response that indicates that no one of the cached networks was found in the scan results, as a result to the function call m2m_default_connect.

M2M_DEFAULT_CONN_EMPTY_LIST 

A failure response that indicates an empty network list as a result to the function call m2m_default_connect.

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 
Enumerator
M2M_IP_REQ_STATIC_IP_CONF 
M2M_IP_REQ_ENABLE_DHCP 
M2M_IP_REQ_DISABLE_DHCP 
Enumerator
PWR_AUTO 

FW will decide the best power mode to use internally.

PWR_LOW1 

Low power mode #1

PWR_LOW2 

Low power mode #2

PWR_HIGH 

High power mode

Enumerator
M2M_REQ_GROUP_MAIN 
M2M_REQ_GROUP_WIFI 
M2M_REQ_GROUP_IP 
M2M_REQ_GROUP_HIF 
M2M_REQ_GROUP_OTA 
M2M_REQ_GROUP_SSL 
M2M_REQ_GROUP_CRYPTO 
M2M_REQ_GROUP_SIGMA 
M2M_REQ_GROUP_INTERNAL 
Enumerator
M2M_REQ_CONFIG_PKT 
M2M_REQ_DATA_PKT 

Wi-Fi RF Channels.

See Also
tstrM2MScan tstrM2MScanOption
Enumerator
M2M_WIFI_CH_1 
M2M_WIFI_CH_2 
M2M_WIFI_CH_3 
M2M_WIFI_CH_4 
M2M_WIFI_CH_5 
M2M_WIFI_CH_6 
M2M_WIFI_CH_7 
M2M_WIFI_CH_8 
M2M_WIFI_CH_9 
M2M_WIFI_CH_10 
M2M_WIFI_CH_11 
M2M_WIFI_CH_12 
M2M_WIFI_CH_13 
M2M_WIFI_CH_14 
M2M_WIFI_CH_ALL 

Wi-Fi RF Channels.

Enumerator
REG_CH_1 
REG_CH_2 
REG_CH_3 
REG_CH_4 
REG_CH_5 
REG_CH_6 
REG_CH_7 
REG_CH_8 
REG_CH_9 
REG_CH_10 
REG_CH_11 
REG_CH_12 
REG_CH_13 
REG_CH_14 
REG_CH_ALL 
NORTH_AMERICA 
EUROPE 

11 channel

ASIA 

13 channel

Wi-Fi Supported Security types.

Wi-Fi Supported SSID types.

Enumerator
M2M_WIFI_SEC_INVALID 

Invalid security type.

M2M_WIFI_SEC_OPEN 

Wi-Fi network is not secured.

M2M_WIFI_SEC_WPA_PSK 

Wi-Fi network is secured with WPA/WPA2 personal(PSK).

M2M_WIFI_SEC_WEP 

Security type WEP (40 or 104) OPEN OR SHARED.

M2M_WIFI_SEC_802_1X 

Wi-Fi network is secured with WPA/WPA2 Enterprise.IEEE802.1x.

M2M_WIFI_NUM_AUTH_TYPES 

Upper limit for enum value.

This enum contains WINC commands while in PS mode. These command are currently not supported.

Enumerator
M2M_WIFI_REQ_CLIENT_CTRL 
M2M_WIFI_RESP_CLIENT_INFO 
M2M_WIFI_REQ_SERVER_INIT 
M2M_WIFI_MAX_SERVER_ALL 
Enumerator
M2M_SIGMA_ENABLE 
M2M_SIGMA_TA_START 
M2M_SIGMA_TA_STATS 
M2M_SIGMA_TA_RECEIVE_STOP 
M2M_SIGMA_ICMP_ARP 
M2M_SIGMA_ICMP_RX 
M2M_SIGMA_ICMP_TX 
M2M_SIGMA_UDP_TX 
M2M_SIGMA_UDP_TX_DEFER 
M2M_SIGMA_SECURITY_POLICY 
M2M_SIGMA_SET_SYSTIME 
Enumerator
SSID_MODE_VISIBLE 

SSID is visible to others.

SSID_MODE_HIDDEN 

SSID is hidden.

This enum contains WINC commands while in Station mode.

Enumerator
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 
Enumerator
TX_PWR_HIGH 

PPA Gain 6dbm PA Gain 18dbm

TX_PWR_MED 

PPA Gain 6dbm PA Gain 12dbm

TX_PWR_LOW 

PPA Gain 6dbm PA Gain 6dbm

Enumerator
M2M_WIFI_WEP_KEY_INDEX_1 
M2M_WIFI_WEP_KEY_INDEX_2 
M2M_WIFI_WEP_KEY_INDEX_3 
M2M_WIFI_WEP_KEY_INDEX_4 

Index for WEP key Authentication

Wi-Fi Operation Mode.

Enumerator
M2M_WIFI_MODE_NORMAL 

Normal Mode means to run customer firmware version.

M2M_WIFI_MODE_ATE_HIGH 

Config Mode in HIGH POWER means to run production test firmware version which is known as ATE (Burst) firmware.

M2M_WIFI_MODE_ATE_LOW 

Config Mode in LOW POWER means to run production test firmware version which is known as ATE (Burst) firmware.

M2M_WIFI_MODE_ETHERNET 

ethernet Mode

M2M_WIFI_MODE_MAX 

Power Save Modes.

Enumerator
M2M_NO_PS 

Power save is disabled.

M2M_PS_AUTOMATIC 

Power save is done automatically by the WINC. This mode doesn't disable all of the WINC modules and use higher amount of power than the H_AUTOMATIC and the DEEP_AUTOMATIC modes..

M2M_PS_H_AUTOMATIC 

Power save is done automatically by the WINC. Achieve higher power save than the AUTOMATIC mode by shutting down more parts of the WINC board.

M2M_PS_DEEP_AUTOMATIC 

Power save is done automatically by the WINC. Achieve the highest possible power save.

M2M_PS_MANUAL 

Power save is done manually by the user.

Use NTP server provided by the DHCP server.

Enumerator
SNTP_DISABLE_DHCP 

Don't use the NTP server provided by the DHCP server when falling back.

SNTP_ENABLE_DHCP 

Use the NTP server provided by the DHCP server when falling back.

Enumeration for Wi-Fi state The following is used to track the state of the wifi (not initialized, initialized or started)

Remarks
This is useful when putting the WINC in "download mode" to access the flash via SPI. By using m2m_wifi_get_state and checking against the desired state, it is possible to validate if the Application should proceed with the SPI Flash access or not.
Enumerator
WIFI_STATE_DEINIT 

Wifi is not initialized

WIFI_STATE_INIT 

Wifi has been initialized

WIFI_STATE_START 

Wifi has started

All possible supported 802.11 WLAN TX rates.

Enumerator
TX_RATE_AUTO 

Automatic rate selection

TX_RATE_LOWEST 

Force the lowest possible data rate for longest range.

TX_RATE_1 
TX_RATE_2 
TX_RATE_5_5 
TX_RATE_11 
TX_RATE_6 
TX_RATE_9 
TX_RATE_12 
TX_RATE_18 
TX_RATE_24 
TX_RATE_36 
TX_RATE_48 
TX_RATE_54 
TX_RATE_MCS_0 
TX_RATE_MCS_1 
TX_RATE_MCS_2 
TX_RATE_MCS_3 
TX_RATE_MCS_4 
TX_RATE_MCS_5 
TX_RATE_MCS_6 
TX_RATE_MCS_7 

WPS Triggering Methods.

Enumerator
WPS_PIN_TRIGGER 

WPS is triggered in PIN method.

WPS_PBC_TRIGGER 

WPS is triggered via push button.

_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"   
)