Free Mod Bus with Bluetooth
Posted: Mon Oct 28, 2024 8:34 pm
Hi,
I am trying to create an application where I have freemodbus communicating over ethernet and NimBLE connecting to another esp32. The modbus and bluetooth work great separately, but as soon as they are together the modbus disconnects very frequently. I get an ESP_ERR_TIMEOUT. I have tried increasing the configurable timeout information in menuconfig to be as long as possible but have had no luck. It seems like bluetooth and modbus use some of the same resources and then it disconnects the modbus. I am using an Olimex Gateway for the board. Any help or ideas would be appreciated.
I am trying to create an application where I have freemodbus communicating over ethernet and NimBLE connecting to another esp32. The modbus and bluetooth work great separately, but as soon as they are together the modbus disconnects very frequently. I get an ESP_ERR_TIMEOUT. I have tried increasing the configurable timeout information in menuconfig to be as long as possible but have had no luck. It seems like bluetooth and modbus use some of the same resources and then it disconnects the modbus. I am using an Olimex Gateway for the board. Any help or ideas would be appreciated.