LINUX.ORG.RU

Bluetooth help


0

0

имеется Slackware-current с самосборным ядром (поддержка блуез включена) имеется USB-Bluetooth (определяющийся как Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)) и Nokia 6230i

поставил bluez-firmware-1.2
bluez-hcidump-1.31
bluez-libs-3.1-i48
bluez-sdp-1.5-i386
bluez-utils-3.1-i4
kdebluetooth-20060415
obexftp-0.20
openobex-1.0.1

#hciconfig -a
hci0: Type: USB
BD Address: 00:09:DD:50:15:7D ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:7992757 acl:243994 sco:0 events:632159 errors:0
TX bytes:134253485 acl:1098731 sco:0 commands:286 errors:0
Features: 0xff 0xff 0x8f 0xf8 0x18 0x18 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy:
Link mode: SLAVE ACCEPT
Name: 'CSR - bc3'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Ver: 1.1 (0x1) HCI Rev: 0x639 LMP Ver: 1.1 (0x1) LMP Subver: 0x639
Manufacturer: Cambridge Silicon Radio (10)
#hcitool scan
Scanning ...
xx:xx:xx:xx:xx:xx Nokia 6230i


#cat /etc/bluetooth/hcid.conf
# HCId options
options {

autoinit yes;
security user;
pin_helper /opt/kde/lib/kdebluetooth/kbluepin;
}
# Default settings for HCI devices
device {
name "%h-%d";
class 0x520204;
iscan enable; pscan enable;
lm accept;
lp rswitch,hold,sniff,park;
}

#cat /etc/bluetooth/rfcomm.conf
rfcomm0 {
bind yes;
device xx:xx:xx:xx:xx:xx;
channel 1;
comment "Nokia 6230i";
}

#konqueror bluetooth:/

находит телефон. заходим вовнутрь там
OBEX File Transfer
OBEX Object Push и др

вот на телефон через OBEX Object Push залить можно а вот OBEX File Transfer долго думает и выдает "ошибка соединения с узлом"
при этом пин не запрашивается

#obexftp -b xx:xx:xx:xx:xx:xx -B 11 -l /kingston
Browsing xx:xx:xx:xx:xx:xx ...
Channel: 10
Connecting...failed: connect
Still trying to connect
Connecting...failed: connect
Still trying to connect
Connecting...failed: connect
Still trying to connect

в этот момент телефон пишет "Соединение Bluetooth не установлено"
minicom так же не находит устройство на /dev/rfcomm0

★★★

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.