]>
Commit | Line | Data |
---|---|---|
1af447de MM |
1 | /* |
2 | * Espressif Systems Wireless LAN device driver | |
3 | * | |
683f0529 | 4 | * Copyright (C) 2015-2021 Espressif Systems (Shanghai) PTE LTD |
1af447de MM |
5 | * |
6 | * This software file (the "File") is distributed by Espressif Systems (Shanghai) | |
7 | * PTE LTD under the terms of the GNU General Public License Version 2, June 1991 | |
8 | * (the "License"). You may use, redistribute and/or modify this File in | |
9 | * accordance with the terms and conditions of the License, a copy of which | |
10 | * is available by writing to the Free Software Foundation, Inc., | |
11 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the | |
12 | * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. | |
13 | * | |
14 | * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE | |
15 | * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE | |
16 | * ARE EXPRESSLY DISCLAIMED. The License provides additional details about | |
17 | * this warranty disclaimer. | |
18 | */ | |
19 | ||
305446c4 AI |
20 | #ifndef _ESP_SERIAL_H_ |
21 | #define _ESP_SERIAL_H_ | |
22 | ||
23 | int esp_serial_init(void * priv); | |
24 | void esp_serial_cleanup(void); | |
25 | ||
26 | int esp_serial_data_received(int dev_index, const char *data, size_t len); | |
27 | #endif |