Microchip® Advanced Software Framework

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

Macros

#define CONF_METHOD_DISPLAY   0x0008
 
#define CONF_METHOD_KEYPAD   0x0100
 
#define CONF_METHOD_LABEL   0x0004
 
#define CONF_METHOD_PBC   0x0080
 
#define CONF_METHOD_PHYSICAL_DISPLAY   0x4008
 
#define CONF_METHOD_PHYSICAL_PBC   0x0480
 
#define CONF_METHOD_VIRTUAL_DISPLAY   0x2008
 
#define CONF_METHOD_VIRTUAL_PBC   0x0280
 
#define M2M_1X_PWD_MAX   41
 
#define M2M_1X_USR_NAME_MAX   21
 
#define M2M_AP_CMD_BASE   80
 
#define M2M_BUFFER_MAX_SIZE   (1600UL - 4)
 
#define M2M_CONFIG_CMD_BASE   1
 
#define M2M_CUST_IE_LEN_MAX   252
 
#define M2M_DEVICE_NAME_MAX   48
 
#define M2M_DRIVER_VERSION_MAJOR_NO   (4)
 
#define M2M_DRIVER_VERSION_MINOR_NO   (7)
 
#define M2M_DRIVER_VERSION_PATCH_NO   (2)
 
#define M2M_ENTERPRISE_CERT_MAX_LENGTH_IN_BYTES   4000
 
#define M2M_ETH_PAD_SIZE   2
 
#define M2M_ETHERNET_HDR_LEN   14
 
#define M2M_ETHERNET_HDR_OFFSET   36
 
#define M2M_FIRMWARE_VERSION_MAJOR_NO   (4)
 
#define M2M_FIRMWARE_VERSION_MINOR_NO   (7)
 
#define M2M_FIRMWARE_VERSION_PATCH_NO   (2)
 
#define M2M_LISTEN_INTERVAL   1
 
#define M2M_MAC_ADDRES_LEN   6
 
#define M2M_MAX_PMK_LEN   40
 
#define M2M_MAX_PSK_LEN   65
 
#define M2M_MAX_SSID_LEN   33
 
#define M2M_P2P_CMD_BASE   90
 
#define M2M_SCAN_ERR_AP   ((sint8)-4)
 
#define M2M_SCAN_ERR_P2P   ((sint8)-5)
 
#define M2M_SCAN_ERR_WIFI   ((sint8)-2)
 
#define M2M_SCAN_ERR_WPS   ((sint8)-6)
 
#define M2M_SCAN_MIN_NUM_SLOTS   (2)
 
#define M2M_SCAN_MIN_SLOT_TIME   (20)
 
#define M2M_STA_CMD_BASE   40
 
#define M2M_WIFI_FRAME_SUB_TYPE_ANY   0xFF
 
#define M2M_WIFI_FRAME_TYPE_ANY   0xFF
 
#define MAKE_VERSION(major, minor, patch)   (((uint16)(major) << 8) | ((minor << 4) | (patch) ))
 
#define P2P_DEFAULT_PIN   0X00
 
#define P2P_MAX_PIN_SIZE   8
 
#define P2P_PUSHBUTTON   0X04
 
#define P2P_REGISTER_SPECIFIED   0X05
 
#define P2P_USER_SPECIFIED   0X01
 
#define RF_VERSION   ("01.1")
 
#define WEP_104_KEY_SIZE   ((uint8)13)
 
#define WEP_104_KEY_STRING_SIZE   ((uint8)26)
 
#define WEP_40_KEY_SIZE   ((uint8)5)
 
#define WEP_40_KEY_STRING_SIZE   ((uint8)10)
 
#define WEP_KEY_MAX_INDEX   ((uint8)4)
 

#define CONF_METHOD_DISPLAY   0x0008
#define CONF_METHOD_KEYPAD   0x0100
#define CONF_METHOD_LABEL   0x0004
#define CONF_METHOD_PBC   0x0080
#define CONF_METHOD_PHYSICAL_DISPLAY   0x4008
#define CONF_METHOD_PHYSICAL_PBC   0x0480
#define CONF_METHOD_VIRTUAL_DISPLAY   0x2008
#define CONF_METHOD_VIRTUAL_PBC   0x0280
#define M2M_1X_PWD_MAX   41

The maximum size of the password including the NULL termination. It is used for RADIUS authentication in case of connecting the device to an AP secured with WPA-Enterprise.

#define M2M_1X_USR_NAME_MAX   21

The maximum size of the user name including the NULL termination. It is used for RADIUS authentication in case of connecting the device to an AP secured with WPA-Enterprise.

#define M2M_AP_CMD_BASE   80

The base value of all the Access Point mode host commands opcodes.

#define M2M_BUFFER_MAX_SIZE   (1600UL - 4)

Maximum size for the shared packet buffer.

#define M2M_CONFIG_CMD_BASE   1

The base value of all the host configuration commands opcodes.

#define M2M_CUST_IE_LEN_MAX   252

The maximum size of IE (Information Element).

#define M2M_DEVICE_NAME_MAX   48

Maximum Size for the device name including the NULL termination.

Referenced by m2m_wifi_set_device_name().

#define M2M_DRIVER_VERSION_MAJOR_NO   (4)

Driver Major release version number.

Referenced by nm_drv_init(), and nm_get_firmware_info().

#define M2M_DRIVER_VERSION_MINOR_NO   (7)

Driver Minor release version number.

Referenced by nm_drv_init(), and nm_get_firmware_info().

#define M2M_DRIVER_VERSION_PATCH_NO   (2)

Driver patch release version number.

Referenced by nm_drv_init(), and nm_get_firmware_info().

#define M2M_ENTERPRISE_CERT_MAX_LENGTH_IN_BYTES   4000
 Maximum size for the Certificate that would be download to the WILC1000 Memory.

THIS VALUE CANNOT BE CHANGED

Referenced by m2m_wifi_download_cert().

#define M2M_ETH_PAD_SIZE   2

Pad size before the Ethernet header to keep the Ethernet data aligned

Referenced by m2m_wifi_cb(), and m2m_wifi_send_ethernet_pkt().

#define M2M_ETHERNET_HDR_LEN   14

Length of the Etherenet header in bytes.

Referenced by m2m_wifi_send_ethernet_pkt().

#define M2M_ETHERNET_HDR_OFFSET   36
 The offset of the Ethernet header within the WLAN Tx Buffer. 

Should be word aligned

Referenced by m2m_wifi_send_ethernet_pkt(), and wilc_netif_tx().

#define M2M_FIRMWARE_VERSION_MAJOR_NO   (4)

Firmware Major release version number.

#define M2M_FIRMWARE_VERSION_MINOR_NO   (7)

Firmware Minor release version number.

#define M2M_FIRMWARE_VERSION_PATCH_NO   (2)

Firmware patch release version number.

#define M2M_LISTEN_INTERVAL   1

The STA uses the Listen Interval parameter to indicate to the AP how many beacon intervals it shall sleep before it retrieves the queued frames from the AP.

#define M2M_MAC_ADDRES_LEN   6

The size fo 802 MAC address.

Referenced by m2m_wifi_enable_mac_mcast().

#define M2M_MAX_PMK_LEN   40

Maximum size for the PMK value.

#define M2M_MAX_PSK_LEN   65

Maximum size for the WPA PSK including the NULL termination.

Referenced by m2m_wifi_connect().

#define M2M_MAX_SSID_LEN   33

Maximum size for the Wi-Fi SSID including the NULL termination.

Referenced by m2m_wifi_connect().

#define M2M_P2P_CMD_BASE   90

The base value of all the P2P mode host commands opcodes.

#define M2M_SCAN_ERR_AP   ((sint8)-4)

currently not used.

#define M2M_SCAN_ERR_P2P   ((sint8)-5)

currently not used.

#define M2M_SCAN_ERR_WIFI   ((sint8)-2)

currently not used.

#define M2M_SCAN_ERR_WPS   ((sint8)-6)

currently not used.

#define M2M_SCAN_MIN_NUM_SLOTS   (2)

The min. number of scan slots performed by the WILC board.

Referenced by m2m_wifi_set_scan_options().

#define M2M_SCAN_MIN_SLOT_TIME   (20)

The min. duration in miliseconds of a scan slots performed by the WILC board.

Referenced by m2m_wifi_set_scan_options().

#define M2M_STA_CMD_BASE   40

The base value of all the station mode host commands opcodes.

#define M2M_WIFI_FRAME_SUB_TYPE_ANY   0xFF

Set monitor mode to receive frames with any sub type

#define M2M_WIFI_FRAME_TYPE_ANY   0xFF

Set monitor mode to receive any of the frames types

#define MAKE_VERSION (   major,
  minor,
  patch 
)    (((uint16)(major) << 8) | ((minor << 4) | (patch) ))

Referenced by nm_get_firmware_info().

#define P2P_DEFAULT_PIN   0X00
#define P2P_MAX_PIN_SIZE   8

The maxmimum pin size for P2P PIN Config method.

#define P2P_PUSHBUTTON   0X04
#define P2P_REGISTER_SPECIFIED   0X05
#define P2P_USER_SPECIFIED   0X01
#define RF_VERSION   ("01.1")

Firmware RF Version.

#define WEP_104_KEY_SIZE   ((uint8)13)

Indicate the wep key size in bytes for 104 bit hex passphrase.

#define WEP_104_KEY_STRING_SIZE   ((uint8)26)

Indicate the wep key size in bytes for 104 bit string passphrase.

Referenced by m2m_wifi_connect().

#define WEP_40_KEY_SIZE   ((uint8)5)

Indicate the wep key size in bytes for 40 bit hex passphrase.

#define WEP_40_KEY_STRING_SIZE   ((uint8)10)

Indicate the wep key size in bytes for 40 bit string passphrase.

Referenced by m2m_wifi_connect().

#define WEP_KEY_MAX_INDEX   ((uint8)4)

Indicate the max key index value for WEP authentication

Referenced by m2m_wifi_connect().