I am using the BT121 module in my products, however currently we are dealing with the problem of the BT121 freezing over time (mostly after 1 day continuous operation, while connected to an iPhone (BLE) or Android (Classic BT) device). The script is included to this message. We are in a Bluetooth and Wifi rich environment, could it be that the advertisement scanning causes some buffers to run full?
I wanted to check if you are using the latest firmware (SDK v1.1.2-184)?
The affect of scanning for other device causing a buffer overflow, should not definitely happen, but could you eliminate that possibility by performing the tests in a more quiet environment?
Thanks for replying.
The firmware used to build the .bin is indeed v1.1.2-184. I will try it out in a more silent environment.
Can it help to use a higher baudrate like 230400 instead of 115200? The freezing also only happends when the BT121 is connected to a phone(iPhone in this case) via BLE. If not connected to the phone the BT121 can do its job perfectly for hours straight.
I found out that increasing the Baud rate to 230400 does not help. Also the classic connections fails after about 24 hours of connectivity.
Short update: the problem was solved via the private communication with the technical support team. Advertisement scanning stopped working, however after running tests with multiple devices with the new firmware this phenomena has not been seen anymore.