Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4d55b51 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

GATT: fix 32 bit UUID handling

When writing UUID into stream with gatt_build_uuid_to_stream, we always
use 16bit or 128bit representation. In GATT code returning service UUID,
we were returning 32bit representation lenght, even though 128bit
representation was being returned in the stream. This resulted in
invalid GATT database content being returned, and the service not being
visible.

Bug: 66912853
Test: create GATT database with 32bit UUID, discover from remote device
Change-Id: I791a518ab080bd99db0a8be18d97e865c838fc7e
(cherry picked from f107e4f9e841152e5b94fa2f9d68c558d8c1b055)
parent 93f4dae5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment