mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Initialisation of legacy advertising set.
parent
6fccb11006
commit
3e884a382e
|
@ -432,7 +432,12 @@ GenericGap::GenericGap(
|
|||
|
||||
_pal_gap.set_event_handler(this);
|
||||
|
||||
// FIXME: lazy initialization of the legacy advertising set
|
||||
if (is_extended_advertising_available()) {
|
||||
setExtendedAdvertisingParameters(
|
||||
LEGACY_ADVERTISING_HANDLE,
|
||||
GapAdvertisingParameters()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
GenericGap::~GenericGap()
|
||||
|
|
Loading…
Reference in New Issue