Search found 4 matches
- Mon Apr 22, 2024 12:52 pm
- Forum: Documentation
- Topic: esp_modem: unsolicited response, URC
- Replies: 2
- Views: 16677
Re: esp_modem: unsolicited response, URC
A possible solution could be to setup a self managed uart port As long as you don't use the DATA mode, it is possible to add a second serial port (UART_NUM_2) to the same pins, and only use them for reading AT response data and URCs. Example code [Codebox] #include <stdio.h> #include <string.h> #inc...
- Mon Nov 20, 2023 1:17 pm
- Forum: ESP-IDF
- Topic: Lilygo SIM7000G and ESP-IDF
- Replies: 3
- Views: 3739
Re: Lilygo SIM7000G and ESP-IDF
For my setup it was also required to set the network mode to GSM only: void configure_network_mode_gsm_only(esp_modem_dce_t* dce) { ESP_LOGI(TAG, "Setting network mode..."); char resp[32]; esp_err_t err = esp_modem_at(dce, "AT+CNMP=13\r", resp, 1000); if (err != ESP_OK) { ESP_LOGE(TAG, "esp_modem se...
- Fri Oct 13, 2023 8:05 am
- Forum: ESP-IDF
- Topic: Lilygo SIM7000G and ESP-IDF
- Replies: 3
- Views: 3739
Re: Lilygo SIM7000G and ESP-IDF
Initialising the SIM7000G using TinyGsm, so that the serial communication is working, and afterwards flashing the firmware using esp_modem will allow for serial communication to work. Something is definitely not OK during serial setup using the esp_modem component (in combination with the lillygo bo...
- Thu Oct 12, 2023 11:17 am
- Forum: ESP-IDF
- Topic: Lilygo SIM7000G and ESP-IDF
- Replies: 3
- Views: 3739
Re: Lilygo SIM7000G and ESP-IDF
Hello, SIM7000 is support is now integrated. But I'm also in the same situation. Arduino libraries like TinyGSM work with the Lillygo sim7000g without any problems. But we also want to use the ESP-IDF API for a more mature project setup. As far as I can tell, the esp_modem component issues seems to ...