From b94bc3982769edff155c3cf6ea2311f03fcb9576 Mon Sep 17 00:00:00 2001 From: Andrew Zaborowski Date: Sat, 11 Jul 2020 03:00:52 +0200 Subject: [PATCH] doc: Document Peer.ConnectedInterface and ConnectedIP --- doc/p2p-peer-api.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/p2p-peer-api.txt b/doc/p2p-peer-api.txt index f7315bc6..cc5b1918 100644 --- a/doc/p2p-peer-api.txt +++ b/doc/p2p-peer-api.txt @@ -125,3 +125,13 @@ Properties string Name [readonly] net.connman.iwd.SimpleConfiguration interface on the same object -- see wsc-api.txt -- and calls to Disconnect on this interface. + + string ConnectedInterface [readonly, optional] + + If connected, this property contains the name + of the network interface used for the + connection. + + string ConnectedIP [readonly, optional] + + The peer's IPv4 address if connected.