forked from espressif/esp-protocols
Examples: Cleanup the modem console
This commit is contained in:
1 parent
77db911a48
commit
26bde89834
8 files changed
+130
-180
No files matched your search
@@ -114,9 +114,9 @@ esp_err_t PPPNetwork::init(esp_netif_t *netif, const std::string& apn, const std
|
||||
{
|
||||
// configure
|
||||
esp_modem_dte_config_t dte_config = ESP_MODEM_DTE_DEFAULT_CONFIG();
|
||||
dte_config.event_task_stack_size = 4096;
|
||||
dte_config.rx_buffer_size = 16384;
|
||||
dte_config.tx_buffer_size = 2048;
|
||||
dte_config.uart_config.event_task_stack_size = 4096;
|
||||
dte_config.uart_config.rx_buffer_size = 16384;
|
||||
dte_config.uart_config.tx_buffer_size = 2048;
|
||||
esp_modem_dce_config dce_config = ESP_MODEM_DCE_DEFAULT_CONFIG(apn.c_str());
|
||||
|
||||
// create DTE and minimal network DCE
|
||||
|
||||
Reference in new issue
Block a user