org.bluez.LEAdvertisement: Promote experimental properties to stable
Luiz Augusto von Dentz
maintainerPATCH v2 1/2 org.bluez.LEAdvertisement: Promote experimental properties to stable
From: Luiz Augusto von Dentz <[email protected]>
This promotes experimental properties to stable since they have been in use for quite a while without any changes.
--- doc/org.bluez.LEAdvertisement.rst | 28 +++++++++++++------------- doc/org.bluez.LEAdvertisingManager.rst | 12 +++++------ 2 files changed, 20 insertions(+), 20 deletions(-)
doc/org.bluez.LEAdvertisement.rst +14 -14
@@ -83,8 +83,8 @@ dict ServiceData Service Data elements to include. The keys are the UUID to associate with the data. -dict Data [Experimental] -```````````````````````` +dict Data +````````` Advertising Data to include. Key is the advertising type and value is the data as byte array.
@@ -101,8 +101,8 @@ dict Data [Experimental] <Transport Discovery> <Organization Flags...> 0x26 0x01 0x01... -bool Discoverable [Experimental] -```````````````````````````````` +bool Discoverable +````````````````` Advertise as general discoverable. When present this will override adapter Discoverable property.
@@ -110,8 +110,8 @@ bool Discoverable [Experimental] Note: This property shall not be set when **Type** is set to "broadcast". -uint16 DiscoverableTimeout [Experimental] -````````````````````````````````````````` +uint16 DiscoverableTimeout +`````````````````````````` The discoverable timeout in seconds. A value of zero means that the timeout is disabled and it will stay in discoverable/limited mode
@@ -158,8 +158,8 @@ uint16_t Timeout Timeout of the advertisement in seconds. This defines the lifetime of the advertisement. -string SecondaryChannel [Experimental] -`````````````````````````````````````` +string SecondaryChannel +``````````````````````` Secondary channel to be used. Primary channel is always set to "1M" except when "Coded" is set.
@@ -170,24 +170,24 @@ string SecondaryChannel [Experimental] :"2M": :"Coded": -uint32 MinInterval [Experimental] -````````````````````````````````` +uint32 MinInterval +`````````````````` Minimum advertising interval to be used by the advertising set, in milliseconds. Acceptable values are in the range [20ms, 10,485s]. If the provided MinInterval is larger than the provided MaxInterval, the registration will return failure. -uint32 MaxInterval [Experimental] -````````````````````````````````` +uint32 MaxInterval +`````````````````` Maximum advertising interval to be used by the advertising set, in milliseconds. Acceptable values are in the range [20ms, 10,485s]. If the provided MinInterval is larger than the provided MaxInterval, the registration will return failure. -int16 TxPower [Experimental] -```````````````````````````` +int16 TxPower +````````````` Requested transmission power of this advertising set. The provided value is used only if the "CanSetTxPower" feature is enabled on the
doc/org.bluez.LEAdvertisingManager.rst +6 -6
@@ -89,8 +89,8 @@ array{string} SupportedIncludes [readonly] :"local-name": :"rsi": -array{string} SupportedSecondaryChannels [readonly, Experimental] -````````````````````````````````````````````````````````````````` +array{string} SupportedSecondaryChannels [readonly] +``````````````````````````````````````````````````` List of supported Secondary channels. Secondary channels can be used to advertise with the corresponding PHY.
@@ -101,8 +101,8 @@ array{string} SupportedSecondaryChannels [readonly, Experimental] :"2M": :"Coded": -dict SupportedCapabilities [readonly, Experimental] -``````````````````````````````````````````````````` +dict SupportedCapabilities [readonly] +````````````````````````````````````` Enumerates Advertising-related controller capabilities useful to the client.
@@ -125,8 +125,8 @@ dict SupportedCapabilities [readonly, Experimental] Max advertising tx power (dBm) -array{string} SupportedFeatures [readonly,optional,Experimental] -```````````````````````````````````````````````````````````````` +array{string} SupportedFeatures [readonly,optional] +``````````````````````````````````````````````````` List of supported platform features. If no features are available on the platform, the SupportedFeatures array will be empty.
Signature · 1 line
2.45.2
Luiz Augusto von Dentz
maintainerPATCH v2 2/2 advertising: Promote experimental properties to stable
From: Luiz Augusto von Dentz <[email protected]>
This promotes experimental properties to stable since they have been in use for quite a while without any changes.
--- src/advertising.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-)
src/advertising.c +3 -18
@@ -1129,10 +1129,6 @@ static bool parse_min_interval(DBusMessageIter *iter, {uint32_t min_interval_ms; -/* Only consider this property if experimental setting is applied */ -if (!(g_dbus_get_flags () &G_DBUS_FLAG_ENABLE_EXPERIMENTAL )) -return true; -if (!iter) { client->min_interval =0 ;return false;
@@ -1162,10 +1158,6 @@ static bool parse_max_interval(DBusMessageIter *iter, {uint32_t max_interval_ms; -/* Only consider this property if experimental setting is applied */ -if (!(g_dbus_get_flags () &G_DBUS_FLAG_ENABLE_EXPERIMENTAL )) -return true; -if (!iter) { client->max_interval =0 ;return false;
@@ -1195,10 +1187,6 @@ static bool parse_tx_power(DBusMessageIter *iter, {int16_t val; -/* Only consider this property if experimental setting is applied */ -if (!(g_dbus_get_flags () &G_DBUS_FLAG_ENABLE_EXPERIMENTAL )) -return true; -if (!iter) { client->tx_power =ADV_TX_POWER_NO_PREFERENCE ;return false;
@@ -1841,10 +1829,8 @@ static const GDBusPropertyTable properties[] = { { "SupportedIncludes", "as", get_supported_includes, NULL, NULL }, { "SupportedSecondaryChannels", "as", get_supported_secondary, NULL, secondary_exists }, - { "SupportedFeatures", "as", get_supported_features, NULL, NULL, - G_DBUS_PROPERTY_FLAG_EXPERIMENTAL}, - { "SupportedCapabilities", "a{sv}", get_supported_cap, NULL, NULL, - G_DBUS_PROPERTY_FLAG_EXPERIMENTAL}, + { "SupportedFeatures", "as", get_supported_features, NULL, NULL }, + { "SupportedCapabilities", "a{sv}", get_supported_cap, NULL, NULL }, { } };
@@ -1998,8 +1984,7 @@ static struct btd_adv_manager *manager_create(struct btd_adapter *adapter,/* Query controller capabilities. This will be used to display valid * advertising tx power range to the client. */ -if (g_dbus_get_flags () &G_DBUS_FLAG_ENABLE_EXPERIMENTAL && -btd_has_kernel_features (KERNEL_HAS_CONTROLLER_CAP_CMD )) +if (btd_has_kernel_features (KERNEL_HAS_CONTROLLER_CAP_CMD ))mgmt_send (manager->mgmt,MGMT_OP_READ_CONTROLLER_CAP , manager->mgmt_index,0 ,NULL , read_controller_cap_complete, manager,NULL );
Signature · 1 line
2.45.2
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=866685
---Test result---
Test Summary:
CheckPatch PASS 3.46 seconds GitLint FAIL 1.02 seconds BuildEll PASS 24.75 seconds BluezMake PASS 1650.38 seconds MakeCheck PASS 13.34 seconds MakeDistcheck PASS 176.89 seconds CheckValgrind PASS 250.18 seconds CheckSmatch PASS 350.63 seconds bluezmakeextell PASS 119.05 seconds IncrementalBuild PASS 2992.84 seconds ScanBuild PASS 996.19 seconds
Details
##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
[BlueZ,v2,1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable
WARNING: I3 - ignore-body-lines: gitlint will be switching from using Python regex 'match' (match beginning) to 'search' (match anywhere) semantics. Please review your ignore-body-lines.regex option accordingly. To remove this warning, set general.regex-style-search=True. More details: https://jorisroovers.github.io/gitlint/configuration/#regex-style-search
1: T1 Title exceeds max length (83>80): "[BlueZ,v2,1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable"
---
Regards,
Linux Bluetooth
This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 8 lines · On Fri, 28 Jun 2024 12:47:00 -0400 you wrote:
From: Luiz Augusto von Dentz <[email protected]>
This promotes experimental properties to stable since they have been in use for quite a while without any changes.
--- doc/org.bluez.LEAdvertisement.rst | 28 +++++++++++++------------- doc/org.bluez.LEAdvertisingManager.rst | 12 +++++------ 2 files changed, 20 insertions(+), 20 deletions(-)
Here is the summary with links:
- [BlueZ,v2,1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=1a51250a7ea5 - [BlueZ,v2,2/2] advertising: Promote experimental properties to stable https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=7e028287ae1a
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html