BLE: Fix set advertising paylaod dispatch.

pull/8738/head
Vincent Coubard 2018-11-26 21:00:46 +00:00
parent daf0f429c8
commit 0ef7a40475
1 changed files with 2 additions and 1 deletions

View File

@ -1441,6 +1441,7 @@ void GenericGap::processDisconnectionEvent(
}
if (_eventHandler) {
printf("disconnection complete passed to application event handler\r\n");
_eventHandler->onDisconnectionComplete(
DisconnectionEvent(
handle,
@ -2085,7 +2086,7 @@ ble_error_t GenericGap::setAdvertisingPayload(
handle,
payload,
/* minimise fragmentation */ true,
/* scan response */ true
/* scan response */ false
);
}