Hello everyone,
These days, I tried to use "rfcomm" to read the data from the external bluetooth device to Jetson Nano (ubuntn 18.04 with the architecture of aarch64 was installed in this microcontroller). When I used this command "sudo rfcomm bind 0 00:04:3E:4B:32:40”, the error message araise which said “RFCOMM TTY support not available". I googled a lot and asked many people, but still could not solve this issue. Any suggestions will be appreciated!
Here are some additional informationmode.
1) I found out there was no tty support in the kernel configuration file.
lamb@lamb-desktop:~$ zcat /proc/config.gz | grep RFCOM
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY is not set
2) I tried to recompile the module with tty support, but error message said "kernel configuration is invalid"
sudo apt-get install linux source
cd in /usr/src/linux-`uname -r`/ and give this command:
make CONFIG_BT_RFCOMM=m CONFIG_BT_RFCOMM_TTY=y M=net/bluetooth/rfcomm
3) kernel version
lamb@lamb-desktop:~$ uname -aLinux lamb-desktop 4.9.140-tegra #1 SMP PREEMPT Tue Jul 16 17:04:49 PDT 2019 aarch64 aarch64 aarch64 GNU/Linux
4) I found in the path /lib/modules/4.9.140-tegra/kernel/net/bluetooth/, only bnep.ko was available.
Best regard,
Xiaoqun Yu
Bookmarks