From 2856745f1761baebcafff64cff1f5b608c2773f5 Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Thu, 1 Jun 2023 21:26:57 +0900 Subject: [PATCH] [Tizen] Change the platform version to 8.0 from 7.5 (#26993) bt_adapter_le_set_advertising_flags() is provided from Tizen 8.0 Signed-off-by: Wootak Jung --- src/platform/Tizen/BLEManagerImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/Tizen/BLEManagerImpl.cpp b/src/platform/Tizen/BLEManagerImpl.cpp index 2af519916520a6..3749d1d6f5027e 100644 --- a/src/platform/Tizen/BLEManagerImpl.cpp +++ b/src/platform/Tizen/BLEManagerImpl.cpp @@ -671,7 +671,7 @@ int BLEManagerImpl::StartBLEAdvertising() err = SystemInfo::GetPlatformVersion(version); VerifyOrExit(err == CHIP_NO_ERROR, ChipLogError(DeviceLayer, "GetPlatformVersion() failed. %s", ErrorStr(err))); - if (version.mMajor >= 7 && version.mMinor >= 5) + if (version.mMajor >= 8) { ret = bt_adapter_le_set_advertising_flags( mAdvertiser, BT_ADAPTER_LE_ADVERTISING_FLAGS_GEN_DISC | BT_ADAPTER_LE_ADVERTISING_FLAGS_BREDR_UNSUP);