|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
本帖最后由 flysunny 于 2009-11-6 12:47 编辑
请问我怎么样才能与开发板连接配对呢??我用的是blueZ-libs-2.25 bluez-utils-2.25 ,很迷茫啊 内核是2.6.16 ,开发板是arm7内核的,不知道该怎么与手机配对,手机是N7610 ,开发板蓝牙适配器是20元的那种每次手机与开发板连接时,手机总是显示:无法与blieZ(0) 配对,怎么样才能手机与开发板配对传输文件啊??以下是我的操作
**********************************************
SEP4020 ARM Linux-2.6.16 SDK 3.3.1
**********************************************
# mount all...........
# Starting mdev.........
starting pid 250, tty '': '-
/bin/sh' mkdir: cannot create directory '/var/run': File exists
/ # cd /usr/local/sbin /usr/local/sbin
# ls
hciattach hciconfig hcid sdpd snmpd /usr/local/sbin
# ./hcid /usr/local/sbin
# ./hciconfig
hci0: Type: USB BD Address: 00:15:83:15:A3:14 ACL MTU: 672:4 SCO MTU: 48:1 UP RUNNING PSCAN ISCAN RX bytes:111 acl:0 sco:0 events:14 errors:0 TX bytes:310 acl:0 sco:0 commands:14 errors:0
/usr/local/sbin
# cd /usr/local/bin /usr/local/bin
# ls bluepin
hcitool mypin mypin~ rfcomm ciptool hidd mypin.c pand sdptool dund l2ping mypin.c~ qvfb sqlite3
/usr/local/bin # ./hcitool scan Scanning ...
00:1A:16:85:E2:EE Nokia 7610
/usr/local/bin # ./hcitool info Usage: info
/usr/local/bin # ./hcitool info 00:1A:16:85:E2:EE
Requesting information ...
BD Address: 00:1A:16:85:E2:EE
Device Name: Nokia 7610 LMP Version: 1.1 (0x1)
LMP Subversion: 0x382 Manufacturer: Cambridge Silicon Radio (10) Features: 0xbf 0xee 0x0f 0x00 0x00 0x00 0x00 0x00
<3-slot packets> <5-slot packets> [tr]
/usr/local/bin # ./l2ping 00:1A:16:85:E2:EE
Ping: 00:1A:16:85:E2:EE from 00:15:83:15:A3:14 (data size 44) ...
0 bytes from 00:1A:16:85:E2:EE id 0 time 69.71ms
0 bytes from 00:1A:16:85:E2:EE id 1 time 10.30ms
0 bytes from 00:1A:16:85:E2:EE id 2 time 11.98ms
0 bytes from 00:1A:16:85:E2:EE id 3 time 24.52ms
0 bytes from 00:1A:16:85:E2:EE id 4 time 21.81ms
5 sent, 5 received, 0% loss /usr/local/bin
# ./hidd --connect 00:1A:16:85:E2:EE
Can't get device information: Success |
|