C:/Users/jutiron/Desktop/Bitbucket_repository/wf200_driver/wf200_constants.h File Reference

wf200_constants.h contains defines, enums, structures and functions used by wf200 driver

Data Structures

struct  wf200_basic_frame_t
 Structure used to describe the header of messages exchanged with wf200.
 
struct  wf200_buffer_t
 Structure used to describe the header of messages exchanged with wf200.
 
struct  wf200_frame_t
 Structure used to describe the frame exchanged with wf200.
 
struct  wf200_ethernet_frame_t
 Structure used to describe the ethernet frame exchanged with wf200.
 
struct  wf200_context_t
 Structure used to maintain wf200 context on the host side.

Enumerations

enum  wf200_interface_t {
  WF200_STA_INTERFACE = 0,
  WF200_SOFTAP_INTERFACE = 1
}
 Enum for available interface in wf200.
 
enum  wf200_antenna_config_t {
  WF200_ANTENNA_1_ONLY = 0,
  WF200_ANTENNA_2_ONLY,
  WF200_ANTENNA_TX1_RX2,
  WF200_ANTENNA_TX2_RX1,
  WF200_ANTENNA_DIVERSITY
}
 Enum describing antenna configuration to be sent in the PDS configuration (Platform data set)

wf200_constants.h contains defines, enums, structures and functions used by wf200 driver

Definition in file wf200_constants.h.


Data Structure Documentation

◆ wf200_basic_frame_t

struct wf200_basic_frame_t

Structure used to describe the header of messages exchanged with wf200.

Definition at line 206 of file wf200_constants.h.

◆ wf200_buffer_t

struct wf200_buffer_t

Structure used to describe the header of messages exchanged with wf200.

Definition at line 217 of file wf200_constants.h.

◆ wf200_frame_t

struct wf200_frame_t

Structure used to describe the frame exchanged with wf200.

Definition at line 229 of file wf200_constants.h.

◆ wf200_ethernet_frame_t

struct wf200_ethernet_frame_t

Structure used to describe the ethernet frame exchanged with wf200.

Definition at line 244 of file wf200_constants.h.

◆ wf200_context_t

struct wf200_context_t

Structure used to maintain wf200 context on the host side.

Definition at line 272 of file wf200_constants.h.

Data Fields
uint16_t data_frame_id

Frame id incremented by wf200_send_ethernet_frame

uint8_t event_payload_buffer[512]

Event payload associated with the last posted event

uint32_t events
uint8_t ineo_opn[14]

Required for PTE (Only ?)

uint32_t last_command_id

Last command id issued to wf200

wf200_mac_address_t mac_addr_0

Mac address used by wf200 interface 0, station

wf200_mac_address_t mac_addr_1

Mac address used by wf200 interface 1, softap

uint32_t posted_event_id

Last event posted by wf200

wf200_nonce_t secure_link_nonce
uint16_t used_buffer_number
uint32_t waited_event_id

Host waited event

Enumeration Type Documentation

◆ wf200_antenna_config_t

enum wf200_antenna_config_t

Enum describing antenna configuration to be sent in the PDS configuration (Platform data set)

Enumerator
WF200_ANTENNA_1_ONLY 

RF output 1 is used

WF200_ANTENNA_2_ONLY 

RF output 2 is used

WF200_ANTENNA_TX1_RX2 

RF output 1 is used for TX, RF 2 for RX

WF200_ANTENNA_TX2_RX1 

RF output 2 is used for TX, RF 1 for RX

WF200_ANTENNA_DIVERSITY 

wf200 uses an antenna diversity algorithm

Definition at line 189 of file wf200_constants.h.

◆ wf200_interface_t

enum wf200_interface_t

Enum for available interface in wf200.

For convenience, interface 0 is associated with the station interface and interface 1 is associated with the softap interface.

Enumerator
WF200_STA_INTERFACE 

Interface 0, linked to the station

WF200_SOFTAP_INTERFACE 

Interface 1, linked to the softap

Definition at line 179 of file wf200_constants.h.