All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pol Hallen <bluez@fuckaround.org>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Problem send bt files
Date: Sat, 16 Sep 2006 16:05:36 +0200	[thread overview]
Message-ID: <450C04B0.3040308@fuckaround.org> (raw)

Hi all,

I installed bluez-utils (and relative dependence and programs) on my 
debian stable (sarge):

ii  bluez-firmware 1.0-2          Firmware for Bluetooth devices
ii  bluez-hcidump  1.17-1sarge1   Analyses Bluetooth HCI packets
ii  bluez-pin      0.25-1         Bluetooth PIN helper with D-BUS support
ii  bluez-utils    2.15-1.1       Bluetooth tools and daemons

I do a paring from my mobile to my server and is it ok.

I try use obexftp to send a file to my mobile:

obexftp -v -b 00:12:62:E3:B1:DE -B 10 -p file.jpg

but I see:

Browsing 00:12:62:E3:B1:DE ...
Channel: 10
No custom transport
Connecting...bt: 1
done
Sending file.jpg... failed: file.jpg
Disconnetting...done

If i try send a file from my mobile to server (using obexserver) is it ok.


/etc/bluetooth/rfcomm.conf is whole commented, pin file contain only pin 
code..

Here there is my config file:

/etc/bluetooth/hcid.conf

# 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;

         # PIN helper
         pin_helper /usr/bin/bluez-pin;

         # D-Bus PIN helper
         dbus_pin_helper;
}

# 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;

         # 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;

         # Authentication and Encryption (Security Mode 3)
         #auth enable;
         #encrypt enable;
}

I tried several different configs in /etc/bluetooth/hcid.conf and kill 
hcid  and restart, i also tried /etc/init.d/bluez-utils restart, i also 
tried init 6 but nothing..

I don't understand why can't send any files from my server.. :-((

in /var/log/syslog I see:

hcid[26398]: link_key_request (sba=00:0F:3D:05:99:B7, dba=00:12:62:E3:B1:DE)

Can anyone help me pls?!
Thanks!

Pol

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2006-09-16 14:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-16 14:05 Pol Hallen [this message]
2006-09-16 17:28 ` [Bluez-users] Problem send bt files digitalfredy
2006-09-16 18:26   ` Pol Hallen
2006-09-17 22:44     ` digitalfredy
2006-09-17 22:42       ` Pol Hallen
2006-09-18  3:23         ` digitalfredy
2006-09-18 11:54           ` Pol Hallen
2006-09-19  3:36             ` digitalfredy
2006-09-19 17:33               ` Pol Hallen
2006-09-18  3:27 ` digitalfredy
2006-09-18 11:53   ` Pol Hallen
2006-09-19  3:38     ` digitalfredy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=450C04B0.3040308@fuckaround.org \
    --to=bluez@fuckaround.org \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.