Nokia 6680 services....
Hello,
i just got a 6680 and i'm trying to play with bluetooth. Using sdptool browse 00:xx:xx:xx:xx:xx
i'm getting the following services. I've noticed that the last 2 services are flagged with an error ...
I'm using the latest bluez version ( bluez-libs-2.21& bluez-utils-2.21 ). Does anyone know what it means ?
Thanks in advance.
Browsing 00:xx:xx:xx:xx:xx ...
Service Name: Dial-Up Networking
Service RecHandle: 0x10000
Service Class ID List:
"Dialup Networking" (0x1103)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Language Base Attr List:code_ISO639: 0x454e
encoding: 0x6abase_offset: 0x100
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100
Service Name: OBEX Object Push
Service RecHandle: 0x10001
Service Class ID List:
"OBEX Object Push" (0x1105)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 9
"OBEX" (0x0008)
Language Base Attr List:code_ISO639: 0x454e
encoding: 0x6abase_offset: 0x100
Profile Descriptor List:
"OBEX Object Push" (0x1105)
Version: 0x0100
Service Name: Imaging
Service RecHandle: 0x10002
Service Class ID List:
"Imaging Responder" (0x111b)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 15
"OBEX" (0x0008)
Language Base Attr List:code_ISO639: 0x454e
encoding: 0x6abase_offset: 0x100
Profile Descriptor List:
"Imaging" (0x111a)
Version: 0x0100
Service Name: Hands-Free Audio Gateway
Service RecHandle: 0x10003
Service Class ID List:
"Handfree Audio Gateway" (0x111f)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 2
Language Base Attr List:code_ISO639: 0x454e
encoding: 0x6abase_offset: 0x100
Profile Descriptor List:
"Handfree Audio Gateway" (0x111f)
Version: 0x0101
Service Name: Headset Audio Gateway
Service RecHandle: 0x10004
Service Class ID List:
"Headset Audio Gateway" (0x1112)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 3
Language Base Attr List:code_ISO639: 0x454e
encoding: 0x6abase_offset: 0x100
Profile Descriptor List:
"Headset" (0x1108)
Version: 0x0100
Service Description: OBEX File Transfer
Service RecHandle: 0x10005
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 10
"OBEX" (0x0008)
Language Base Attr List:code_ISO639: 0x454e
encoding: 0x6abase_offset: 0x100
Profile Descriptor List:
"OBEX File Transfer" (0x1106)
Version: 0x0100
Service Name: SyncMLClient
Service RecHandle: 0x10006
Service Class ID List:
"Error: This is UUID-128" (0x00000002-0000-1000-8000-0002ee000002) Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 11
"OBEX" (0x0008)
Language Base Attr List:code_ISO639: 0x454e
encoding: 0x6abase_offset: 0x100
Profile Descriptor List:
"Error: This is UUID-128" (0x00000002-0000-1000-8000-0002ee000002)
Version: 0x0100
Service Name: Nokia OBEX PC Suite Services
Service RecHandle: 0x10007
Service Class ID List:
"Error: This is UUID-128" (0x00005005-0000-1000-8000-0002ee000001) Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 12
"OBEX" (0x0008)
Language Base Attr List:code_ISO639: 0x454e
encoding: 0x6abase_offset: 0x100
Profile Descriptor List:
"Error: This is UUID-128" (0x00005005-0000-1000-8000-0002ee000001)
Version: 0x0100
Signature · 13 lines
Charles-Edouard Ruault GPG key Id E4D2B80C ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Charles,
Quoted 6 lines
i just got a 6680 and i'm trying to play with bluetooth. Using sdptool browse 00:xx:xx:xx:xx:xx
i'm getting the following services. I've noticed that the last 2 services are flagged with an error ...
I'm using the latest bluez version ( bluez-libs-2.21& bluez-utils-2.21 ). Does anyone know what it means ?
these are not really errors, but the normal decoding can't deal with UUID-128. Use --raw or --tree to enable an alternate display method.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 13 lines · Marcel Holtmann
Hi Charles,
Quoted 8 lines
i just got a 6680 and i'm trying to play with bluetooth. Using sdptool browse 00:xx:xx:xx:xx:xx
i'm getting the following services. I've noticed that the last 2 services are flagged with an error ...
I'm using the latest bluez version ( bluez-libs-2.21& bluez-utils-2.21 ). Does anyone know what it means ?
Quoted 10 lines
these are not really errors, but the normal decoding can't deal with UUID-128. Use --raw or --tree to enable an alternate display method.
Regards
Marcel
Hi Marcel,
thanks for the reply. In the meantime i had dug into the code and figured this out ....
I'm now trying to use obexftp to tranfer data to/from my phone but it's failing ( it used to work fine on my motorola e398 ).
Here's the log i'm getting:
obexftp -b 00:xx:xx:xx:xx:xx -l -v
Browsing 00:xx:xx:xx:xx:xx ...
No custom transport
Connecting...bt: 1
done
Receiving (null)... failed: (null)
Disconnecting...done
However, the device does advertise an obex file transfer profile:
Service Description: OBEX File Transfer
Service RecHandle: 0x10005
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 10
"OBEX" (0x0008)
Language Base Attr List:code_ISO639: 0x454e
encoding: 0x6abase_offset: 0x100
Profile Descriptor List:
"OBEX File Transfer" (0x1106)
Version: 0x0100
Specifying channel 10 to obexftp does not improve things ... Any hint ?
Thanks in advance.
Regards.
Signature · 13 lines
Charles-Edouard Ruault GPG key Id E4D2B80C ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Charles,
Quoted 34 lines
thanks for the reply. In the meantime i had dug into the code and figured this out ....
I'm now trying to use obexftp to tranfer data to/from my phone but it's failing ( it used to work fine on my motorola e398 ).
Here's the log i'm getting:obexftp -b 00:xx:xx:xx:xx:xx -l -v
Browsing 00:xx:xx:xx:xx:xx ...
No custom transport
Connecting...bt: 1
done
Receiving (null)... failed: (null)
Disconnecting...doneHowever, the device does advertise an obex file transfer profile:
Service Description: OBEX File Transfer
Service RecHandle:0x10005
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 10
"OBEX" (0x0008)
Language Base Attr List:code_ISO639:0x454e
encoding:0x6abase_offset:0x100
Profile Descriptor List:
"OBEX File Transfer" (0x1106)
Version:0x0100
Quoted 1 line
Specifying channel 10 to obexftp does not improve things ...
show us the output of "hcidump -X -V" for this transaction.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi Marcel,
Quoted 42 lines · Marcel Holtmann
Hi Charles,
Quoted 34 lines
thanks for the reply. In the meantime i had dug into the code and figured this out ....
I'm now trying to use obexftp to tranfer data to/from my phone but it's failing ( it used to work fine on my motorola e398 ).
Here's the log i'm getting:obexftp -b 00:xx:xx:xx:xx:xx -l -v
Browsing 00:xx:xx:xx:xx:xx ...
No custom transport
Connecting...bt: 1
done
Receiving (null)... failed: (null)
Disconnecting...doneHowever, the device does advertise an obex file transfer profile:
Service Description: OBEX File Transfer
Service RecHandle:0x10005
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 10
"OBEX" (0x0008)
Language Base Attr List:code_ISO639:0x454e
encoding:0x6abase_offset:0x100
Profile Descriptor List:
"OBEX File Transfer" (0x1106)
Version:0x0100Quoted 3 lines
Specifying channel 10 to obexftp does not improve things ...
Quoted 10 lines
show us the output of "hcidump -X -V" for this transaction.
Regards
Marcel
I've attached the info you've requested !
I hope it can help.
Regards.
Signature · 2 lines
Charles-Edouard Ruault GPG key Id E4D2B80C
HCI sniffer - Bluetooth packet analyzer ver 1.25
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Inquiry (0x01|0x0001) plen 5
lap 0x9e8b33 len 6 num 0
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Inquiry (0x01|0x0001) status 0x00 ncmd 1
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:12:62:A3:80:A5 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000 Packet type: DM1 DM3 DM5 DH1 DH3 DH5
Quoted 1 line
HCI Event: Inquiry Complete (
0x01) plen 1
status 0x00
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line
HCI Event: Connect Complete (
0x03) plen 11
status 0x00 handle 46 bdaddr 00:12:62:A3:80:A5 type ACL encrypt 0x00
< ACL data: handle 46 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0040< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
handle 46 policy 0x0f
Link policy: RSWITCH HOLD SNIFF PARK
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 6
Write Link Policy Settings (0x02|0x000d) ncmd 1
status 0x00 handle 46Quoted 1 line
HCI Event: Page Scan Repetition Mode Change (
0x20) plen 7
bdaddr 00:12:62:A3:80:A5 mode 1
Quoted 1 line
HCI Event: Max Slots Change (
0x1b) plen 3
handle 46 slots 5
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 16
L2CAP(s): Connect rsp: dcid 0x004a scid 0x0040 result 1 status 2
Connection pending - Authorization pending
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 16
L2CAP(s): Connect rsp: dcid 0x004a scid 0x0040 result 0 status 0
Connection successful
< ACL data: handle 46 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x004a flags 0x00 clen 0Quoted 1 line
ACL data: handle 46 flags
0x02dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
< ACL data: handle 46 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x004a flags 0x00 result 0 clen 0
SuccessQuoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
Success
< ACL data: handle 46 flags 0x02 dlen 22
L2CAP(d): cid 0x004a len 18 [psm 0]
0000: 06 00 00 00 0d 35 03 19 11 06 ff ff 35 03 09 00 .....5......5...
0010: 00 00 ..Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 0]
0000: 07 00 00 00 0f 00 0c 35 0a 35 08 09 00 00 0a 00 .......5.5......
0010: 01 00 05 00 ....
< ACL data: handle 46 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x004a scid 0x0040
< ACL data: handle 46 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x0041Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 12
L2CAP(s): Disconn rsp: dcid 0x004a scid 0x0040
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 16
L2CAP(s): Connect rsp: dcid 0x004b scid 0x0041 result 1 status 2
Connection pending - Authorization pending
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 16
L2CAP(s): Connect rsp: dcid 0x004b scid 0x0041 result 0 status 0
Connection successful
< ACL data: handle 46 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x004b flags 0x00 clen 4
MTU 1024 Quoted 1 line
ACL data: handle 46 flags
0x02dlen 12
L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 0
< ACL data: handle 46 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x004b flags 0x00 result 0 clen 0
SuccessQuoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 18
L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4
Success
MTU 672 < ACL data: handle 46 flags 0x02 dlen 8
L2CAP(d): cid 0x004b len 4 [psm 0]
0000: 03 3f 01 1c .?..
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 8
L2CAP(d): cid 0x0041 len 4 [psm 0]
0000: 03 73 01 d7 .s..
< ACL data: handle 46 flags 0x02 dlen 18
L2CAP(d): cid 0x004b len 14 [psm 0]
0000: 03 ef 15 83 11 14 f0 07 00 9b 02 00 07 70 .............pQuoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 18
L2CAP(d): cid 0x0041 len 14 [psm 0]
0000: 01 ef 15 81 11 14 e0 07 00 9b 02 00 03 aa ..............< ACL data: handle 46 flags 0x02 dlen 8
L2CAP(d): cid 0x004b len 4 [psm 0]
0000: 53 3f 01 fd S?..
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
HCI Event: Link Key Request (
0x17) plen 6
bdaddr 00:12:62:A3:80:A5
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
bdaddr 00:12:62:A3:80:A5 key FD333123024DD1DE2CC26C56D8DEE191Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 10
Link Key Request Reply (0x01|0x000b) ncmd 1
status 0x00 bdaddr 00:12:62:A3:80:A5Quoted 1 line
ACL data: handle 46 flags
0x02dlen 8
L2CAP(d): cid 0x0041 len 4 [psm 0]
0000: 53 73 01 36 Ss.6
< ACL data: handle 46 flags 0x02 dlen 12
L2CAP(d): cid 0x004b len 8 [psm 0]
0000: 03 ef 09 e3 05 53 8d 70 .....S.pQuoted 1 line
ACL data: handle 46 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 0]
0000: 01 ef 09 e3 05 53 8d aa .....S..
< ACL data: handle 46 flags 0x02 dlen 12
L2CAP(d): cid 0x004b len 8 [psm 0]
0000: 03 ef 09 e1 05 53 8d 70 .....S.pQuoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 0]
0000: 01 ef 09 e1 05 53 8d aa .....S..
< ACL data: handle 46 flags 0x02 dlen 9
L2CAP(d): cid 0x004b len 5 [psm 0]
0000: 53 ff 01 21 2d S..!-
< ACL data: handle 46 flags 0x02 dlen 34
L2CAP(d): cid 0x004b len 30 [psm 0]
0000: 53 ef 35 80 00 1a 11 00 04 00 46 00 13 f9 ec 7b S.5.......F....{
0010: c4 95 3c 11 d2 98 4e 52 54 00 dc 9e 09 31 ..<...NRT....1Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 9
L2CAP(d): cid 0x0041 len 5 [psm 0]
0000: 51 ff 01 04 f7 Q....Quoted 1 line
ACL data: handle 46 flags
0x02dlen 40
L2CAP(d): cid 0x0041 len 36 [psm 0]
0000: 51 ff 3f 01 a0 00 1f 10 00 0f a0 cb c3 0f a5 96 Q.?.............
0010: 4a 00 13 f9 ec 7b c4 95 3c 11 d2 98 4e 52 54 00 J....{..<...NRT.
0020: dc 9e 09 f7 ....
< ACL data: handle 46 flags 0x02 dlen 36
L2CAP(d): cid 0x004b len 32 [psm 0]
0000: 53 ef 39 83 00 1c 42 00 19 78 2d 6f 62 65 78 2f S.9...B..x-obex/
0010: 66 6f 6c 64 65 72 2d 6c 69 73 74 69 6e 67 00 31 folder-listing.1Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 0]
0000: 51 ff 07 01 d3 00 03 f7 Q.......
< ACL data: handle 46 flags 0x02 dlen 11
L2CAP(d): cid 0x004b len 7 [psm 0]
0000: 53 ef 07 81 00 03 31 S.....1Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 0]
0000: 51 ff 07 01 a0 00 03 f7 Q.......Quoted 1 line
ACL data: handle 46 flags
0x02dlen 8
L2CAP(d): cid 0x0041 len 4 [psm 0]
0000: 51 53 01 7d QS.}< ACL data: handle 46 flags 0x02 dlen 8
L2CAP(d): cid 0x004b len 4 [psm 0]
0000: 51 73 01 57 Qs.W
< ACL data: handle 46 flags 0x02 dlen 8
L2CAP(d): cid 0x004b len 4 [psm 0]
0000: 03 53 01 fd .S..
< ACL data: handle 46 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x004b scid 0x0041
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
handle 46 packets 1
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 8
L2CAP(d): cid 0x0041 len 4 [psm 0]
0000: 03 73 01 d7 .s..
Quoted 1 line
ACL data: handle 46 flags
0x02dlen 12
L2CAP(s): Disconn rsp: dcid 0x004b scid 0x0041
< HCI Command: Disconnect (0x01|0x0006) plen 3
handle 46 reason 0x13
Reason: Remote User Terminated Connection
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
Quoted 1 line
HCI Event: Disconn Complete (
0x05) plen 4
status 0x00 handle 46 reason 0x16
Reason: Connection Terminated by Local Host
Marcel Holtmann
maintainerHi Charles,
Quoted 1 line
I've attached the info you've requested !
The SDP channel decoding is not working. May you wanna create a binary dump with "hcidump -w <file>".
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 8 lines · Marcel Holtmann
Hi Charles,
Quoted 3 lines
I've attached the info you've requested !
Quoted 10 lines
The SDP channel decoding is not working. May you wanna create a binary dump with "hcidump -w <file>".
Regards
Marcel
Here you go !
Thanks for the help.
Regards.
Signature · 2 lines
Charles-Edouard Ruault GPG key Id E4D2B80C
Marcel Holtmann
maintainerHi Charles,
Quoted 1 line
Here you go !
this is weird. We ask for the FTP record handle only. The handle is not important. We need the channel number:
< ACL data: handle 46 flags 0x02 dlen 22
L2CAP(d): cid 0x0040 len 18 [psm 1]
SDP SSA Req: tid 0x0 len 0xd
pat uuid-16 0x1106 (OBEXObjTrnsf)
max 65535
aid(s) 0x0000 (SrvRecHndl)
cont 00Quoted 1 line
ACL data: handle 46 flags
0x02dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Rsp: tid 0x0 len 0xf
count 12
record #0
aid 0x0000 (SrvRecHndl)
uint 0x10005
cont 00If you use obexftp then this is a bug. However this is not the big problem. The problem is the FTP service itself. We get a service unavailable response:
< ACL data: handle 46 flags 0x02 dlen 36
L2CAP(d): cid 0x0041 len 32 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 28 fcs 0x31
OBEX: Get cmd(f): len 28
Type (0x42) = Sequence length 22
0000: 78 2d 6f 62 65 78 2f 66 6f 6c 64 65 72 2d 6c 69 x-obex/folder-li
0010: 73 74 69 6e 67 00 sting.Quoted 1 line
ACL data: handle 46 flags
0x02dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 20 pf 1 ilen 3 fcs 0xf7 credits 1
OBEX: Get rsp(f): status 503 len 3
Status 503 = Service unavailable
This means another problem. Maybe it is in obexftp or in the phone itself. I don't know. Maybe you wanna try btftp from the obex CVS repository of BlueZ. Or someone has to send me such a phone for testing.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 24 lines · Marcel Holtmann
Hi Charles,
Quoted 3 lines
Here you go !
this is weird. We ask for the FTP record handle only. The handle is not important. We need the channel number:
< ACL data: handle 46 flags
0x02dlen 22
L2CAP(d): cid0x0040len 18 [psm 1]SDP SSA Req: tid 0x0 len 0xd pat uuid-16 0x1106 (OBEXObjTrnsf) max 65535 aid(s) 0x0000 (SrvRecHndl) cont 00Quoted 3 lines
ACL data: handle 46 flags
0x02dlen 24L2CAP(d): cid
0x0040len 20 [psm 1]
Quoted 9 lines
SDP SSA Rsp: tid 0x0 len 0xf count 12 record #0 aid 0x0000 (SrvRecHndl) uint 0x10005 cont 00If you use obexftp then this is a bug.
I do use ObexFTP 0.10.7
Quoted 13 lines
However this is not the big
problem. The problem is the FTP service itself. We get a service unavailable response:< ACL data: handle 46 flags
0x02dlen 36
L2CAP(d): cid0x0041len 32 [psm 3]RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 28 fcs 0x31 OBEX: Get cmd(f): len 28 Type (0x42) = Sequence length 22 0000: 78 2d 6f 62 65 78 2f 66 6f 6c 64 65 72 2d 6c 69 x-obex/folder-li 0010: 73 74 69 6e 67 00 sting.
Quoted 9 lines
Quoted 3 lines
ACL data: handle 46 flags
0x02dlen 12L2CAP(d): cid
0x0041len 8 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 20 pf 1 ilen 3 fcs0xf7credits 1
OBEX: Get rsp(f): status 503 len 3
Status 503 = Service unavailable
hmmmm. Strange. I don't think there's a way to turn it on or off from the phone :(
Anyway since the service is advertised, i guess it means it's running ( hopefully ).
Quoted 4 lines
This means another problem. Maybe it is in obexftp or in the phone itself. I don't know. Maybe you wanna try btftp from the obex CVS repository of BlueZ.
Will do. I'll keep you posted of the results !
Quoted 4 lines
Or someone has to send me such a phone for testing.
Well i don't have a spare phone ... But maybe nokia does ... i don't know if they're willing to cooperate with the opensource community though .
Quoted 17 lines
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Signature · 13 lines
Charles-Edouard Ruault GPG key Id E4D2B80C ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 47 lines · Marcel Holtmann
Hi Charles,
Quoted 3 lines
Here you go !
this is weird. We ask for the FTP record handle only. The handle is not important. We need the channel number:
< ACL data: handle 46 flags
0x02dlen 22
L2CAP(d): cid0x0040len 18 [psm 1]SDP SSA Req: tid 0x0 len 0xd pat uuid-16 0x1106 (OBEXObjTrnsf) max 65535 aid(s) 0x0000 (SrvRecHndl) cont 00Quoted 3 lines
ACL data: handle 46 flags
0x02dlen 24L2CAP(d): cid
0x0040len 20 [psm 1]SDP SSA Rsp: tid 0x0 len 0xf count 12 record #0 aid 0x0000 (SrvRecHndl) uint 0x10005 cont 00If you use obexftp then this is a bug. However this is not the big problem. The problem is the FTP service itself. We get a service unavailable response:
< ACL data: handle 46 flags
0x02dlen 36
L2CAP(d): cid0x0041len 32 [psm 3]RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 28 fcs 0x31 OBEX: Get cmd(f): len 28 Type (0x42) = Sequence length 22 0000: 78 2d 6f 62 65 78 2f 66 6f 6c 64 65 72 2d 6c 69 x-obex/folder-li 0010: 73 74 69 6e 67 00 sting.Quoted 3 lines
ACL data: handle 46 flags
0x02dlen 12
Quoted 10 lines
L2CAP(d): cid
0x0041len 8 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 20 pf 1 ilen 3 fcs0xf7credits 1
OBEX: Get rsp(f): status 503 len 3
Status 503 = Service unavailableThis means another problem. Maybe it is in obexftp or in the phone itself. I don't know. Maybe you wanna try btftp from the obex CVS repository of BlueZ. Or someone has to send me such a phone for testing.
Ok i've compiled btftp, it looks better with this software ( see attached dump file ).
I've been able to connect to the phone and run the following commands:
Connected to 00:12:62:a3:80:a5.
ftp> put Makefile.am
300 bytes sent
ftp> ls
-rw-r--r-- 300 Oct 6 15:25 Makefile.am
ftp> get Makefile.am
300 bytes received
ftp> quit
Disconnected.
Now what's puzzling me is that i don't see the exepected filesystem from the phone, but that's go nothing to do with bluez :)
So i guess that from the bluez's standpoint, everything seems to be fine when using btftp.
Thanks a lot for your support !
Quoted 9 lines
Regards
Marcel
Signature · 2 lines
Charles-Edouard Ruault GPG key Id E4D2B80C