When I install the repo on a raspberry pi 4, and I connect a Samsung TV via bluetooth and I emulate the keyboard, it works, but if I restart the raspberry and I execute the command "connect " in bluetoothctl it returns me this error:
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# discoverable yes
Changing discoverable on succeeded
[CHG] Controller DC:A6:32:75:83:A0 Discoverable: yes
[bluetooth]# devices
Device BC:7E:8B:E1:09:4B [Monitor] Samsung M5 (27)
[bluetooth]# connect BC:7E:8B:E1:09:4B
Attempting to connect to BC:7E:8B:E1:09:4B
[CHG] Device BC:7E:8B:E1:09:4B Connected: yes
[CHG] Device BC:7E:8B:E1:09:4B ServicesResolved: yes
Failed to connect: org.bluez.Error.NotAvailable br-connection-profile-unavailable
[CHG] Device BC:7E:8B:E1:09:4B ServicesResolved: no
[CHG] Device BC:7E:8B:E1:09:4B Connected: no
[bluetooth]#
The device was paired at the last startup but I can no longer reconnect at the next startup.
Status of bluetooth service
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
Active: active (running) since Sat 2024-09-28 21:49:16 CEST; 3s ago
Docs: man:bluetoothd(8)
Main PID: 1085 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 3917)
CPU: 100ms
CGroup: /system.slice/bluetooth.service
└─1085 /usr/libexec/bluetooth/bluetoothd --noplugin=input,a2dp,sap
Sep 28 21:49:16 raspberrypi bluetoothd[1085]: Bluetooth management interface 1.22 initialized
When I install the repo on a raspberry pi 4, and I connect a Samsung TV via bluetooth and I emulate the keyboard, it works, but if I restart the raspberry and I execute the command "connect " in bluetoothctl it returns me this error:
The device was paired at the last startup but I can no longer reconnect at the next startup.
Status of bluetooth service
Thanks