cancel
Showing results for 
Search instead for 
Did you mean: 

Does not exisits rfcomm module in OpenSTLinux

k-watanabe
Associate

board : STM32MP157F-DK2

os : OpenSTLinux Kirkstone

build command : bitbake st-image-core

root@stm32mp1:~# rfcomm
Can't open RFCOMM control socket: Protocol not supported

Screenshot from 2023-10-17 19-53-22.pngScreenshot from 2023-10-17 19-53-54.png

1 REPLY 1
Jean-Marc B
ST Employee

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