Skip to main content
Visitor II
Oct 17, 2023 11:00 AM UTC
Question

Does not exisits rfcomm module in OpenSTLinux

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

This topic has been closed for replies.

1 reply

Jean-Marc B
ST Employee
Nov 6, 2023 7:17 AM UTC

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