RE: brew serial protocol..

"Simon C" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <000e01c5be77$3a1d46b0$6400a8c0@HOME>
> >You cannot use bitpim, it gives an error when trying to write the
> >file.
>
> I assume Delete/Restore did not work either.  What exception
> did you get?

No they did not. (in QPST this does not work, you have to overwrite) It gave

Traceback (most recent call last):
  File "C:\projects\bitpim\gui.py", line 174, in run
    res=call()
  File "C:\projects\bitpim\gui.py", line 114, in __call__
    return apply(self.method, self.args+args, d)
  File "C:\projects\bitpim\gui.py", line 1797, in writefile
    return self.commphone.writefile(path, contents)
  File "C:\projects\bitpim\com_brew.py", line 359, in writefile
    self.sendbrewcommand(req, p_brew.writefileresponse)
  File "C:\projects\bitpim\com_brew.py", line 626, in sendbrewcommand
    raise BrewCommandException(err)
BrewCommandException: Brew Error 0x04

...

Frame sendbrewcommand in C:\projects\bitpim\com_brew.py at line 626
  responseclass =  <class 'p_brew.responseheader'>
       origdata =  'Y\x05\x04\x00v\x8e~'
              d =  0
            err =  4
         buffer =  <prototypes.buffer instance at 0x0300DE68>
        calccrc =  'v\x8e'
    callsetmode =  True
       firsttwo =  'Y\x05'
        request =  <p_brew.writefilerequest object at 0x02FFD8F0>
            crc =  'v\x8e'
           data =  'Y\x05\x04\x00'
           self =  <com_lgvx8100.Phone instance at 0x02FFF9E0>




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.