public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] pin less obex file transfer
@ 2007-09-06  8:57 Marco Milanesi
  2007-09-06  9:20 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Milanesi @ 2007-09-06  8:57 UTC (permalink / raw)
  To: bluez-users

hi all!

    I have the need to transfer files from PC to mobile without inserting the pin code in the mobile.

it has to be done only via command line, I have tried to disable in /etc/bluetooth/hcid.conf the param:

    - security none

with no success (it always asks the pin number)

as a side note, with kfbtobex kde graphic application I was able to transfer file without authentication to the mobile

any hints?

thanks

ciao,
Marco

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] pin less obex file transfer
  2007-09-06  8:57 [Bluez-users] pin less obex file transfer Marco Milanesi
@ 2007-09-06  9:20 ` Marcel Holtmann
  2007-09-06  9:33   ` Marco Milanesi
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2007-09-06  9:20 UTC (permalink / raw)
  To: BlueZ users

Hi Marco,

>     I have the need to transfer files from PC to mobile without inserting the pin code in the mobile.
> 
> it has to be done only via command line, I have tried to disable in /etc/bluetooth/hcid.conf the param:
> 
>     - security none
> 
> with no success (it always asks the pin number)
> 
> as a side note, with kfbtobex kde graphic application I was able to transfer file without authentication to the mobile

wild guess is that you used the wrong RFCOMM channel number. Make sure
you use the Object Push channel retrieved via SDP and not some static
magic. If the phone requires a PIN you can't do anything about it.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] pin less obex file transfer
  2007-09-06  9:20 ` Marcel Holtmann
@ 2007-09-06  9:33   ` Marco Milanesi
  2007-09-06  9:53     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Milanesi @ 2007-09-06  9:33 UTC (permalink / raw)
  To: BlueZ users; +Cc: Marcel Holtmann

> wild guess is that you used the wrong RFCOMM channel number. Make sure
> you use the Object Push channel retrieved via SDP and not some static
> magic. If the phone requires a PIN you can't do anything about it.

that was it! at least... partially. now operating on obex push channel (I didn't knew that there was a specific channel for PUSH) I can approve the file receving from the mobile, but obex prints this strange error:
root@myhost:/home/kpanic# obexftp -b 00:02:EE:46:5F:32 -B 9 -p image.jpg 
Browsing 00:02:EE:46:5F:32 ...
Channel: 10
Connecting...failed: FBS UUID
Still trying to connect
Connecting...failed: FBS UUID
Still trying to connect
Connecting...failed: FBS UUID
Still trying to connect

I'm noticing that also that I use -B 9 but Channel 10 is used, weird

suggestions?

and thanks :)

ciao,
Marco

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] pin less obex file transfer
  2007-09-06  9:33   ` Marco Milanesi
@ 2007-09-06  9:53     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2007-09-06  9:53 UTC (permalink / raw)
  To: Marco Milanesi; +Cc: BlueZ users

Hi Marco,

> > wild guess is that you used the wrong RFCOMM channel number. Make sure
> > you use the Object Push channel retrieved via SDP and not some static
> > magic. If the phone requires a PIN you can't do anything about it.
> 
> that was it! at least... partially. now operating on obex push channel (I didn't knew that there was a specific channel for PUSH) I can approve the file receving from the mobile, but obex prints this strange error:
> root@myhost:/home/kpanic# obexftp -b 00:02:EE:46:5F:32 -B 9 -p image.jpg 
> Browsing 00:02:EE:46:5F:32 ...
> Channel: 10
> Connecting...failed: FBS UUID
> Still trying to connect
> Connecting...failed: FBS UUID
> Still trying to connect
> Connecting...failed: FBS UUID
> Still trying to connect
> 
> I'm noticing that also that I use -B 9 but Channel 10 is used, weird

use the OpenOBEX mailing list for any OBEX questions.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-09-06  9:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-06  8:57 [Bluez-users] pin less obex file transfer Marco Milanesi
2007-09-06  9:20 ` Marcel Holtmann
2007-09-06  9:33   ` Marco Milanesi
2007-09-06  9:53     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox