I have tried following a lot of posts online, but I could still not solve my issue.
I want to instantiate serial communication between my RPi and my Windows 11 computer.
Currently, I have connected them over Bluetooth, but I am struggling to create a serial port.
Before I connected, I ran this command:
sudo nano /etc/systemd/system/dbus-org.bluez.service, and then added the compatibility flag
-C and the SP profile line:
ExecStart=/usr/lib/bluetooth/bluetoothd -C ExecStartPost=/usr/bin/sdptool add SP
After I connected using the GUI, I ran this on the pi:
pi@raspberrypi:~ $ sudo rfcomm connect hci0 xx:xx:xx:xx:xx:xx Connected /dev/rfcomm0 to xx:xx:xx:xx:xx:xx on channel 1 Press CTRL-C for hangup
But when I try to create an incoming COM port on my Windows machine, Windows does not pick up on the Raspberry Pi. When I try to create an outgoing COM port on my Windows machine, it says "The device you have selected does not have a serial port service running".
I am not sure where to go from here.