Files
esp-protocols/components/esp_modem/private_include/uart_terminal.hpp

27 lines
833 B
C++
Raw Normal View History

2021-03-29 19:34:45 +02:00
// Copyright 2021 Espressif Systems (Shanghai) PTE LTD
2021-02-26 18:32:15 +01:00
//
2021-03-29 19:34:45 +02:00
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
2021-02-26 18:32:15 +01:00
//
2021-03-29 19:34:45 +02:00
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
2021-02-26 18:32:15 +01:00
2021-05-26 15:57:25 +02:00
#pragma once
2021-02-26 18:32:15 +01:00
#include "cxx_include/esp_modem_dte.hpp"
2021-03-08 15:10:15 +01:00
struct esp_modem_dte_config;
2021-02-26 18:32:15 +01:00
2021-03-29 19:34:45 +02:00
namespace esp_modem {
2021-02-26 20:23:29 +01:00
2021-03-29 19:34:45 +02:00
std::unique_ptr<Terminal> create_uart_terminal(const esp_modem_dte_config *config);
2021-02-26 20:23:29 +01:00
2021-03-29 19:34:45 +02:00
} // namespace esp_modem
2021-02-26 18:32:15 +01:00