On Fri, Apr 11, 2008 at 09:33:05AM +1000, Jason Thomas wrote:
> Hi All,
> 
> barrybackup was working perfectly for me then yesterday this started
> happening.

Hi Jason, sorry I didn't get to your issue while in the tracker yet...
thanks for posting to the mailing list.


> I think it might be time to start a list of errors and what they mean.

Probably a good idea, except that most of the errors are exceptions in
the library.  The best way to improve them would probably be to add a better
description to the exception string itself.


> Can you tell me what is wrong?

The device is not returning the required code for accessing the database.


> Socket::Receive: Endpoint 131
> Received:
>     00000000: 06 00 14 00 40 00 0c 01 53 65 72 76 69 63 65
> 20  [EMAIL PROTECTED] 
>     00000010: 42 6f 6f 6b                                      Book


This is a response from the device, which is a table containing codes that
the application uses to access the various services.  Normally, Blackberries
return something like this:

Received:
    00000000: 06 00 35 00 40 00 0c 01 53 65 72 76 69 63 65 20  [EMAIL 
PROTECTED] 
    00000010: 42 6f 6f 6b 0e 02 44 65 76 69 63 65 20 4f 70 74  Book..Device Opt
    00000020: 69 6f 6e 73 0f 03 44 61 74 61 62 61 73 65 20 41  ions..Database A
    00000030: 63 63 65 73 73                                   ccess

Barry takes this packet, parses it into an internal table of commands, and
searches for the "Database Access" item in the list.  The number associated
with this string (03 in this case) is then used later as the command number
for accessing the database.

This is the first I've seen a device not returning the Database Access entry
in the command table.  Has anything changed on your device lately?
Does resetting it help?  Has it been connected to a BES?

- Chris


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to