I'm currently working on an IoT project involving ESP32 modules an an RPi. The RPi's main role is MQTT broker (mosquitto), in combination with apache2 webserver and a C++ program supervising the whole project.
ATM, all the IoT devices have a hard-coded SSID, wifi password, MQTT broker IP address etc. This implies that for every single device participating in the system, the source code has to be adopted (modifying some #define statements) and rebuild before flashing. This is a tendious proces and finaly not feasible when others want to use my system (model railroad control). So my idea is to connect the RPi over bluetooth BLE to the devices and set/modify settings in the device before it connects over TCP/IP to the broker.
I spend the whole day googling for info regarding C/C++ programming bluetooth under linux, but didn't found usefull info/tutorials on the subject. (However, found some interesting background info on the bluetooth technologies ). The best advice I found was digging into the bluez source-code .
So my simple question is : where do I find usefull info, tutorials and/or examples re bluetooth BLE programming in C/C++ under linux (more specific Debian, Raspbian) ?
Thanks in advance,