I am trying to write a conduit (with EHAND) that will add records to the
address book. I am having a little trouble determining what to write for
the AddrOptionsType, defined as follows (from the 3.1 source code):
typedef union {
struct {
unsigned reserved:8;
unsigned displayPhoneForList:4; // The phone displayed for the list view
0 - 4
unsigned phone5:4; // Which phone (home, work, car, ...)
unsigned phone4:4;
unsigned phone3:4;
unsigned phone2:4;
unsigned phone1:4;
} phones;
ULong phoneBits;
} AddrOptionsType;
I understand that the displayPhoneForList field indicates which phone to
display in the list of addresses.
I also understand that phone5 thru phone1 indicate which name (work, home,
fax, etc.) applies to each phone field.
What I don't understand is what should go in the reserved field. I had
assumed that it wasn't used at all, but in testing with POSE and on my Vx, I
have seen 0xD9, 0x00, and 0x15 in the reserved field. Does anybody know
what these numbers mean? Is it safe to just put 0x00 there?
(I looked at the source code for the address conduit, but I didn't see
anything setting a value for the reserved field. However, I don't know C++,
so I could have missed something.)
TIA to the most helpful discussion group I know.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/