configurando bluetooth sul mio portatile (Dell XPS1330) ho scoperto che non riesco ad inviare i file dal PC al telefono e viceversa.
Il pairing con il cellulare avviene correttamente e i disposiviti vengono rilevati ma quando vado per inviare un file ecco cosa mi appare:
Codice: Seleziona tutto
bash-3.1# obexput -b `cat /home/snake/Desktop/bluez` -p /mnt/sda4/Canzoni/Guns\ and\ Roses\ -\ Welcome\ to\ the\ Jungle.mp3
Browsing 00:1B:33:37:52:D3 ...
Connecting...done
Sending "/mnt/sda4/Canzoni/Guns and Roses - Welcome to the Jungle.mp3"...-failed: /mnt/sda4/Canzoni/Guns and Roses - Welcome to the Jungle.mp3
Disconnecting...doneVi posto anche la configurazione:
Codice: Seleziona tutto
bash-3.1# cat /etc/bluetooth/hcid.conf
#
# 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 "BlueZ at %h (%d)";
# Local device class
class 0x000100;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# 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
Codice: Seleziona tutto
bash-3.1# cat /etc/bluetooth/passkeys/default
1234
Grazie per l'aiuto.
Saluti

