2022-12-31 14:42:31 +00:00
|
|
|
|
/******************************************************************************
|
|
|
|
|
* @brief wifi<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 2021, <morro_luo@163.com>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*
|
|
|
|
|
* Change Logs:
|
|
|
|
|
* Date Author Notes
|
|
|
|
|
* 2021-01-20 roger.luo <EFBFBD><EFBFBD>ʼ<EFBFBD>汾
|
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
#ifndef _WIFI_UART_H_
|
|
|
|
|
#define _WIFI_UART_H_
|
|
|
|
|
|
|
|
|
|
#define WIFI_RXBUF_SIZE 256
|
|
|
|
|
#define WIFI_TXBUF_SIZE 1024
|
|
|
|
|
|
|
|
|
|
/*<2A>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD> --------------------------------------------------------------------*/
|
|
|
|
|
void wifi_uart_init(int baud_rate);
|
|
|
|
|
|
|
|
|
|
unsigned int wifi_uart_write(const void *buf, unsigned int len);
|
|
|
|
|
|
|
|
|
|
unsigned int wifi_uart_read(void *buf, unsigned int len);
|
|
|
|
|
|
|
|
|
|
bool wifi_uart_rx_empty(void);
|
|
|
|
|
|
|
|
|
|
#endif
|