esp_modem: Moved to component folder

This commit is contained in:
David Čermák
2021-05-19 23:00:28 +08:00
committed by David Cermak
parent 61f264f97a
commit 90641c89eb
133 changed files with 21 additions and 21 deletions

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 139 KiB

View File

@ -213,7 +213,7 @@ extern "C" void app_main(void)
}); });
// start console REPL // start console REPL
ESP_ERROR_CHECK(esp_console_start_repl(s_repl)); ESP_ERROR_CHECK(esp_console_start_repl(s_repl));
ESP_LOGI(TAG, "Exiting...%d", esp_get_free_heap_size()); // wait for exit
// wait till for exit
exit_signal.wait_any(1, UINT32_MAX); exit_signal.wait_any(1, UINT32_MAX);
ESP_LOGI(TAG, "Exiting...%d", esp_get_free_heap_size());
} }

View File

@ -149,7 +149,7 @@ void app_main(void)
// check if PIN needed // check if PIN needed
bool pin_ok = false; bool pin_ok = false;
if (esp_modem_read_pin(dce, &pin_ok) == ESP_OK && pin_ok == false) { if (esp_modem_read_pin(dce, &pin_ok) == ESP_OK && pin_ok == false) {
if (esp_modem_set_pin(dce, "1234") == ESP_OK) { if (esp_modem_set_pin(dce, CONFIG_EXAMPLE_SIM_PIN) == ESP_OK) {
vTaskDelay(pdMS_TO_TICKS(1000)); vTaskDelay(pdMS_TO_TICKS(1000));
} else { } else {
abort(); abort();

View File

@ -0,0 +1,6 @@
version: "0.1.5"
description: esp modem
dependencies:
# Required IDF version
idf:
version: ">=4.1"

Some files were not shown because too many files have changed in this diff Show More