From: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
To: Anderson Lizardo <anderson.lizardo@openbossa.org>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH] Cycling Speed and Cadence profile (CSCP) API
Date: Mon, 24 Sep 2012 10:02:03 +0200 [thread overview]
Message-ID: <5060137B.6050302@tieto.com> (raw)
In-Reply-To: <CAJdJm_PyC22Les5_=+z+MjnbFzGGZ7CepQNEo9QRdV0z_SaUKA@mail.gmail.com>
Hi Anderson,
On 09/21/2012 05:51 PM, Anderson Lizardo wrote:
> Hi Andrzej,
>
> On Fri, Sep 21, 2012 at 5:09 AM, Andrzej Kaczmarek
> <andrzej.kaczmarek@tieto.com> wrote:
>> +Cycling Speed and Cadence API description
>> +****************************************
>> +
>> +Copyright (C) 2012 Tieto Poland
>> +
>> +Cycling Manager hierarchy
>> +============================
>> +
>> +Service org.bluez
>> +Interface org.bluez.CyclingManager
>
> I don't have much to comment on the API as I haven't had time to read
> the CSCP spec yet, but about the name prefix, what about
> "CyclingSpeed" (and "RunningSpeed" for the future RSCP) ? Too long?
Ok for me. Not too long for sure, Thermometer is just 1 letter shorter.
> The "Cycling" name is slightly uncommon, but still not that bad IMHO.
In spec there's also SC used as shortcut for 'Speed and Cadence' but I
think CyclingSC does not work well with camel-case in interface name. Or
actually is CyclingScManager ok? But plugin name (cyclingsc) will look a
bit weird if derived from this name, cyclingspeed sounds better.
>> +Properties String Location (optional) [readwrite]
>
> String -> string
>
>> + uint16 LastWheelEventTime (optional):
>> +
>> + Value of Last Wheel Event time
>
> Better specify that this is in "1/1024 second units" (just checked on
> developer.bluetooth.org).
>
>> +
>> + uint16 CrankRevolutions (optional):
>> +
>> + Cumulative number of crank revolutions
>> +
>> + uint16 LastCrankEventTime (optional):
>> +
>> + Value of Last Crank Event time
>
> Same here.
Sure, I'll fix above issues.
BR,
Andrzej
prev parent reply other threads:[~2012-09-24 8:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-21 9:09 [RFC] Cycling Speed and Cadence profile (CSCP) API Andrzej Kaczmarek
2012-09-21 9:09 ` [PATCH] " Andrzej Kaczmarek
2012-09-21 15:51 ` Anderson Lizardo
2012-09-24 8:02 ` Andrzej Kaczmarek [this message]
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=5060137B.6050302@tieto.com \
--to=andrzej.kaczmarek@tieto.com \
--cc=anderson.lizardo@openbossa.org \
--cc=linux-bluetooth@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.