linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@nokia.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] [DBUS Patch] Device Property
Date: Fri, 18 Nov 2005 10:28:28 +0200	[thread overview]
Message-ID: <20051118082828.GA16438@localhost.localdomain> (raw)
In-Reply-To: <3013cac80511171252g4a4f1581l915e364a244ec8ea@mail.gmail.com>

Hi Eduardo,

Your patch looks ok in general, however there are a couple of issues I'd
like to comment on:

1. The string given to the syslog call in the "if (status)" part of the
handle_device_set_propety_req_name function is wrong (just a simple
copy-paste mistake).

2. The list assigned to the dev_cmds variable in the dbus-test app could
be reformated to be max 80 chars wide.

3. There are several places in dbus-test where the indentation is wrong:
some places there are extra spaces, others have too few. You have also
mixed tabs and spaces in a couple of places (the indentation should, at
least for now, use 4 spaces).

4. You don't need to use dbus.String(var) when giving a string variable
to a method call using the python bindings.

5. We should think of how to allow giving different types (bool, byte,
string) to the SetProperty method using dbus-test. One way to do it
would be to give four parameters in the command line (e.g. "SetProperty
connectable b true" or "SetProperty name s MyName"). Another option is
to change to the HAL way of doing properties (by having
SetPropertyString, SetPropertyBoolean, etc).

Johan


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2005-11-18  8:28 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-04 14:03 [Bluez-devel] [DBUS Patch] Device Property Eduardo Rocha
2005-11-04 15:44 ` Marcel Holtmann
2005-11-08 20:41   ` Claudio Takahasi
2005-11-08 22:20     ` Marcel Holtmann
2005-11-08 22:20     ` Johan Hedberg
2005-11-08 22:38       ` Marcel Holtmann
2005-11-17 19:16         ` Eduardo Rocha
2005-11-17 20:52           ` Eduardo Rocha
2005-11-18  8:28             ` Johan Hedberg [this message]
2005-11-18 10:51               ` Eduardo Rocha
2005-11-18 11:26                 ` Johan Hedberg
2005-11-18 13:00                   ` Eduardo Rocha
2005-11-22 11:51                     ` Marcel Holtmann
2005-11-22 19:52                       ` Eduardo Rocha
2005-11-24  4:17                         ` Marcel Holtmann
2005-11-24 18:50                           ` Eduardo Rocha
2005-11-24 22:54                             ` Marcel Holtmann
2005-11-25 13:47                               ` Claudio Takahasi
2005-11-25 14:32                                 ` Eduardo Rocha
2005-11-25 18:08                                 ` Marcel Holtmann
2005-11-25 18:34                                   ` Eduardo Rocha
2005-11-25 18:41                                     ` Marcel Holtmann
2005-11-25 19:52                                       ` Claudio Takahasi
2005-11-25 20:06                                         ` Marcel Holtmann
2005-12-01 16:55                                           ` Eduardo Rocha
2005-12-01 21:05                                             ` Marcel Holtmann
2005-12-07 12:29                                               ` Eduardo Rocha
2005-12-07 12:55                                                 ` Johan Hedberg
2005-12-07 13:02                                                   ` Marcel Holtmann
2005-12-07 16:01                                                     ` Eduardo Rocha
2005-12-13 17:27                                                       ` Eduardo Rocha
2005-12-13 22:03                                                         ` Marcel Holtmann
2005-12-14 19:02                                                           ` Eduardo Rocha
2005-12-16 18:37                                                             ` Eduardo Rocha
2005-12-16 18:40                                                               ` Marcel Holtmann
2005-11-25 16:51                               ` Johan Hedberg
2005-11-25 18:12                                 ` 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=20051118082828.GA16438@localhost.localdomain \
    --to=johan.hedberg@nokia.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /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).