All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 10/10] doc: document DPP interface
@ 2021-12-14 18:12 James Prestwood
  0 siblings, 0 replies; 2+ messages in thread
From: James Prestwood @ 2021-12-14 18:12 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 1318 bytes --]

---
 doc/device-provisioning.txt | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 doc/device-provisioning.txt

diff --git a/doc/device-provisioning.txt b/doc/device-provisioning.txt
new file mode 100644
index 00000000..444bac74
--- /dev/null
+++ b/doc/device-provisioning.txt
@@ -0,0 +1,32 @@
+Device Provisioning hierarchy
+=============================
+
+Service		net.connman.iwd
+Interface	net.connman.iwd.DeviceProvisioning [Experimental]
+Object path	/net/connman/iwd/{phy0,phy1,...}/{1,2,...}
+
+Methods		string StartEnrollee(dict arguments)
+
+			Start a DPP enrollee. Currently only station devices are
+			supported. The method arguments should be a dictionary.
+			There are no required dictionary key/values but it may
+			include:
+
+			Information: string - Vendor specific info to advertise
+						in the URI (I:).
+			Host: string - Host information to advertise in the
+						URI (H:).
+
+			Returns the enrollees URI
+
+			Possible errors:	net.connman.iwd.InvalidArguments
+						net.connman.iwd.AlreadyExists
+						net.connman.iwd.NotAvailable
+
+		void Stop()
+
+			Stop an enrollee.
+
+			Possible errors:	net.connman.iwd.Busy
+						net.connman.iwd.Failed
+						net.connman.iwd.InvalidArguments
-- 
2.31.1

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

* Re: [PATCH v2 10/10] doc: document DPP interface
@ 2021-12-14 21:35 Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2021-12-14 21:35 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 1649 bytes --]

Hi James,

On 12/14/21 12:12 PM, James Prestwood wrote:
> ---
>   doc/device-provisioning.txt | 32 ++++++++++++++++++++++++++++++++
>   1 file changed, 32 insertions(+)
>   create mode 100644 doc/device-provisioning.txt
> 
> diff --git a/doc/device-provisioning.txt b/doc/device-provisioning.txt
> new file mode 100644
> index 00000000..444bac74
> --- /dev/null
> +++ b/doc/device-provisioning.txt
> @@ -0,0 +1,32 @@
> +Device Provisioning hierarchy
> +=============================
> +
> +Service		net.connman.iwd
> +Interface	net.connman.iwd.DeviceProvisioning [Experimental]
> +Object path	/net/connman/iwd/{phy0,phy1,...}/{1,2,...}
> +
> +Methods		string StartEnrollee(dict arguments)
> +
> +			Start a DPP enrollee. Currently only station devices are
> +			supported. The method arguments should be a dictionary.
> +			There are no required dictionary key/values but it may
> +			include:
> +
> +			Information: string - Vendor specific info to advertise
> +						in the URI (I:).
> +			Host: string - Host information to advertise in the
> +						URI (H:).

Do we really want the users to provide this or should we simply grab it from 
gethostname()?

Are there limits on the contents of the information / hostname strings?

> +
> +			Returns the enrollees URI
> +
> +			Possible errors:	net.connman.iwd.InvalidArguments
> +						net.connman.iwd.AlreadyExists
> +						net.connman.iwd.NotAvailable
> +
> +		void Stop()
> +
> +			Stop an enrollee.
> +
> +			Possible errors:	net.connman.iwd.Busy
> +						net.connman.iwd.Failed
> +						net.connman.iwd.InvalidArguments
> 

Regards,
-Denis

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

end of thread, other threads:[~2021-12-14 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-14 18:12 [PATCH v2 10/10] doc: document DPP interface James Prestwood
2021-12-14 21:35 Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.