mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-07 16:20:19 +00:00
fix endinaness for udid in discover characteristic descriptors
This commit is contained in:
parent
437e2969cf
commit
13e55212dd
@ -564,7 +564,9 @@ void handle_gatt_client_event(uint8_t packet_type, uint8_t *packet, uint16_t siz
|
|||||||
if (value_length < 19){
|
if (value_length < 19){
|
||||||
printf("%04x\n", READ_BT_16(value, 3));
|
printf("%04x\n", READ_BT_16(value, 3));
|
||||||
} else {
|
} else {
|
||||||
printUUID128(&value[3]);
|
uint8_t uuid128[16];
|
||||||
|
swap128(&value[3], uuid128);
|
||||||
|
printUUID128(uuid128);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user