linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] doc/mesh-api: Fix Attach() method signature
@ 2019-02-28 23:24 Inga Stotland
  2019-03-01 18:50 ` Gix, Brian
  0 siblings, 1 reply; 2+ messages in thread
From: Inga Stotland @ 2019-02-28 23:24 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: brian.gix, johan.hedberg, luiz.dentz, Inga Stotland

Correct return arguments for Attach() method.
Also, fix some grammar and formatting.
---
 doc/mesh-api.txt | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/doc/mesh-api.txt b/doc/mesh-api.txt
index e1bc3ee02..0b341a0f9 100644
--- a/doc/mesh-api.txt
+++ b/doc/mesh-api.txt
@@ -1,4 +1,3 @@
-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 BlueZ D-Bus Mesh API description
 ********************************
 
@@ -12,16 +11,16 @@ Methods:
 	void Join(object app_defined_root, array{byte}[16] uuid)
 
 		This is the first method that an application has to call to
-		become a provisioned node on a mesh network.  The call will
+		become a provisioned node on a mesh network. The call will
 		initiate broadcasting of Unprovisioned Device Beacon.
 
 		The app_defined_root parameter is a D-Bus object root path of
 		the application that implements org.bluez.mesh.Application1
 		interface. The application represents a node where child mesh
 		elements have their own objects that implement
-		org.bluez.mesh.Element1 interface.  The application hierarchy
+		org.bluez.mesh.Element1 interface. The application hierarchy
 		also contains a provision agent object that implements
-		org.bluez.mesh.ProvisionAgent1 interface.  The standard
+		org.bluez.mesh.ProvisionAgent1 interface. The standard
 		DBus.ObjectManager interface must be available on the
 		app_defined_root path.
 
@@ -34,8 +33,8 @@ Methods:
 		Cancels an outstanding provisioning request initiated by Join()
 		method.
 
-	(object node, array{byte, array{(uint16, dict}} configuration)
-				Attach(object app_defined_root, uint64 token)
+	object node, array{byte, array{(uint16, dict)}} configuration
+			Attach(object app_defined_root, uint64 token)
 
 		This is the first method that an application must call to get
 		access to mesh node functionalities.
@@ -58,13 +57,13 @@ Methods:
 		(see Mesh Node Hierarchy section) and current configuration
 		settings. The return value of configuration parameter is an
 		array, where each entry is a structure that contains element
-		configuration.  The element configuration structure is organized
+		configuration. The element configuration structure is organized
 		as follows:
 
 		byte
 
 			Element index, identifies the element to which this
-			configuration entry pertians.
+			configuration entry pertains.
 
 		array{struct}
 
@@ -140,7 +139,7 @@ Methods:
 		be returned.
 
 		The data parameter is an outgoing message to be encypted by the
-		meshd daemon and sent on.
+		bluetooth-meshd daemon and sent on.
 
 		Possible errors:
 			org.bluez.mesh.Error.NotAuthorized
@@ -308,8 +307,8 @@ Methods:
 	void MessageReceived(uint16 source, uint16 key_index,
 					boolean subscription, array{byte} data)
 
-		This method is called by meshd daemon when a message arrives
-		addressed to the application.
+		This method is called by bluetooth-meshd daemon when a message
+		arrives addressed to the application.
 
 		The source parameter is unicast address of the remote
 		node-element that sent the message.
@@ -328,7 +327,7 @@ Methods:
 
 	void UpdateModelConfiguration(uint16 model_id, dict config)
 
-		This method is called by meshd daemon when a model's
+		This method is called by bluetooth-meshd daemon when a model's
 		configuration is updated.
 
 		The model_id parameter contains BT SIG Model Identifier or, if
-- 
2.17.2


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

* RE: [PATCH BlueZ] doc/mesh-api: Fix Attach() method signature
  2019-02-28 23:24 [PATCH BlueZ] doc/mesh-api: Fix Attach() method signature Inga Stotland
@ 2019-03-01 18:50 ` Gix, Brian
  0 siblings, 0 replies; 2+ messages in thread
From: Gix, Brian @ 2019-03-01 18:50 UTC (permalink / raw)
  To: Stotland, Inga, linux-bluetooth; +Cc: johan.hedberg, luiz.dentz

applied

> -----Original Message-----
> From: Stotland, Inga
> Sent: Thursday, February 28, 2019 3:25 PM
> To: linux-bluetooth@vger.kernel.org
> Cc: Gix, Brian <brian.gix@intel.com>; johan.hedberg@gmail.com;
> luiz.dentz@gmail.com; Stotland, Inga <inga.stotland@intel.com>
> Subject: [PATCH BlueZ] doc/mesh-api: Fix Attach() method signature
> 
> Correct return arguments for Attach() method.
> Also, fix some grammar and formatting.
> ---
>  doc/mesh-api.txt | 23 +++++++++++------------
>  1 file changed, 11 insertions(+), 12 deletions(-)
> 
> diff --git a/doc/mesh-api.txt b/doc/mesh-api.txt index e1bc3ee02..0b341a0f9
> 100644
> --- a/doc/mesh-api.txt
> +++ b/doc/mesh-api.txt
> @@ -1,4 +1,3 @@
> -
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> xxxxxxxxxxxxx
>  BlueZ D-Bus Mesh API description
>  ********************************
> 
> @@ -12,16 +11,16 @@ Methods:
>  	void Join(object app_defined_root, array{byte}[16] uuid)
> 
>  		This is the first method that an application has to call to
> -		become a provisioned node on a mesh network.  The call will
> +		become a provisioned node on a mesh network. The call will
>  		initiate broadcasting of Unprovisioned Device Beacon.
> 
>  		The app_defined_root parameter is a D-Bus object root path
> of
>  		the application that implements org.bluez.mesh.Application1
>  		interface. The application represents a node where child
> mesh
>  		elements have their own objects that implement
> -		org.bluez.mesh.Element1 interface.  The application
> hierarchy
> +		org.bluez.mesh.Element1 interface. The application hierarchy
>  		also contains a provision agent object that implements
> -		org.bluez.mesh.ProvisionAgent1 interface.  The standard
> +		org.bluez.mesh.ProvisionAgent1 interface. The standard
>  		DBus.ObjectManager interface must be available on the
>  		app_defined_root path.
> 
> @@ -34,8 +33,8 @@ Methods:
>  		Cancels an outstanding provisioning request initiated by
> Join()
>  		method.
> 
> -	(object node, array{byte, array{(uint16, dict}} configuration)
> -				Attach(object app_defined_root, uint64
> token)
> +	object node, array{byte, array{(uint16, dict)}} configuration
> +			Attach(object app_defined_root, uint64 token)
> 
>  		This is the first method that an application must call to get
>  		access to mesh node functionalities.
> @@ -58,13 +57,13 @@ Methods:
>  		(see Mesh Node Hierarchy section) and current configuration
>  		settings. The return value of configuration parameter is an
>  		array, where each entry is a structure that contains element
> -		configuration.  The element configuration structure is
> organized
> +		configuration. The element configuration structure is
> organized
>  		as follows:
> 
>  		byte
> 
>  			Element index, identifies the element to which this
> -			configuration entry pertians.
> +			configuration entry pertains.
> 
>  		array{struct}
> 
> @@ -140,7 +139,7 @@ Methods:
>  		be returned.
> 
>  		The data parameter is an outgoing message to be encypted
> by the
> -		meshd daemon and sent on.
> +		bluetooth-meshd daemon and sent on.
> 
>  		Possible errors:
>  			org.bluez.mesh.Error.NotAuthorized
> @@ -308,8 +307,8 @@ Methods:
>  	void MessageReceived(uint16 source, uint16 key_index,
>  					boolean subscription, array{byte}
> data)
> 
> -		This method is called by meshd daemon when a message
> arrives
> -		addressed to the application.
> +		This method is called by bluetooth-meshd daemon when a
> message
> +		arrives addressed to the application.
> 
>  		The source parameter is unicast address of the remote
>  		node-element that sent the message.
> @@ -328,7 +327,7 @@ Methods:
> 
>  	void UpdateModelConfiguration(uint16 model_id, dict config)
> 
> -		This method is called by meshd daemon when a model's
> +		This method is called by bluetooth-meshd daemon when a
> model's
>  		configuration is updated.
> 
>  		The model_id parameter contains BT SIG Model Identifier or,
> if
> --
> 2.17.2


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

end of thread, other threads:[~2019-03-01 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-28 23:24 [PATCH BlueZ] doc/mesh-api: Fix Attach() method signature Inga Stotland
2019-03-01 18:50 ` Gix, Brian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).