nimaltd / gsm_v5

gsm module library for STM32 LL
GNU General Public License v3.0
232 stars 86 forks source link

Is GSM libs only compatible with baud rate 9600? #38

Closed digidhamu closed 2 years ago

digidhamu commented 2 years ago

SIM800C module is failed to work when I set the higher baud rate other than 9600.

Is this a limitation of GSM libs or anything I am missing?

7aman commented 2 years ago

Did you change baudrate of both MCU and SIM800 to the same value?
Changing baudrate of SIM800 needs a working communication and sending "AT+IPR=<new baudrae>\r\n" to the module.
After successfully changing SIM800's baudrate, it's time to change baudrate of MCU itself to the new value.
They can communicate only if both side have the same baudrate.

digidhamu commented 2 years ago

I didn't setup baud rate SIM800 via AT+IPR=<new baudrae>\r\n command. Thought that will automatically switch over.