From e30a2093cef2bad99dd929b61ff7f654c41c995d Mon Sep 17 00:00:00 2001 From: Andrew Zaborowski Date: Thu, 9 Jun 2016 19:54:43 +0200 Subject: [PATCH] doc: Update agent-api with Cancel reason --- doc/agent-api.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/agent-api.txt b/doc/agent-api.txt index f1a043fc..6bd72b2a 100644 --- a/doc/agent-api.txt +++ b/doc/agent-api.txt @@ -20,10 +20,13 @@ Methods void Release() Possible Errors: net.connman.iwd.Agent.Error.Canceled - void Cancel() + void Cancel(string reason) This method gets called to indicate that the agent - request failed before a reply was returned. + request failed before a reply was returned. The + argument will indicate why the request is being + cancelled and may be "out-of-range", "user-canceled", + "timed-out" or "shutdown". Examples Requesting a passphrase for WPA2 network