您尚未登录。

楼主 # 2022-04-09 11:51:48

inia
会员
注册时间: 2021-07-27
已发帖子: 37
积分: 42

Can't open RFCOMM control socket: Protocol not supported

V3S 在使用蓝牙命令连接的时候,报错。

 rfcomm bind /dev/rfcomm0 E0:A6:70:8C:A3:02 
  Can't open RFCOMM control socket: Protocol not supported 

离线

楼主 #1 2022-04-09 13:57:42

inia
会员
注册时间: 2021-07-27
已发帖子: 37
积分: 42

Re: Can't open RFCOMM control socket: Protocol not supported

找到原因了,是因为在内核配置的时候,没有选中相关的协议。

                                                           --- Bluetooth subsystem support                                                                                                    │ │  
  │ │                                                             [*]   Bluetooth Classic (BR/EDR) features                                                                                          │ │  
  │ │                                                             <*>     RFCOMM protocol support                                                                                                    │ │  
  │ │                                                             [*]       RFCOMM TTY support                                                                                                       │ │  
  │ │                                                             <*>     BNEP protocol support                                                                                                      │ │  
  │ │                                                             [*]       Multicast filter support                                                                                                 │ │  
  │ │                                                             [*]       Protocol filter support                                                                                                  │ │  
  │ │                                                             <*>     HIDP protocol support                                                                                                      │ │  
  │ │                                                             [*]     Bluetooth High Speed (HS) features                                                                                         │ │  
  │ │                                                             [*]   Bluetooth Low Energy (LE) features                                                                                           │ │  
  │ │                                                             [ ]   Enable LED triggers                                                                                                          │ │  
  │ │                                                             [ ]   Bluetooth self testing support                                                                                               │ │  
  │ │                                                             [*]   Export Bluetooth internals in debugfs                                                                                        │ │  
  │ │                                                                   Bluetooth device drivers  --->  

离线

#2 2023-12-25 17:08:25

542396750@qq.com
会员
注册时间: 2021-03-26
已发帖子: 153
积分: 14.5

Re: Can't open RFCOMM control socket: Protocol not supported

绑定之后能连上发数据吗?

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn