Running Bluetooth in compatibility mode on Jetson Orin Nano Dev kit

HI everyone,
I’m using a jetson orin nano Dev kit. I intend to connect it to my phone’s app using a RFCOMM serial port. I have enabled the modules required for Bluetooth in tegra_defconfig and compiled the kernel.
I wish to run the Bluetoothd in compatibility mode for running PyBluez for my program. But, even after editing the etc/systemd/system/dbus.org-bluez.service file with --compat, the bluetooth does not run in compatibility mode.
Here is the output of sudo systemctl status bluetooth

● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
    Drop-In: /usr/lib/systemd/system/bluetooth.service.d
             └─nv-bluetooth-service.conf
     Active: active (running) since Tue 2023-07-11 13:41:35 IST; 12min ago
       Docs: man:bluetoothd(8)
   Main PID: 6783 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 7454)
     Memory: 716.0K
     CGroup: /system.slice/bluetooth.service
             └─6783 /usr/lib/bluetooth/bluetoothd -d

Jul 11 13:51:31 mavi-desktop bluetoothd[6783]: src/adapter.c:local_name_changed_callback() Short name:
Jul 11 13:51:31 mavi-desktop bluetoothd[6783]: src/adapter.c:local_name_changed_callback() Current alias: mavi-jets
Jul 11 13:51:31 mavi-desktop bluetoothd[6783]: src/adapter.c:set_name() sending set local name command for index 0
Jul 11 13:51:31 mavi-desktop bluetoothd[6783]: src/adapter.c:local_name_changed_callback() Name: mavi-jetso
Jul 11 13:51:31 mavi-desktop bluetoothd[6783]: src/adapter.c:local_name_changed_callback() Short name:
Jul 11 13:51:31 mavi-desktop bluetoothd[6783]: src/adapter.c:local_name_changed_callback() Current alias: mavi-jetso
Jul 11 13:51:32 mavi-desktop bluetoothd[6783]: src/adapter.c:set_name() sending set local name command for index 0
Jul 11 13:51:32 mavi-desktop bluetoothd[6783]: src/adapter.c:local_name_changed_callback() Name: mavi-jetson
Jul 11 13:51:32 mavi-desktop bluetoothd[6783]: src/adapter.c:local_name_changed_callback() Short name:
Jul 11 13:51:32 mavi-desktop bluetoothd[6783]: src/adapter.c:local_name_changed_callback() Current alias: mavi-jetson

Can you please help me out?
I’m not able to run PyBluez on the Orin nano due to this.

Hello everyone,
This forum query resolved it for me: Pybluez on Nano: SDP can't be generated - #2 by Ucef_D_Moon
The bluetooth is now in compatibility mode on Jetson.

All thanks to this wonderful community once again!

1 Like

Glad to know you found the solution, thanks for the update.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.