mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-25 09:35:42 +00:00
set client for find service by uuid
This commit is contained in:
parent
f2f517a9b0
commit
26e2037d23
@ -865,6 +865,7 @@ static void gatt_client_att_packet_handler(uint8_t packet_type, uint16_t handle,
|
|||||||
memcpy(service.uuid128, peripheral->uuid128, 16);
|
memcpy(service.uuid128, peripheral->uuid128, 16);
|
||||||
service.uuid16 = peripheral->uuid16;
|
service.uuid16 = peripheral->uuid16;
|
||||||
event.service = service;
|
event.service = service;
|
||||||
|
event.client = peripheral;
|
||||||
(*gatt_client_callback)((le_event_t*)&event);
|
(*gatt_client_callback)((le_event_t*)&event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user