remove unused converter

pull/9537/head
paul-szczepanek-arm 2019-02-05 12:15:45 +00:00
parent 03b747a6f6
commit de60b2a56a
2 changed files with 0 additions and 20 deletions

View File

@ -35,7 +35,6 @@ void CordioAttClient::att_client_handler(const attEvt_t* event)
static const event_handler_t handlers[] = {
&timeout_event_handler,
&event_handler<ErrorResponseConverter>,
//&event_handler<ExchangeMtuResponseConverter>,
&event_handler<FindInformationResponseConverter>,
&event_handler<FindByTypeValueResponseConverter>,
&event_handler<ReadByTypeResponseConverter>,

View File

@ -400,25 +400,6 @@ private:
}
};
/**
* Converter for an AttExchangeMTUResponse.
*/
struct ExchangeMtuResponseConverter {
static bool can_convert(const attEvt_t* event)
{
if(event->hdr.status == ATT_SUCCESS &&
event->hdr.event == ATT_MTU_UPDATE_IND) {
return true;
}
return false;
}
static AttExchangeMTUResponse convert(const attEvt_t* event)
{
return AttExchangeMTUResponse(event->mtu);
}
};
/**
* Converter for a SimpleAttFindInformationResponse.
*/