Hi,

I have discovered a new issue in Barry.

If I enable security option (crypt & password), I can meet difficulties
to connect to blackberry with barry :


1st step)
=========
[nico...@dahlia nicolas]$ btool -t -P badpassword
Blackberry devices found:
Device ID: 0x80755b8. PIN: xxxxxx, Description: RIM BlackBerry Device,
Name: BlackBerry Storm
Using device (PIN): xxxxxx
Barry::Error caught: Password rejected by device.

=> OK


2nd step)
=========
[nico...@dahlia nicolas]$ btool -t -P badpassword
Blackberry devices found:
Device ID: 0x80755b8. PIN: xxxxxx, Description: RIM BlackBerry Device,
Name: BlackBerry Storm
Using device (PIN): xxxxxx
Bad packet size. Packet: 26. DataSize(): 26. Required size: 44
    00000000: 00 00 1a 00 09 ff 00 07 52 49 4d 20 44 65 73
6b  ........RIM Desk
    00000010: 74 6f 70 00 00 00 00 00 02 00
top.......

Barry::Error caught: Bad packet size. Packet: 26. DataSize(): 26.
Required size: 44

=> KO ?


3rd step)
=========
[nico...@dahlia nicolas]$ btool -t -P goodpassword
Blackberry devices found:
Device ID: 0x80755b8. PIN: xxxxxx, Description: RIM BlackBerry Device,
Name: BlackBerry Storm
Using device (PIN): xxxxxx
Bad packet size. Packet: 26. DataSize(): 26. Required size: 44
    00000000: 00 00 1a 00 09 ff 00 07 52 49 4d 20 44 65 73
6b  ........RIM Desk
    00000010: 74 6f 70 00 00 00 00 00 02 00
top.......

Barry::Error caught: Bad packet size. Packet: 26. DataSize(): 26.
Required size: 44

=> KO ?


So after a bad password (or none password), if my device is protected, I
can never re-connect :(

2 solutions :
- re-plug my device ; then type the good password !
- run mtp-detect before btool ; then type the good password !

I have already seen this issue when I have built a patch to add MTP
support for my BlackBerry.


Regards,

Nicolas



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to