mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Fix set advertising paylaod dispatch.
parent
daf0f429c8
commit
0ef7a40475
|
@ -1441,6 +1441,7 @@ void GenericGap::processDisconnectionEvent(
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_eventHandler) {
|
if (_eventHandler) {
|
||||||
|
printf("disconnection complete passed to application event handler\r\n");
|
||||||
_eventHandler->onDisconnectionComplete(
|
_eventHandler->onDisconnectionComplete(
|
||||||
DisconnectionEvent(
|
DisconnectionEvent(
|
||||||
handle,
|
handle,
|
||||||
|
@ -2085,7 +2086,7 @@ ble_error_t GenericGap::setAdvertisingPayload(
|
||||||
handle,
|
handle,
|
||||||
payload,
|
payload,
|
||||||
/* minimise fragmentation */ true,
|
/* minimise fragmentation */ true,
|
||||||
/* scan response */ true
|
/* scan response */ false
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue