Re: [maemo-users] How to debug File Manager BT Phone browsing?

2006-04-23 Thread Carel Bast

Hi Johan,

I've got it working!

The problem was clearly in the 770 not in the 6280.
I installed the new firmware (5.2006.13-7 (April 18, 2006)), and the 
phone browsing worked out-of-the-box.
So it was either a bug in the previous firmware, or a problem with one 
of the extra applications I installed. I will one-by-one install these 
apps again and hopefully find out which one was causing the problem.

Thanks again for all your help!

Greetings,

-- Carel

Johan Hedberg wrote:

Hi Carel,
  

Does this give you a clue?

Unfortunately not. However, it looks like there is missing information 
in the dump: only contains events that are received, but doesn't show 
anything about what we're sending (lines starting with  indicate data 
received while lines starting with  indicate data sent). No idea why 
that is though, if you're sure that it is the precise output of hcidump.


Johan

  


___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] How to debug File Manager BT Phone browsing?

2006-04-21 Thread Carel Bast

Hi Johan,

I finally got hcidump installed and running:
(I started hcidump and after that tried to connect to the phone via the 
File Manager)


~ $ hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.17
device: hci0 snap_len: 1028 filter: 0x
 HCI Event: Command Status (0x0f) plen 4
   Create Connection (0x01|0x0005) status 0x00 ncmd 1
 HCI Event: Connect Complete (0x03) plen 11
   status 0x00 handle 1 bdaddr 00:17:4B:66:FF:3A type ACL encrypt 0x00
 HCI Event: Command Complete (0x0e) plen 6
   Write Link Policy Settings (0x02|0x000d) ncmd 1
   : 00 01 00  ...
[[OK]]
 HCI Event: Command Complete (0x0e) plen 10
   Link Key Request Reply (0x01|0x000b) ncmd 1
   : 00 3a ff 66 4b 17 00   .:.fK..
 HCI Event: Encrypt Change (0x08) plen 4
   status 0x00 handle 1 encrypt 0x01
 HCI Event: Command Status (0x0f) plen 4
   Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
 HCI Event: Auth Complete (0x06) plen 3
   status 0x00 handle 1
[[OK]]
 HCI Event: Command Status (0x0f) plen 4
   Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
 HCI Event: Auth Complete (0x06) plen 3
   status 0x00 handle 1
 HCI Event: Command Status (0x0f) plen 4
   Disconnect (0x01|0x0006) status 0x00 ncmd 1
 HCI Event: Disconn Complete (0x05) plen 4
   status 0x00 handle 1 reason 0x16
   Reason: Connection Terminated by Local Host

(if I disable connect without ack. (to make sure I connect to the 
correct phone), I have to press OK on the phone at the location marked 
with [[OK]])


Does this give you a clue?

Thanks very much again,

-- Carel

Johan Hedberg wrote:
Your results still indicate something going wrong with the OBEX protocol 
(such as CONNECT command failing). The output of hcidump -X -V would 
probably reveal more about what is going on.


Johan
  

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


[maemo-users] How to debug File Manager BT Phone browsing?

2006-04-19 Thread Carel Bast

Hi Maemo users,

I have problems connecting my Nokia 770 to my Nokia 6280 phone via 
bluetooth.

The pairing works, the DUN (Internet connection) works.
However when I try to browse the content (pictures etc.) of my phone via 
the Nokia 770 File Manager, I always get a Unable to connect to phone 
message.

Is there a possibility to analyze why this does not work?
I have xterm and hcitool installed, but have no clue on how to replay 
the File Manager's interaction via hcitool. Or are there other 
possibilities?


Thanks for your help,

-- Carel
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] How to debug File Manager BT Phone browsing?

2006-04-19 Thread Carel Bast

Hi Johan,

Thanks for your helpful answer!

I've tried the first option immediately, with this disappointing result:

~ $ gnomevfs-ls obex://[00:17:4B:66:FF:3A]/
Error opening: Service not available
~ $

I know this is the correct address because the phone asks to accept the 
connection from my Nokia 770.


Does this mean that my new Nokia 6280 does not support the BT obex protocol?
Do you know of an alternative way to communicate from the 770 to the 
6280 (via BT)?


Thanks again,

-- Carel

Johan Hedberg wrote:

Hi,

On Wed, Apr 19, 2006, Carel Bast wrote:
  

The pairing works, the DUN (Internet connection) works.
However when I try to browse the content (pictures etc.) of my phone via 
the Nokia 770 File Manager, I always get a Unable to connect to phone 
message.

Is there a possibility to analyze why this does not work?
I have xterm and hcitool installed, but have no clue on how to replay 
the File Manager's interaction via hcitool. Or are there other 
possibilities?



There are several things you could try:

1. Try the command line gnomevfs tools, e.g.
gnomevfs-ls obex://[11:22:33:44:55:66]/
(where 11:22:33:44:55:66 is the BT address of your phone, you can find 
it out e.g. with gconftool -g /system/osso/connectivity/BT/preferred)


2. Try a command line obex bluetooth client such as obc available from 
osso-obc package in the maemo.org repository:

http://repository.maemo.org/pool/maemo1.1/free/o/osso-obc/free/o/osso-obc/
(note that that package cannot be installed using the application 
installer, you'll need to use dpkg -x or something similar).


3. Install the bluez-hcidump package. The output of hcidump -X -V 
when trying to access the phone via filemanager could reveal something.


Johan


  


___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users