Stuck with the esp-modem component

torntrousers
Posts: 21
Joined: Mon Dec 21, 2015 9:30 am

Stuck with the esp-modem component

Postby torntrousers » Sat Sep 30, 2023 7:26 am

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?

bidrohini
Posts: 202
Joined: Thu Oct 27, 2022 12:55 pm

Re: Stuck with the esp-modem component

Postby bidrohini » Sat Sep 30, 2023 2:10 pm

Have you checked your GSM/LTE modem separately? Are you sure that there is no problem with the MODEM?

torntrousers
Posts: 21
Joined: Mon Dec 21, 2015 9:30 am

Re: Stuck with the esp-modem component

Postby torntrousers » Sat Sep 30, 2023 4:18 pm

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

Who is online

Users browsing this forum: Majestic-12 [Bot] and 69 guests