Search found 4 matches

by rafapcardoso
Sat Mar 25, 2023 12:20 pm
Forum: ESP-IDF
Topic: Error build esp_modem_api==0.1.20 : PdpContext not declared in esp_modem_command_declare.inc:127:78
Replies: 2
Views: 1134

Re: Error build esp_modem_api==0.1.20 : PdpContext not declared in esp_modem_command_declare.inc:127:78

Anyone?
I commented all my code, the only code remainin is "#include <esp_modem_api.h>", and the error come from this import.
I am using version 4.4.4, I don't know what to do anymore, please, I need help to use the SIM800L.
by rafapcardoso
Fri Mar 17, 2023 4:03 am
Forum: ESP-IDF
Topic: Error build esp_modem_api==0.1.20 : PdpContext not declared in esp_modem_command_declare.inc:127:78
Replies: 2
Views: 1134

Error build esp_modem_api==0.1.20 : PdpContext not declared in esp_modem_command_declare.inc:127:78

I imported the esp_modem_api==0.1.20 into may code but I can build. I am using ESP-IDF==4.4.4 The is the log error: D:/.../managed_components/espressif__esp_modem/include/generate/esp_modem_command_declare.inc:127:78: error: 'PdpContext' has not been declared ESP_MODEM_DECLARE_DCE_COMMAND(set_pdp_co...
by rafapcardoso
Wed Mar 15, 2023 3:50 pm
Forum: ESP-IDF
Topic: PPPoS APN Authentication
Replies: 1
Views: 690

Re: PPPoS APN Authentication

After a bit painful update, I am using the ESP-IDF 5.0.1, I hope I don't have such problem in this version.
I am struggling with some environment variables and some deprecated functions, new version new problems, but no need this answer anymore.
Tks.
by rafapcardoso
Mon Mar 13, 2023 11:24 pm
Forum: ESP-IDF
Topic: PPPoS APN Authentication
Replies: 1
Views: 690

PPPoS APN Authentication

I think it is a very basic question, but I can't authenticate my APN with the 4.3 example, so, I add this line esp_netif_ppp_set_auth... ESP-IDF example 4.3: https://github.com/espressif/esp-protocols/blob/master/components/esp_modem/examples/pppos_client/main/pppos_client_main.c /* Configure the PP...