123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- /**
- @file
- ql_wifi_spi.h
- @brief
- Quectel wifi spi api header.
- */
- /*============================================================================
- Copyright (c) 2020 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
- Quectel Wireless Solution Proprietary and Confidential.
- =============================================================================*/
- /*===========================================================================
- EDIT HISTORY FOR MODULE
- This section contains comments describing changes made to the module.
- Notice that changes are listed in reverse chronological order.
- WHEN WHO WHAT, WHERE, WHY
- ---------- ------------ ----------------------------------------------------
- =============================================================================*/
- #ifndef QL_WIFI_SPI_H
- #define QL_WIFI_SPI_H
- #include "ql_osi_def.h"
- #include "ql_api_osi.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*========================================================================
- * Macro Definition
- *========================================================================*/
- /*========================================================================
- * Enumeration Definition
- *========================================================================*/
- typedef enum
- {
- QL_WIFI_SPI_SUCCESS = 0,
- QL_WIFI_SPI_EXECUTE_ERR = 1 | (QL_COMPONENT_LWIP_WIFI << 16),
- QL_WIFI_SPI_INVALID_PARAM_ERR,
- QL_WIFI_SPI_TASK_CREATE_ERR,
- } ql_wifi_spi_errcode_e;
- /*========================================================================
- * Type Definition
- *========================================================================*/
- /*========================================================================
- * function Definition
- *========================================================================*/
- /*****************************************************************
- * Function: ql_wifi_spi_output_data_msg
- *
- * Description: Wi-Fi 802.3 data streams output function.Use this function to send data streams.
- *
- * Parameters:
- * ctx [in] See ql_wifi_data_info_s in ql_api_wifi.h
- *
- * Return:
- * 0 success
- * other error code
- *
- *****************************************************************/
- int ql_wifi_spi_output_data_msg(void *ctx);
- /*****************************************************************
- * Function: ql_wifi_spi_init
- *
- * Description: Initialize Wi-Fi spi engine.
- *
- * Parameters:
- * argv [in] No defined yet.
- *
- * Return:
- * 0 success
- * other error code
- *
- *****************************************************************/
- ql_wifi_spi_errcode_e ql_wifi_spi_init(void* argv);
- /*****************************************************************
- * Function: ql_wifi_spi_deinit
- *
- * Description: Deinitialize Wi-Fi spi engine.
- *
- * Parameters:
- * argv [in] No defined yet.
- *
- * Return:
- * 0 success
- * other error code
- *
- *****************************************************************/
- ql_wifi_spi_errcode_e ql_wifi_spi_deinit(void* argv);
- #ifdef __cplusplus
- } /*"C" */
- #endif
- #endif
|