mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-16 03:52:13 +02:00
42 lines
687 B
C
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
|