BLE: Connect generic gatt client as pal EventHandler.

pull/10581/head
Vincent Coubard 2019-05-14 17:11:29 +01:00
parent f28b82b831
commit 134f71e6ba
1 changed files with 1 additions and 0 deletions
features/FEATURE_BLE/source/generic

View File

@ -966,6 +966,7 @@ GenericGattClient<TPalGattClient, SigningMonitorEventHandler>::GenericGattClient
_pal_client->when_transaction_timeout(
mbed::callback(this, &GenericGattClient::on_transaction_timeout)
);
_pal_client->set_event_handler(this);
}
template<template<class> class TPalGattClient, class SigningMonitorEventHandler>