client: Add shared code DBus interface
PATCH 1/2 client: Add shared code DBus interface
--- client/dbus-proxy.h | 3 +++ 1 file changed, 3 insertions(+)
v2:
* Fixed copyright
client/dbus-proxy.h +3 -0
@@ -3,6 +3,7 @@* Wireless daemon for Linux * * Copyright (C) 2017-2019 Intel Corporation. All rights reserved. +* Copyright (C) 2023, Locus Robotics * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public
@@ -38,6 +39,8 @@ struct proxy_interface;#define IWD_AP_DIAGNOSTIC_INTERFACE "net.connman.iwd.AccessPointDiagnostic"#define IWD_DAEMON_INTERFACE "net.connman.iwd.Daemon"#define IWD_DPP_INTERFACE "net.connman.iwd.DeviceProvisioning" +#define IWD_DPP_PKEX_INTERFACE \ + "net.connman.iwd.SharedCodeDeviceProvisioning"typedef bool (*proxy_property_match_func_t ) (const void *a,const void *b);
Signature · 1 line
2.25.1
PATCH 2/2 client: add client commands for shared code configuration
The StartConfigurator() call was left out since there would be no functional difference to the user in iwctl. Its expected that human users of the shared code API provide the code/id ahead of time, i.e. use ConfigureEnrollee/StartEnrollee.
--- Makefile.am | 3 +- client/dpp-pkex.c | 314 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 316 insertions(+), 1 deletion(-) create mode 100644 client/dpp-pkex.c
v2:
* Fixed copyright
* Use l_dbus_message_set_arguments rather than entirely new buidler API. (and removed that builder patch).
Makefile.am +2 -1
@@ -314,7 +314,8 @@ client_iwctl_SOURCES = client/main.c \ client/wsc.c client/station.c \ client/diagnostic.c client/diagnostic.h \ client/daemon.c client/daemon.h \ - client/dpp.c client/station-debug.c \ + client/dpp.c client/dpp-pkex.c \ + client/station-debug.c \ src/util.c src/util.h \ src/band.c src/band.h
client/dpp-pkex.c new file +314 -0
314 lines not on this page · raw message
Signature · 1 line
2.25.1
Hi James,
Quoted 7 lines · James Prestwood
--- client/dbus-proxy.h | 3 +++ 1 file changed, 3 insertions(+)v2:
* Fixed copyright
Both applied, thanks.
Regards,
-Denis