Skip to contentSkip to conversation

bluez and OBEX File Transfer

Bluez-users Andrew Radke 2 participants 4 messages Jul 26, 2003 – Jul 30, 2003 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi all,

I just got myself a nice new Ericsson T610 and would love to be able to use it's 'Browse files' funtion with bluez in the same way as with the iPaq. From doing a 'sdptool browse $ipaq' I found the following which I assume is what is handling this:

Service Name: OBEX File Transfer
Service RecHandle: 0x10002
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 3
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"OBEX File Transfer" (0x1106)

    Version: 0x0100

Is there anything to handle the equivalent under Linux?

Forgive me if I should be asking this on an openobex list but I was hoping someone here might know and I don't want to subscribe to yet another list just for one quick question. :-)

Regards,

Andrew Radke

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

Hi Andrew,

Quoted 22 lines

I just got myself a nice new Ericsson T610 and would love to be able to use it's 'Browse files' funtion with bluez in the same way as with the iPaq. From doing a 'sdptool browse $ipaq' I found the following which I assume is what is handling this:

Service Name: OBEX File Transfer
Service RecHandle: 0x10002
Service Class ID List:

   "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
   "L2CAP" (0x0100)
   "RFCOMM" (0x0003)
     Channel: 3
   "OBEX" (0x0008)
Language Base Attr List:
   code_ISO639: 0x656e
   encoding:    0x6a
   base_offset: 0x100
Profile Descriptor List:
   "OBEX File Transfer" (0x1106)
     Version: 0x0100
Quoted 1 line

Is there anything to handle the equivalent under Linux?

I have started a btftp client, which you can found in the BlueZ CVS in the repository obex. But at the moment no btftpd exists.

BTW please send me "hcitool info <t610-bdaddr>" and the complete sdptool browse for your phone.

Regards

Marcel

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Marcel Holtmann wrote:
[snip]

Quoted 2 lines

I have started a btftp client, which you can found in the BlueZ CVS in the repository obex. But at the moment no btftpd exists.

The client will be a nice addition. Any plans on the btftpd? Anything a non-programmer can do to help? Write it in Perl maybe? :-)

Quoted 6 lines

BTW please send me "hcitool info <t610-bdaddr>" and the complete sdptool browse for your phone.

Regards

Marcel

# hcitool info 00:0a:**:**:**:**
Requesting information ...
        BD Address:  00:0a:**:**:**:**
        Device Name: T610
        LMP Version: 1.1 (0x1) LMP Subversion: 0x400
        Manufacturer: Ericsson Mobile Comunications (0)
        Features: 0x04 0xea 0x31 0x00
                <encryption> <RSSI> <SCO link> <HV3 packets>
                <u-law log> <A-law log> <CVSD>
# sdptool browse 00:0a:**:**:**:**
Browsing 00:0A:**:**:**:** ...
Service Name: Dial-up Networking
Service RecHandle: 0x10000
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

Service Name: Voice gateway
Service RecHandle: 0x10002
Service Class ID List:
"Headset Audio Gateway" (0x1112)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 3
Profile Descriptor List:
"Headset" (0x1108)

    Version: 0x0100

Service Name: Serial Port 1
Service RecHandle: 0x10003
Service Class ID List:
"Serial Port" (0x1101)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 4

Service Name: Serial Port 2
Service RecHandle: 0x10004
Service Class ID List:
"Serial Port" (0x1101)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 5

Service Name: OBEX Object Push
Service RecHandle: 0x10005
Service Class ID List:
"OBEX Object Push" (0x1105)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)

    Channel: 10
  "OBEX" (0x0008)
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: IrMC Synchronization
Service RecHandle: 0x10006
Service Class ID List:
"IrMCSync" (0x1104)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)

    Channel: 11
  "OBEX" (0x0008)
Profile Descriptor List:
  "IrMCSync" (0x1104)
    Version: 0x0100

Service Name: HF Voice gateway
Service RecHandle: 0x10007
Service Class ID List:
"" (0x111f)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 6
Profile Descriptor List:
"" (0x111e)

    Version: 0x0100

Service Name: OBEX Basic Imaging
Service RecHandle: 0x1000b
Service Class ID List:
"" (0x111b)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)

    Channel: 15
  "OBEX" (0x0008)
Profile Descriptor List:
  "" (0x111a)
    Version: 0x0100

Service Name: OBEX File Transfer
Service RecHandle: 0x1000f
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 7
"OBEX" (0x0008)
Profile Descriptor List:
"OBEX File Transfer" (0x1106)

    Version: 0x0100
#3 lore raw

Hi Andrew,

Quoted 5 lines
Quoted 2 lines

I have started a btftp client, which you can found in the BlueZ CVS in the repository obex. But at the moment no btftpd exists.

The client will be a nice addition. Any plans on the btftpd? Anything a non-programmer can do to help? Write it in Perl maybe? :-)

I don't have the time nor the money to work fulltime on it, so don't expect anything very soon.

And I never read anything about a Bluetooth Perl binding, but it is socket programming, so maybe it is already possible. But I code in C, so why should I use Perl ;)

Regards

Marcel

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users