2023-10-17 04:00 AM
board : STM32MP157F-DK2
os : OpenSTLinux Kirkstone
build command : bitbake st-image-core
root@stm32mp1:~# rfcomm
Can't open RFCOMM control socket: Protocol not supported
2023-11-05 11:17 PM
Hi @k-watanabe
It seems to me the RFCOMM protocol is not enabled by default in the kernel configuration. As a consequence, you need to build your own kernel. Please refer to the wiki page https://wiki.st.com/stm32mpu/wiki/How_to_customize_the_Linux_kernel
For your information, the RFCOMM support is defined in the kernel menuconfig through
Networking support → Bluetooth subsystem support
Then enable the entry «RFCOMM protocol support»
Best regards
--JM