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);
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: ~~~~~~~~~~~~~~
Thanks in advance,
Yan