Re: problem trying write phonebook to PM325
Stephen Wood <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
Brent: When you write a packet, all the fields have to be to something, otherwise you get this error. You can set the fields in your code. This is presumably what you do for fields like pbentry.ringtone, etc. The other way to set a field is to put "+" in front of the field name in the packet definition. (eg "2 UNKNOWN +unknown1") This will fill in that field with the default. The default is usually zero unless you specify otherwise inside the braces. Look at other .p files for examples and look at dev-doc/packetdescription.txt if you havn't already. Stephen On 11/27/05, Brent Roettger <[email protected]> wrote: > > All, > > I am currently working to implement the writing of the phonebook to the LG > PM325 phone. > When I try to write data to the phone, I get an exception that states *'pbentry' > object has no attribute '_pbentry__field_unknown1'*. I am confused > because I have declared that field in the p_lgpm325.p file and if I change > the name of it in the pbentry packet, the error message changes accordingly. > > Any ideas on what I am doing wrong? The full exception text is below. > >