mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 04:20:20 +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){
|
||||
printf("%04x\n", READ_BT_16(value, 3));
|
||||
} else {
|
||||
printUUID128(&value[3]);
|
||||
uint8_t uuid128[16];
|
||||
swap128(&value[3], uuid128);
|
||||
printUUID128(uuid128);
|
||||
printf("\n");
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user