Re: [PATCH] monitor/l2cap: Add log msg for read_blob_rsp

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

 



Hi Gowtham,

On Fri, Feb 13, 2015 at 1:18 PM, Gowtham Anandha Babu
<gowtham.ab@xxxxxxxxxxx> wrote:
>> ACL Data RX: Handle 71 flags 0x02 dlen 27                                                                                                                                                 [hci0] 79.680052
>       ATT: Read Blob Response (0x0d) len 22
>         Part of Attribute Value:
>         11 22 33 44 55 66 77 88 99 00 12 34 56 78 90 12  ."3DUfw....4Vx..
>         34 56 78 90 12 34                                4Vx..4
> ---
>  monitor/l2cap.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/monitor/l2cap.c b/monitor/l2cap.c
> index 0030a4c..d58c14f 100644
> --- a/monitor/l2cap.c
> +++ b/monitor/l2cap.c
> @@ -2198,6 +2198,7 @@ static void att_read_blob_req(const struct l2cap_frame *frame)
>
>  static void att_read_blob_rsp(const struct l2cap_frame *frame)
>  {
> +       print_field("Part of Attribute Value:");
>         packet_hexdump(frame->data, frame->size);
>  }
>
> --
> 1.9.1

I would use  print_hex_field("Value", frame->data, frame->size); like
in att_read_rsp if you really want a label.


-- 
Luiz Augusto von Dentz
--
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