Page 1 of 1

Stuck with the esp-modem component

Posted: Sat Sep 30, 2023 7:26 am
by torntrousers
We're trying to use the esp-modem component (https://github.com/espressif/esp-protoc ... /esp_modem) with the goal of using it with a secure TLS connection with the "Digital Signature with ESP-TLS" support, but so far not getting very far and blocked with several problems with the esp-modem component.

We've opened a Github issue, https://github.com/espressif/esp-protocols/issues/352, but not getting much response for quite a while.

The esp-modem component seems like a great idea, i know its new and has only recently been released so expected problems, but for now we're wondering if we need to abandon the project.

Is there anything we could do to get more help to progress this?

Re: Stuck with the esp-modem component

Posted: Sat Sep 30, 2023 2:10 pm
by bidrohini
Have you checked your GSM/LTE modem separately? Are you sure that there is no problem with the MODEM?

Re: Stuck with the esp-modem component

Posted: Sat Sep 30, 2023 4:18 pm
by torntrousers
Yes it works ok in other environments and in this commenthttps://github.com/espressif/esp-protoc ... 1715291889 on the issue you can for example see its receiveing AT commands and return OK:

Code: Select all

D (1173) command_lib: generic_command command AT+CGDCONT=1,"IP","iot.1nce.net"

D (1313) command_lib: Response:

OK

D (1313) sock_dce: PDP configured
V (1313) sock_commands: net_open
V (1313) command_lib: generic_get_string
V (1313) command_lib: generic_get_string
V (1423) command_lib: Token: {
}

V (1423) command_lib: Token: {+NETOPEN: 1}

V (1423) command_lib: Token: {
}

V (1423) command_lib: Token: {OK}

V (1423) sock_commands: +NETOPEN: 1
D (1433) sock_commands: Already there
V (1433) command_lib: generic_command
D (1433) command_lib: generic_command command AT+CIPRXGET=1

D (1533) command_lib: Response:

OK

D (1533) sock_dce: Network opened
V (1533) command_lib: generic_get_string
V (1533) command_lib: generic_get_string
V (1643) command_lib: Token: {
}

V (1643) command_lib: Token: {+IPADDR: 10.223.166.7}

V (1643) command_lib: Token: {
}

V (1643) command_lib: Token: {OK}

I (1653) sock_dce: Got IP +IPADDR: 10.223.166.7