已经把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