Hi guys,
I’m trying to use the BLE module 01, and there isn’t much documentation on the subject.
The bluetoothctl tool isn’t working.
This issue was addressed a few months ago: Milk-V Duo-s basic bluetooth issue
I followed the steps provided in that discussion to get the service up and running, and it worked, but I can’t pair the device…
[root@milkv-duo]~# /usr/libexec/bluetooth/bluetoothd -d -n
bluetoothd[750]: Bluetooth daemon 5.58
bluetoothd[750]: src/adapter.c:adapter_init() sending read version command
bluetoothd[750]: Starting SDP server
bluetoothd[750]: src/sdpd-service.c:register_device_id() Adding device id record for 0002:1d6b:0246:053a
bluetoothd[750]: src/plugin.c:plugin_init() Loading builtin plugins
bluetoothd[750]: src/plugin.c:add_plugin() Loading hostname plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading wiimote plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading autopair plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading policy plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading a2dp plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading avrcp plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading network plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading input plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading hog plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading health plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading gap plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading scanparam plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading deviceinfo plugin
bluetoothd[750]: src/plugin.c:add_plugin() Loading battery plugin
bluetoothd[750]: src/plugin.c:plugin_init() Loading plugins /usr/lib/bluetooth/plugins
bluetoothd[750]: profiles/health/hdp.c:hdp_manager_start() Starting Health manager
bluetoothd[750]: profiles/input/suspend-none.c:suspend_init()
bluetoothd[750]: profiles/network/manager.c:read_config() Config options: Security=true
bluetoothd[750]: src/main.c:main() Entering main loop
bluetoothd[750]: src/plugin.c:plugin_cleanup() Cleanup plugins
bluetoothd[750]: profiles/health/hdp.c:hdp_manager_stop() Stopped Health manager
bluetoothd[750]: profiles/input/suspend-none.c:suspend_exit()
bluetoothd[750]: Stopping SDP server
bluetoothd[750]: Exit
[root@milkv-duo]~#
I understand that plugins are loaded from /usr/lib/bluetooth/plugins, but that path does not exist.
I also tried configuring the module by using hcitool -i hci0 cmd, but this process is somewhat cumbersome, is there any documentation for hci commands for this particular BLE module?
I appreciate any help with this issue.