Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1256007499-19250-1-git-send-email-forrest.zhao@intel.com> <1256023119.9142.19.camel@pohly-mobl1.ikn.intel.com> Date: Wed, 21 Oct 2009 09:26:00 +0800 Message-ID: Subject: Re: [PATCH] Implements the OBEX server/SyncML client binding for syncEvolution (http://syncevolution.org/). From: Zhao Forrest To: =?ISO-8859-1?Q?Jo=E3o_Paulo_Rechi_Vita?= Cc: Patrick Ohly , "Zhao, Forrest" , "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: >>> >>>> + ? ? ? if (option_syncevolution == TRUE) { >>>> + ? ? ? ? ? ? ? services |= OBEX_SYNCEVOLUTION; >>>> + ? ? ? ? ? ? ? bluetooth_init(OBEX_SYNCEVOLUTION, "OBEX server for" >>>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? " Syncevolution client", NULL, >>>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? SYNCEVOLUTION_CHANNEL, TRUE, FALSE, FALSE, >>>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? NULL); >>>> + ? ? ? } >>>> + >>> >>> Which string is going to appear in the service description (the SDP >>> part)? This one here? Mentioning "SyncML" would be useful. So I suggest >>> "OBEX server for SyncML, using SyncEvolution". Leave out the >>> "SyncEvolution client", because the term client is a) overloaded >>> (SyncML/OBEX/D-Bus) and b) SyncEvolution could be both client and server >>> in this context (SAN => SyncML client, SyncML message => SyncML server). >>> >> OK. Will expose service name as "OBEX server for SyncML, using SyncEvolution" >> since ProviderName attribute is not supported by obexd now. > > If it's consensus the right way would be exposing SyncEvolution > through ProviderName, please add a comment to the code telling that, > so someone remember to fix it by the time obexd supports it. > Thank you for reminding. A FIXME comment will be put here.