Re: [BitPim-user] Problems Sending PhoneBook data to VX9800

"Simon C" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
>
> Simon, the USTRING field does not work in this case, need to come up with
> an option.
>

Joe,

I think this is the problem (line 413 comlgvx9800.py)

                    _path_str=_filename+'\x00'+'\xff'*\
                               (
self.protocolclass.WALLPAPER_ID_PATH_MAX_LEN-len(_filename)-1)

If the protocol for this field was defined using the 'pad' keyword instead
the problem should go away.

PACKET wallpaper_id:
    80 USTRING { 'terminator': None, 'pad': 0xFF } +path

If you agree I can check in a change.

Simon
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.