NetBurner 3.1
Defines

Macros

#define M2M_FIRMWARE_VERSION_MAJOR_NO   (4)
 
#define M2M_FIRMWARE_VERSION_MINOR_NO   (2)
 
#define M2M_FIRMWARE_VERSION_PATCH_NO   (4)
 
#define RF_VERSION   ("01.1")
 
#define M2M_DRIVER_VERSION_MAJOR_NO   (4)
 
#define M2M_DRIVER_VERSION_MINOR_NO   (2)
 
#define M2M_DRIVER_VERSION_PATCH_NO   (4)
 
#define M2M_BUFFER_MAX_SIZE   (1600UL - 4)
 
#define M2M_MAC_ADDRES_LEN   6
 
#define M2M_ETHERNET_HDR_OFFSET   36
 
#define M2M_ETH_PAD_SIZE   2
 
#define M2M_ETHERNET_HDR_LEN   14
 
#define M2M_MAX_SSID_LEN   33
 
#define M2M_MAX_PSK_LEN   65
 
#define M2M_MAX_PMK_LEN   40
 
#define M2M_ENTERPRISE_CERT_MAX_LENGTH_IN_BYTES   4000
 
#define M2M_DEVICE_NAME_MAX   48
 
#define M2M_LISTEN_INTERVAL   1
 
#define M2M_1X_USR_NAME_MAX   21
 
#define M2M_1X_PWD_MAX   41
 
#define M2M_CUST_IE_LEN_MAX   252
 
#define M2M_CONFIG_CMD_BASE   1
 
#define M2M_STA_CMD_BASE   40
 
#define M2M_AP_CMD_BASE   80
 
#define M2M_P2P_CMD_BASE   90
 
#define WEP_40_KEY_SIZE   ((uint8)5)
 
#define WEP_104_KEY_SIZE   ((uint8)13)
 
#define WEP_40_KEY_STRING_SIZE   ((uint8)10)
 
#define WEP_104_KEY_STRING_SIZE   ((uint8)26)
 
#define WEP_KEY_MAX_INDEX   ((uint8)4)
 
#define M2M_SCAN_MIN_NUM_SLOTS   (2)
 
#define M2M_SCAN_MIN_SLOT_TIME   (20)
 
#define M2M_SCAN_ERR_WIFI   ((sint8)-2)
 
#define M2M_SCAN_ERR_AP   ((sint8)-4)
 
#define M2M_SCAN_ERR_P2P   ((sint8)-5)
 
#define M2M_SCAN_ERR_WPS   ((sint8)-6)
 
#define M2M_WIFI_FRAME_TYPE_ANY   0xFF
 
#define M2M_WIFI_FRAME_SUB_TYPE_ANY   0xFF
 

Detailed Description

Macro Definition Documentation

◆ M2M_1X_PWD_MAX

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

◆ M2M_1X_USR_NAME_MAX

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

◆ M2M_AP_CMD_BASE

#define M2M_AP_CMD_BASE   80

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

◆ M2M_BUFFER_MAX_SIZE

#define M2M_BUFFER_MAX_SIZE   (1600UL - 4)

Maximum size for the shared packet buffer.

◆ M2M_CONFIG_CMD_BASE

#define M2M_CONFIG_CMD_BASE   1

The base value of all the host configuration commands opcodes.

◆ M2M_CUST_IE_LEN_MAX

#define M2M_CUST_IE_LEN_MAX   252

The maximum size of IE (Information Element).

◆ M2M_DEVICE_NAME_MAX

#define M2M_DEVICE_NAME_MAX   48

Maximum Size for the device name including the NULL termination.

◆ M2M_DRIVER_VERSION_MAJOR_NO

#define M2M_DRIVER_VERSION_MAJOR_NO   (4)

Driver Major release version number.

◆ M2M_DRIVER_VERSION_MINOR_NO

#define M2M_DRIVER_VERSION_MINOR_NO   (2)

Driver Minor release version number.

◆ M2M_DRIVER_VERSION_PATCH_NO

#define M2M_DRIVER_VERSION_PATCH_NO   (4)

Driver patch release version number.

◆ M2M_ENTERPRISE_CERT_MAX_LENGTH_IN_BYTES

#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

◆ M2M_ETH_PAD_SIZE

#define M2M_ETH_PAD_SIZE   2

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

◆ M2M_ETHERNET_HDR_LEN

#define M2M_ETHERNET_HDR_LEN   14

Length of the Etherenet header in bytes.

◆ M2M_ETHERNET_HDR_OFFSET

#define M2M_ETHERNET_HDR_OFFSET   36

The offset of the Ethernet header within the WLAN Tx Buffer. Should be word aligned

◆ M2M_FIRMWARE_VERSION_MAJOR_NO

#define M2M_FIRMWARE_VERSION_MAJOR_NO   (4)

Firmware Major release version number.

◆ M2M_FIRMWARE_VERSION_MINOR_NO

#define M2M_FIRMWARE_VERSION_MINOR_NO   (2)

Firmware Minor release version number.

◆ M2M_FIRMWARE_VERSION_PATCH_NO

#define M2M_FIRMWARE_VERSION_PATCH_NO   (4)

Firmware patch release version number.

◆ M2M_LISTEN_INTERVAL

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

◆ M2M_MAC_ADDRES_LEN

#define M2M_MAC_ADDRES_LEN   6

The size fo 802 MAC address.

◆ M2M_MAX_PMK_LEN

#define M2M_MAX_PMK_LEN   40

Maximum size for the PMK value.

◆ M2M_MAX_PSK_LEN

#define M2M_MAX_PSK_LEN   65

Maximum size for the WPA PSK including the NULL termination.

◆ M2M_MAX_SSID_LEN

#define M2M_MAX_SSID_LEN   33

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

◆ M2M_P2P_CMD_BASE

#define M2M_P2P_CMD_BASE   90

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

◆ M2M_SCAN_ERR_AP

#define M2M_SCAN_ERR_AP   ((sint8)-4)

currently not used.

◆ M2M_SCAN_ERR_P2P

#define M2M_SCAN_ERR_P2P   ((sint8)-5)

currently not used.

◆ M2M_SCAN_ERR_WIFI

#define M2M_SCAN_ERR_WIFI   ((sint8)-2)

currently not used.

◆ M2M_SCAN_ERR_WPS

#define M2M_SCAN_ERR_WPS   ((sint8)-6)

currently not used.

◆ M2M_SCAN_MIN_NUM_SLOTS

#define M2M_SCAN_MIN_NUM_SLOTS   (2)

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

◆ M2M_SCAN_MIN_SLOT_TIME

#define M2M_SCAN_MIN_SLOT_TIME   (20)

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

◆ M2M_STA_CMD_BASE

#define M2M_STA_CMD_BASE   40

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

◆ M2M_WIFI_FRAME_SUB_TYPE_ANY

#define M2M_WIFI_FRAME_SUB_TYPE_ANY   0xFF

Set monitor mode to receive frames with any sub type

◆ M2M_WIFI_FRAME_TYPE_ANY

#define M2M_WIFI_FRAME_TYPE_ANY   0xFF

Set monitor mode to receive any of the frames types

◆ RF_VERSION

#define RF_VERSION   ("01.1")

Firmware RF Version.

◆ WEP_104_KEY_SIZE

#define WEP_104_KEY_SIZE   ((uint8)13)

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

◆ WEP_104_KEY_STRING_SIZE

#define WEP_104_KEY_STRING_SIZE   ((uint8)26)

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

◆ WEP_40_KEY_SIZE

#define WEP_40_KEY_SIZE   ((uint8)5)

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

◆ WEP_40_KEY_STRING_SIZE

#define WEP_40_KEY_STRING_SIZE   ((uint8)10)

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

◆ WEP_KEY_MAX_INDEX

#define WEP_KEY_MAX_INDEX   ((uint8)4)

Indicate the max key index value for WEP authentication