3
« : 31.05.07 - klo:09.00 »
Dna:n asetuksilla kun kokeilin niin sain vastaukseksi vain:
Failed to open /dev/rfcomm0: Connection refused
Puhelimen (nokia 6310i) ja läppärin paritus siis onnistuu hyvin.
/etc/bluetooth/rfcomm.conf näyttää tältä:
#
# RFCOMM configuration file.
#
rfcomm0 {
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 00:60:57:2D:C3:76;
#
# # RFCOMM channel for the connection
channel 1;
#
# # Description of the connection
comment "Nokia 6310i";
}
/etc/bluetooth/hcid.conf puolestaan on tällainen:
#
# HCI daemon configuration file.
#
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# Default PIN code for incoming connections
passkey "1234";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "%h-%d";
# Local device class
class 0x3e0100;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
discovto 1;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
}
Mikähän tässä mahtaa kusta?