Open Source Telephony
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: RE: [PATCH] TODO: Add vCard export to SM/ME stores
Date: Sun, 21 Nov 2010 20:53:06 +0100	[thread overview]
Message-ID: <1290369186.29148.29.camel@aeonflux> (raw)
In-Reply-To: <6E42A1B4DD2F7B4D80A1F26BB498BF9F8C9A039E9B@irsmsx501.ger.corp.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1522 bytes --]

Hi Jaako,

> > > Is there already a specification/draft of the format of this dict? If
> > not, I would be tempted to use the 27.007 +CPBR/W field names as keys
> > (e.g. index, number, type, text, adnumber, secondtext, sip_uri, etc.)
> > 
> > there is not. So you need to propose one here.
> 
> For simplicity, I would propose that both import and export would use an array of dict's with the 27.007 keys:
> 
> index: type=integer, import=always export=ignored

no index number. We will never use them. It is either the full phonebook
at once or nothing. The write function has to empty out left over
entries.

> number: type=string, import=always/empty export=optional/empty
> type: type=integer, import=always export=mandatory
> text: type=string, import=always/empty export=optional/empty
> hidden: type=int, import=always, export=optional/default=0
> group: type=string, import=if nonempty, export=optional
> adnumber: type=string, import=if nonempty, export=optional
> adtype: type=integer, import/export=mandatory if adnumber nonempty
> secondtext: type=string, import=if nonempty, export=optional
> email: type=string, import=if nonempty, export=optional
> sip_uri: type=string, import=if nonempty, export=optional
> tel_uri: type=string, import=if nonempty, export=optional

Actually I prefer we use proper Dict field names. We never use anything
literally from the specifications in this area. So why start now. Please
propose proper human readable names.

Regards

Marcel



  parent reply	other threads:[~2010-11-21 19:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-12  6:39 [PATCH] TODO: Add vCard export to SM/ME stores Jaakko Kiviluoto
2010-11-12  8:29 ` Marcel Holtmann
2010-11-12 10:05   ` Kiviluoto, Jaakko J
2010-11-12 15:11     ` Marcel Holtmann
2010-11-15  8:04       ` Kiviluoto, Jaakko J
2010-11-21 15:16         ` Kiviluoto, Jaakko J
2010-11-21 19:53         ` Marcel Holtmann [this message]
2010-11-22  8:05           ` Kiviluoto, Jaakko J
2010-11-23  6:37             ` Marcel Holtmann
2010-11-23 13:34               ` Kiviluoto, Jaakko J
2010-11-23 13:51                 ` Marcel Holtmann
2011-02-09 12:57               ` Aki Niemi
2010-11-15 19:01   ` Bastian, Waldo
2010-11-15 19:38     ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1290369186.29148.29.camel@aeonflux \
    --to=marcel@holtmann.org \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox