From 26e2037d23153f59cfe622688968aa190bf64905 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Sun, 25 May 2014 23:35:21 +0000 Subject: [PATCH] set client for find service by uuid --- ble/gatt_client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ble/gatt_client.c b/ble/gatt_client.c index bb82909f9..703756f67 100644 --- a/ble/gatt_client.c +++ b/ble/gatt_client.c @@ -865,6 +865,7 @@ static void gatt_client_att_packet_handler(uint8_t packet_type, uint16_t handle, memcpy(service.uuid128, peripheral->uuid128, 16); service.uuid16 = peripheral->uuid16; event.service = service; + event.client = peripheral; (*gatt_client_callback)((le_event_t*)&event); }