linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rymarkiewicz Waldemar <waldemar.rymarkiewicz@tieto.com>
To: Johan Hedberg <johan.hedberg@gmail.com>
Cc: <linux-bluetooth@vger.kernel.org>
Subject: Re: [RFC] bloodpressure: Add Blood Pressure API
Date: Fri, 1 Mar 2013 09:34:08 +0100	[thread overview]
Message-ID: <51306800.3050805@tieto.com> (raw)
In-Reply-To: <20130228141847.GA24103@x220>

Hi Johan,

> You might want to fix those in a separate patch set then. Just because
> something is in the source tree doesn't mean that it's worth copying
> into new code/documentation.

Will do so.

> Couldn't you just return a "NotSupported" error to
> EnableIntermediateMeasurement?

Sure, it could. It's rather cosmetic change then big one.

>> Similarly as in thermometer api.
>
> I suspect there are several messed up LE APIs and implementations in the
> source tree, so I'd say it's highly advisable to not just blindly copy
> from the existing code but also use some common sense and be critical of
> what you see.

I wouldn't say this particular api is messed up. For me it looks sane. 
It's rather the matter of approach than blind copy/paste.

If something existing make sense and is pretty rational then should be 
used. You can always code one thing in many ways which differ only in 
details.

Proposed 'NotSupported" seems fine as well. I can go for it and remove 
BloodPressure1 interface totally.

Any more comments before I will send v2 ?

Thanks,
/Waldek






  reply	other threads:[~2013-03-01  8:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12 11:21 [RFC] bloodpressure: Add Blood Pressure API Waldemar Rymarkiewicz
2013-02-20  7:57 ` Johan Hedberg
2013-02-28 14:00   ` Rymarkiewicz Waldemar
2013-02-28 14:18     ` Johan Hedberg
2013-03-01  8:34       ` Rymarkiewicz Waldemar [this message]
2013-03-01  8:39         ` Johan Hedberg
2013-03-01 12:11       ` Rymarkiewicz Waldemar
2013-03-01 13:37         ` Johan Hedberg
2013-03-02  3:09 ` Marcel Holtmann
2013-03-05 11:39   ` Rymarkiewicz Waldemar
2013-03-05 16:15     ` Marcel Holtmann
2013-03-06  8:51       ` Rymarkiewicz Waldemar
2013-03-13  6:51         ` Rymarkiewicz Waldemar
2013-05-08  7:41           ` Johan Hedberg
2013-05-16 12:17             ` Waldemar Rymarkiewicz
2013-05-16 12:22               ` Waldemar Rymarkiewicz

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=51306800.3050805@tieto.com \
    --to=waldemar.rymarkiewicz@tieto.com \
    --cc=johan.hedberg@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).