Re: How can Gatt server know the changed MTU after MTU exchange?

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

 



Hi Luiz

On Fri, Dec 16, 2016 at 9:56 PM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> Hi Edward,
>
> On Fri, Dec 16, 2016 at 12:12 PM, Edward Jo <tkv2357@xxxxxxxxx> wrote:
>> Hi,
>>
>>  I tried to find the DBus API to get the negotiated MTU in doc of Bluez 5.43,
>> but I couldn't.
>>
>>  I would like that Gatt server send the response data chunk in MTU size when
>> client device sends 'Blob Read request' to GATT server.
>>
>>  Is there a way Gatt server to get the negotiated MTU? Perhaps, I'm missing
>> something or misunderstanding.
>
> The underline code already takes care of the negotiated MTU and it
> truncates the response to fit into the response. In the other hand
> what you might be after is the offset where the response shall start,
> which is something that we apparently did not have support yet but it
> should be easy to add.
>
> --
> Luiz Augusto von Dentz

Thank you for your patch. It works well.

Best regards,
Ed
--
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