Linux-Bluetooth Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH BlueZ] doc/mesh-api: Restore properties in mesh node hierarchy
@ 2019-07-26  2:03 Inga Stotland
  2019-07-26 16:19 ` Gix, Brian
  0 siblings, 1 reply; 2+ messages in thread
From: Inga Stotland @ 2019-07-26  2:03 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: brian.gix, Inga Stotland

This restores Features, Beacon, BeaconFlags, IvIndex and
SecondsSinceLAst heard properties under the
org.bluez.mesh.Node1 interface.
---
 doc/mesh-api.txt | 98 ++++++++++++++++++++++++------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

diff --git a/doc/mesh-api.txt b/doc/mesh-api.txt
index ff6b33346..7b62c0af4 100644
--- a/doc/mesh-api.txt
+++ b/doc/mesh-api.txt
@@ -343,6 +343,55 @@ Methods:
 			org.bluez.mesh.Error.DoesNotExist
 			org.bluez.mesh.Error.InvalidArguments
 
+Properties:
+	dict Features [read-only]
+
+		The dictionary that contains information about feature support.
+		The following keys are defined:
+
+		boolean Friend
+
+			Indicates the ability to establish a friendship with a
+			Low Power node
+
+		boolean LowPower
+
+			Indicates support for operating in Low Power node mode
+
+		boolean Proxy
+
+			Indicates support for GATT proxy
+
+		boolean Relay
+			Indicates support for relaying messages
+
+	If a key is absent from the dictionary, the feature is not supported.
+	Otherwise, true means that the feature is enabled and false means that
+	the feature is disabled.
+
+	boolean Beacon [read-only]
+
+		This property indicates whether the periodic beaconing is
+		enabled (true) or disabled (false).
+
+	uint8 BeaconFlags [read-only]
+
+		This property may be read at any time to determine the flag
+		field setting on sent and received beacons of the primary
+		network key.
+
+	uint32 IvIndex [read-only]
+
+		This property may be read at any time to determine the IV_Index
+		that the current network is on. This information is only useful
+		for provisioning.
+
+	uint32 SecondsSinceLastHeard [read-only]
+
+		This property may be read at any time to determine the number of
+		seconds since mesh network layer traffic was last detected on
+		this node's network.
+
 Mesh Provisioning Hierarchy
 ============================
 Service		org.bluez.mesh
@@ -618,55 +667,6 @@ Methods:
 		PossibleErrors:
 			org.bluez.mesh.Error.InvalidArguments
 
-Properties:
-	dict Features [read-only]
-
-		The dictionary that contains information about feature support.
-		The following keys are defined:
-
-		boolean Friend
-
-			Indicates the ability to establish a friendship with a
-			Low Power node
-
-		boolean LowPower
-
-			Indicates support for operating in Low Power node mode
-
-		boolean Proxy
-
-			Indicates support for GATT proxy
-
-		boolean Relay
-			Indicates support for relaying messages
-
-	If a key is absent from the dictionary, the feature is not supported.
-	Otherwise, true means that the feature is enabled and false means that
-	the feature is disabled.
-
-	boolean Beacon [read-only]
-
-		This property indicates whether the periodic beaconing is
-		enabled (true) or disabled (false).
-
-	uint8 BeaconFlags [read-only]
-
-		This property may be read at any time to determine the flag
-		field setting on sent and received beacons of the primary
-		network key.
-
-	uint32 IvIndex [read-only]
-
-		This property may be read at any time to determine the IV_Index
-		that the current network is on. This information is only useful
-		for provisioning.
-
-	uint32 SecondsSinceLastHeard [read-only]
-
-		This property may be read at any time to determine the number of
-		seconds since mesh network layer traffic was last detected on
-		this node's network.
-
 Mesh Application Hierarchy
 ==========================
 Service		unique name
-- 
2.21.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH BlueZ] doc/mesh-api: Restore properties in mesh node hierarchy
  2019-07-26  2:03 [PATCH BlueZ] doc/mesh-api: Restore properties in mesh node hierarchy Inga Stotland
@ 2019-07-26 16:19 ` Gix, Brian
  0 siblings, 0 replies; 2+ messages in thread
From: Gix, Brian @ 2019-07-26 16:19 UTC (permalink / raw)
  To: linux-bluetooth, Stotland, Inga

applied

On Thu, 2019-07-25 at 19:03 -0700, Inga Stotland wrote:
> This restores Features, Beacon, BeaconFlags, IvIndex and
> SecondsSinceLAst heard properties under the
> org.bluez.mesh.Node1 interface.
> ---
>  doc/mesh-api.txt | 98 ++++++++++++++++++++++++------------------------
>  1 file changed, 49 insertions(+), 49 deletions(-)
> 
> diff --git a/doc/mesh-api.txt b/doc/mesh-api.txt
> index ff6b33346..7b62c0af4 100644
> --- a/doc/mesh-api.txt
> +++ b/doc/mesh-api.txt
> @@ -343,6 +343,55 @@ Methods:
>  			org.bluez.mesh.Error.DoesNotExist
>  			org.bluez.mesh.Error.InvalidArguments
>  
> +Properties:
> +	dict Features [read-only]
> +
> +		The dictionary that contains information about feature support.
> +		The following keys are defined:
> +
> +		boolean Friend
> +
> +			Indicates the ability to establish a friendship with a
> +			Low Power node
> +
> +		boolean LowPower
> +
> +			Indicates support for operating in Low Power node mode
> +
> +		boolean Proxy
> +
> +			Indicates support for GATT proxy
> +
> +		boolean Relay
> +			Indicates support for relaying messages
> +
> +	If a key is absent from the dictionary, the feature is not supported.
> +	Otherwise, true means that the feature is enabled and false means that
> +	the feature is disabled.
> +
> +	boolean Beacon [read-only]
> +
> +		This property indicates whether the periodic beaconing is
> +		enabled (true) or disabled (false).
> +
> +	uint8 BeaconFlags [read-only]
> +
> +		This property may be read at any time to determine the flag
> +		field setting on sent and received beacons of the primary
> +		network key.
> +
> +	uint32 IvIndex [read-only]
> +
> +		This property may be read at any time to determine the IV_Index
> +		that the current network is on. This information is only useful
> +		for provisioning.
> +
> +	uint32 SecondsSinceLastHeard [read-only]
> +
> +		This property may be read at any time to determine the number of
> +		seconds since mesh network layer traffic was last detected on
> +		this node's network.
> +
>  Mesh Provisioning Hierarchy
>  ============================
>  Service		org.bluez.mesh
> @@ -618,55 +667,6 @@ Methods:
>  		PossibleErrors:
>  			org.bluez.mesh.Error.InvalidArguments
>  
> -Properties:
> -	dict Features [read-only]
> -
> -		The dictionary that contains information about feature support.
> -		The following keys are defined:
> -
> -		boolean Friend
> -
> -			Indicates the ability to establish a friendship with a
> -			Low Power node
> -
> -		boolean LowPower
> -
> -			Indicates support for operating in Low Power node mode
> -
> -		boolean Proxy
> -
> -			Indicates support for GATT proxy
> -
> -		boolean Relay
> -			Indicates support for relaying messages
> -
> -	If a key is absent from the dictionary, the feature is not supported.
> -	Otherwise, true means that the feature is enabled and false means that
> -	the feature is disabled.
> -
> -	boolean Beacon [read-only]
> -
> -		This property indicates whether the periodic beaconing is
> -		enabled (true) or disabled (false).
> -
> -	uint8 BeaconFlags [read-only]
> -
> -		This property may be read at any time to determine the flag
> -		field setting on sent and received beacons of the primary
> -		network key.
> -
> -	uint32 IvIndex [read-only]
> -
> -		This property may be read at any time to determine the IV_Index
> -		that the current network is on. This information is only useful
> -		for provisioning.
> -
> -	uint32 SecondsSinceLastHeard [read-only]
> -
> -		This property may be read at any time to determine the number of
> -		seconds since mesh network layer traffic was last detected on
> -		this node's network.
> -
>  Mesh Application Hierarchy
>  ==========================
>  Service		unique name

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-26  2:03 [PATCH BlueZ] doc/mesh-api: Restore properties in mesh node hierarchy Inga Stotland
2019-07-26 16:19 ` Gix, Brian

Linux-Bluetooth Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-bluetooth/0 linux-bluetooth/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-bluetooth linux-bluetooth/ https://lore.kernel.org/linux-bluetooth \
		linux-bluetooth@vger.kernel.org linux-bluetooth@archiver.kernel.org
	public-inbox-index linux-bluetooth


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-bluetooth


AGPL code for this site: git clone https://public-inbox.org/ public-inbox