[Apr 9 20:03:33.274] esp32_bt_gap.c:280 BLE advertising started
[Apr 9 20:03:33.274] esp32_bt_gatts.c:421 5f:e2:8d:69:a0:c0: Already paired
[Apr 9 20:03:34.003] mgos_bt_svc_config.c:55 Config key ‘wifi.sta.enable’ not found
[Apr 9 20:03:34.009] mgos_bt_svc_config.:244 Error setting config value
I suggest to use a generic https://github.com/mongoose-os-libs/rpc-gatts library, which allows to talk any RPC over BLE. See it in action (Chrome browser only, Javascript implementation): https://mongoose-os.com/ble/
The core functionality is in https://mongoose-os.com/ble/js/rpc_over_ble.js
That could be implemented in any other language.
Thank you for your reply. Let me have a shot at rpc-gatts library. If there are more documents about these libraries, so much the better.