-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting fixed baudrate with at+ipr=19200 #254
Comments
If you set the fixed baud rate to 19200, did you also configure the baud rate to 19200 when initializing Serial? |
Hi, I am not sure what you mean, i wil describe what i do. I have attached the modem print usb port to the usb port of my PC. I use putty software and make a serial connection through the comport. I type AT OK OK OK at OK at+ipr=19200 OK <--- this is where a change the baudrate of putty ▒▒▒▒▒▒▒▒▒▒▒▒ With other types of modems this all works. |
I mean are you changing SerialAT.begin(115200, SERIAL_8N1, MODEM_RX, MODEM_TX); to SerialAT.begin(19200, SERIAL_8N1, MODEM_RX, MODEM_TX); |
Ok.... i lost you there.... ;-) I connect to the modem and type at+ipr="baudrate" and the communicatie speed is changed according the baudrate i set. Where should i put "SerialAT.begin(19200, SERIAL_8N1, MODEM_RX, MODEM_TX); " Regards, |
Put it in the setup function, it has nothing to do with putty, putty monitors the serial baud rate, not the communication baud rate of the modem and ESP |
Sorry to say, i stil lost you ;-) Should i reprogram the device ? For now i only want to use the device as a serial modem fixed at 19200 baud. |
Add baud rate check to automatically determine the appropriate baud rate. Write this example |
Thanks for your link. |
OK. modem <------(baud rate : 19200 )-------> esp32 esp32 <----------(baud rate : 115200) -----> putty Do you understand? These are two different things. |
Ok You can set the speed of the modem with AT commands. |
Whether reprogramming is required is determined by the application. |
I am looking if i can use the module to replace a serial modem i am using now. |
yes |
Hi,
if i ask baudrate with at+ipr?
i get 0 This means auto baudrate
I want to set the baudrate to fixed 19200 with the command
It gives me an ok, but i cannot reach the modem anymore.
Whatever baudrate i try.
What am i doing wrong ?
Should this work ?
The text was updated successfully, but these errors were encountered: