Skip to content

Commit

Permalink
[Tizen] Change the platform version to 8.0 from 7.5 (#26993)
Browse files Browse the repository at this point in the history
bt_adapter_le_set_advertising_flags() is provided from Tizen 8.0

Signed-off-by: Wootak Jung <[email protected]>
  • Loading branch information
wootak-jung authored and pull[bot] committed Aug 28, 2023
1 parent ebdc588 commit 2856745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Tizen/BLEManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2856745

Please sign in to comment.