Files
esp-protocols/components/esp_modem/include/esp_modem_dce_config.h
2022-10-17 18:16:52 +02:00

42 lines
687 B
C

/*
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/** @addtogroup ESP_MODEM_CONFIG
* @{
*/
/**
* @brief ESP Modem DCE Default Configuration
*
*/
#define ESP_MODEM_DCE_DEFAULT_CONFIG(APN) \
{ \
.apn = APN \
}
typedef struct esp_modem_dce_config esp_modem_dce_config_t;
/**
* @brief DCE configuration structure
*/
struct esp_modem_dce_config {
const char *apn; /*!< APN: Logical name of the Access point */
};
/**
* @}
*/
#ifdef __cplusplus
}
#endif