I can't send messages over the mobile network with a baud rate other than the default

yanmartins
Posts: 5
Joined: Tue Mar 14, 2023 4:03 pm

I can't send messages over the mobile network with a baud rate other than the default

Postby yanmartins » Tue Mar 14, 2023 4:24 pm

Hello,

I'm working in a project using ESP32-S3 and Telit module for use mobile data.

I can make the mobile module send data over the network with the default baud rate (115200). But when I change the baudrate to any other value, I can't communicate over the network.

This is the code snippet where I change the baudrate of the ESP UART and the Telit module UART:

Code: Select all

#define DEFAULT_BAUDRATE 115200
#define MAX_BAUDRATE     921600

uart_set_baudrate(UART_MODEM, DEFAULT_BAUDRATE);
if(modem_handle->dce->set_baud(MAX_BAUDRATE) == command_result::OK) uart_set_baudrate(UART_MODEM, MAX_BAUDRATE);
As you can see below, even with a higher baud rate, I can get the IP event. But I am unable to communicate in PPP mode.

Code: Select all

W (11233) srv_modem_manager: New baudrate: 921600
I (19693) srv_mobile_network: IP event! 6
I (19693) srv_mobile_network: Modem Connected to PPP Server
I (19693) srv_mobile_network: ~~~~~~~~~~~~~~
I (19693) esp-netif_lwip-ppp: Connected
I (19693) srv_mobile_network: IP          : 10.160.68.106
I (19703) srv_mobile_network: Netmask     : 255.255.255.255
I (19713) srv_mobile_network: Gateway     : 10.64.64.64
I (19713) srv_mobile_network: Name Server1: 172.31.128.53
I (19723) srv_mobile_network: Name Server2: 172.31.0.53
I (19733) srv_mobile_network: ~~~~~~~~~~~~~~
Do I need to do some more configuration? I found almost no information about it.

Thanks in advance,
Yan

Who is online

Users browsing this forum: No registered users and 106 guests