OSDN Git Service

Fix 128-bit UUID byte order for GATT-over-BR/EDR
authorAndre Eisenbach <eisenbach@google.com>
Wed, 21 Oct 2015 01:03:30 +0000 (18:03 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 21 Oct 2015 20:29:04 +0000 (13:29 -0700)
commit61968383a63be05a335e26bc53ef39d9af98ad72
tree5668de9e1f87a53de7b3342c08062292f1552e04
parentac43e88a0aa375e712683e2b218d876c616e6f5e
Fix 128-bit UUID byte order for GATT-over-BR/EDR

128-bit UUIDs for GATT services discovered using SDP are byte-ordered
incorrectly. This patch fixes both the SDP discovery as well as the SDP
record creation code.

Bug: 24344122
Change-Id: Iee4bf33dcbbc5ee0f2380b48330107232bd0401b
stack/gatt/gatt_utils.c
stack/include/bt_types.h
stack/sdp/sdp_api.c