Re: [PATCH BlueZ] gatttool: Fix Characteristic descriptor discovery

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

 



Hi Claudio,

On Tue, Sep 18, 2012 at 10:47 AM, Claudio Takahasi
<claudio.takahasi@xxxxxxxxxxxxx> wrote:
> @@ -298,7 +300,10 @@ static void char_desc_cb(guint8 status, const guint8 *pdu, guint16 plen,
>
>         att_data_list_free(list);
>
> -       rl_forced_update_display();
> +       if (handle != 0xffff && handle < end) {
> +               gatt_find_info(attrib, handle + 1, end, char_desc_cb, NULL);
> +       } else
> +               rl_forced_update_display();

Just a minor nitpick: no need for curly brackets here.

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