Re: [PATCH v2 6/6] proximity: reporter: implement D-Bus API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arik,

On Thu, Mar 15, 2012 at 6:49 AM, Arik Nemtsov <arik@xxxxxxxxxx> wrote:
> Register a D-Bus interface per remote device. Set a watch on the
> "DeviceAdded" signal to add all existing devices. Likewise set watches
> on "DeviceCreated" and "DeviceRemoved" to handle dynamic addition and
> removal of devices.

The paragraph above does not apply anymore. You need to update to
refer to the device driver.

> +/* device driver for tracking remote GATT client devices */
> +static struct btd_device_driver reporter_dev_tracker_driver = {

What about using "reporter_device_driver"

> +       .name = "Proximity GATT Reporter Device Tracker Driver",

And "Proximity GATT Reporter Device Driver"

> +       .uuids = BTD_UUIDS(GATT_UUID),
> +       .probe = gatt_device_probe,
> +       .remove = gatt_device_remove,

And using reporter_probe() / reporter_remove()

> +};
> +

Regards,
-- 
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux