Hi,
He has been trying to add Bluetooth support to this device for several days.
The easiest way would be to connect bluetooth to USB.
However, it does not want to deprive itself of free USB ports via a Bluetooth adapter.
I don’t want to use USB hubs because it looks ugly and inconvenient.
I want to use the built-in Bluetooth module in the Beryl MT1300.
This router contains the TLSR8251 model which is responsible for Bluetooth in this device.
This module is also found in very popular bluetooth thermometers that also measure humidity.
My reason for wanting to use built-in Bluetooth is very simple. I want to read temperature and humidity from thermometers with Beryl and then send them to InfluxDB.
From what I was able to determine, the application with this name manages Bluetooth in this device:
/usr/sbin/ble_config_wifi
This application connects to / dev / ttyS1 to establish a connection with the bluetooth module.
Console bandwidth is: 115200
The app’s source code is included in the attachment.
What do you want to use the Bluetooth for? It is now only used to configure the wifi for the first time setup. But most people just use cable/wifi to configure the router.
I would like to use this to collect data from IoT sensors. Additionally, I would like to use Router to control bluetooth devices.
Using Bluetooth only for the first configuration of the router is a very modest solution.
Support for standard Bluetooth will allow me to exchange proprietary gates for open source considerations.
I could still connect a regular USB Bluetooth adapter to Beryl and I will probably do it when I fail to change the purpose of the built-in Bluetooth module.
There are also alternatives based on ESP32 and the Raspberry Pi.
In the case of ESP32, we have another device that clutters our radio bands and consumes electricity.
The Raspberry Pi has the same disadvantages as the ESP32 and a big issue with availability and pricing.
Beryl with its built-in bluetooth module is the best solution for me. One device with a free USB port that serves as an IoT network and gateway.
In my case, I want to get the values broadcast by thermometers and smart flower sensors. I have many other bluetooth devices but they are less important to me.
I want to send data from these devices via Beryl to InfluxDB or Home assistant.