linux 蓝牙发送文件夹,linux下通过蓝牙发送文件到手机上

已经把bluez和openobex移植到开发板上,用以下命令能成功把文件发送到手机:[root@Real/]#usb1-2.1:newfullspeedUSBdeviceusings3c2410-ohciandaddress8idVendor=1131idProduct1001[root@Real/]#hciconfighci0up[root@Real/]#h...
摘要由CSDN通过智能技术生成

已经把bluez和openobex移植到开发板上,用以下命令能成功把文件发送到手机:

[root@Real /]# usb 1-2.1: new full speed USB device using s3c2410-ohci and address 8

idVendor=1131

idProduct1001

[root@Real /]# hciconfig hci0 up

[root@Real /]# hcid -f /etc/bluetooth/hcid.conf

[root@Real /]# hcitool scan

Scanning ...

00:21:D2:3F:61:D2       n/a

00:1E:A4:52:DE:60       N95 LZX

[root@Real /]# sdptool search 0x1105

Class 0x1105

Inquiring ...

Searching for 0x1105 on 00:1E:A4:52:DE:60 ...

Service Name: OBEX Object Push

Service RecHandle: 0x10004

Service Class ID List:

"OBEX Object Push" (0x1105)

Protocol Descriptor List:

"L2CAP" (0x0100)

"RFCOMM" (0x0003)

Channel: 9

"OBEX" (0x0008)

Language Base Attr List:

code_ISO6

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值