Hi Sachin, please have a look at my answer to Rajesh (just a few minutes ago on the mailing list), this is closely related.
Basically, "HOME,VOICE" is *not* a single enum value, but a list of two separate enums, "HOME" and "VOICE". The "bitmap" and "multimix" mapping modes in libsynthesis support mapping such enums into a bitfield value. However in the devInf, you'll always have the basic enum values, not combinations. Best Regards, Lukas On 08.03.2014, at 17:10, Sachin Gupta <[email protected]> wrote: > Hi Lukas, > > I am trying to modify the capabilities for a set of TEL values. > Normally we have the representation as: > > <Property> > <PropName>TEL</PropName> > <PropParam> > <ParamName>TYPE</ParamName> > <ValEnum>CELL</ValEnum> > <ValEnum>VOICE</ValEnum> > <ValEnum>FAX</ValEnum> > <ValEnum>PAGER</ValEnum> > <ValEnum>OTHER</ValEnum> > <ValEnum>PREF</ValEnum> > </PropParam> > </Property> > > In this case the represenation is quite easy as explained in the doc and the > sample config. > > But how do i represent a format in the config xml for: > > <Property> > <PropName>TEL</PropName> > <PropParam> > <ParamName>TYPE</ParamName> > <ValEnum>CELL</ValEnum> > <ValEnum>HOME,VOICE</ValEnum> > <ValEnum>WORK,VOICE</ValEnum> > <ValEnum>WORK,FAX</ValEnum> > <ValEnum>HOME,FAX</ValEnum> > <ValEnum>PAGER</ValEnum> > <ValEnum>OTHER</ValEnum> > <ValEnum>PREF</ValEnum> > </PropParam> > </Property> > > Also what will be the expected properties in the file based vcard for these > highlighted ones? > > Regards > Sachin
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ os-libsynthesis mailing list [email protected] http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
