Synergy Software Package User's Manual

#include <sf_wifi_qca4010_onchip_stack_api.h>

Data Fields

ssp_err_t(* open )(sf_wifi_qca4010_onchip_stack_ctrl_t *p_ctrl, sf_wifi_qca4010_onchip_stack_cfg_t const *const p_cfg)
 
ssp_err_t(* close )(sf_wifi_qca4010_onchip_stack_ctrl_t *const p_ctrl)
 
ssp_err_t(* ipAddressCfg )(sf_wifi_qca4010_onchip_stack_ctrl_t *const p_ctrl, sf_wifi_qca4010_onchip_stack_ip_cfg_t *const p_ip_cfg)
 
ssp_err_t(* ping )(sf_wifi_qca4010_onchip_stack_ctrl_t *const p_ctrl, ULONG *p_ip_addr, uint32_t count, uint32_t interval_ms)
 
ssp_err_t(* versionGet )(ssp_version_t *const p_version)
 
ssp_err_t(* dhcpServerStart )(sf_wifi_qca4010_onchip_stack_ctrl_t *const p_ctrl, ULONG *p_start_ip, ULONG *p_end_ip)
 
ssp_err_t(* dhcpServerStop )(sf_wifi_qca4010_onchip_stack_ctrl_t *const p_ctrl, ULONG *p_start_ip, ULONG *p_end_ip)
 

Detailed Description

Framework API structure. Implementations will use the following API.

Field Documentation

◆ close

ssp_err_t(* sf_wifi_qca4010_onchip_stack_api_t::close) (sf_wifi_qca4010_onchip_stack_ctrl_t *const p_ctrl)

Pointer to function which un-initialize the network interface and may put it in low power mode or power it off. Close the driver, disable the driver link, disable interrupt.

Parameters
[in,out]p_ctrlPointer to the control block

◆ dhcpServerStart

ssp_err_t(* sf_wifi_qca4010_onchip_stack_api_t::dhcpServerStart) (sf_wifi_qca4010_onchip_stack_ctrl_t *const p_ctrl, ULONG *p_start_ip, ULONG *p_end_ip)

Starts DHCP server

Parameters
[in]p_ctrlPointer to the control block
[in]p_start_ipPointer to Start IP address
[in]p_end_ipPointer to End IP address

◆ dhcpServerStop

ssp_err_t(* sf_wifi_qca4010_onchip_stack_api_t::dhcpServerStop) (sf_wifi_qca4010_onchip_stack_ctrl_t *const p_ctrl, ULONG *p_start_ip, ULONG *p_end_ip)

Stops DHCP server

Parameters
[in]p_ctrlPointer to the control block
[in]p_start_ipPointer to Start IP address
[in]p_end_ipPointer to End IP address

◆ ipAddressCfg

ssp_err_t(* sf_wifi_qca4010_onchip_stack_api_t::ipAddressCfg) (sf_wifi_qca4010_onchip_stack_ctrl_t *const p_ctrl, sf_wifi_qca4010_onchip_stack_ip_cfg_t *const p_ip_cfg)

Configures IP address of the interface.

Parameters
[in]p_ctrlPointer to the control block
[in,out]p_ip_cfgPointer to IP configuration structure.

◆ open

ssp_err_t(* sf_wifi_qca4010_onchip_stack_api_t::open) (sf_wifi_qca4010_onchip_stack_ctrl_t *p_ctrl, sf_wifi_qca4010_onchip_stack_cfg_t const *const p_cfg)

Pointer to function which initializes the network interface for data transfers

Initial driver configuration, enable the driver link, enable interrupts and make device ready for data transfer.

Parameters
[in,out]p_ctrlPointer to user-provided storage for the control block.
[in]p_cfgPointer to configuration structure.

◆ ping

ssp_err_t(* sf_wifi_qca4010_onchip_stack_api_t::ping) (sf_wifi_qca4010_onchip_stack_ctrl_t *const p_ctrl, ULONG *p_ip_addr, uint32_t count, uint32_t interval_ms)

Configures IP address of the interface.

Parameters
[in]p_ctrlPointer to the control block
[in]p_ip_addrPointer to IP address to ping
[in]countNumber of ping attempts
[in]interval_msTimeout in milliseconds

◆ versionGet

ssp_err_t(* sf_wifi_qca4010_onchip_stack_api_t::versionGet) (ssp_version_t *const p_version)

Gets version and stores it in provided pointer p_version.

Parameters
[out]p_versionpointer to memory location to return version number

The documentation for this struct was generated from the following file: