Skip to content

Commit 1596156

Browse files
wootak-jungpull[bot]
authored andcommitted
[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 <[email protected]>
1 parent 8faae8e commit 1596156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/Tizen/BLEManagerImpl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ int BLEManagerImpl::StartBLEAdvertising()
671671

672672
err = SystemInfo::GetPlatformVersion(version);
673673
VerifyOrExit(err == CHIP_NO_ERROR, ChipLogError(DeviceLayer, "GetPlatformVersion() failed. %s", ErrorStr(err)));
674-
if (version.mMajor >= 7 && version.mMinor >= 5)
674+
if (version.mMajor >= 8)
675675
{
676676
ret = bt_adapter_le_set_advertising_flags(
677677
mAdvertiser, BT_ADAPTER_LE_ADVERTISING_FLAGS_GEN_DISC | BT_ADAPTER_LE_ADVERTISING_FLAGS_BREDR_UNSUP);

0 commit comments

Comments
 (0)