eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

p2p-peer-api.txt (3222B)


      1 P2PPeer hierarchy
      2 =================
      3 
      4 Service		net.connman.iwd
      5 Interface	net.connman.iwd.p2p.Peer [Experimental]
      6 Object path	/net/connman/iwd/{phy0,phy1,...}/p2p_peers/{aa_bb_cc_dd_ee_ff}
      7 
      8 Methods		Disconnect()
      9 
     10 			If connected, disconnect from this peer.
     11 			Connections are established by calling methods on
     12 			the net.connman.iwd.SimpleConfiguration interface
     13 			on the same object -- see wsc-api.txt.
     14 
     15 			Possible errors: [service].Error.Failed
     16 					 [service].Error.NotConnected
     17 
     18 Properties	string Name [readonly]
     19 
     20 			P2P Peer's display name
     21 
     22 		string Address [readonly]
     23 
     24 			The peer's unique Device Address in the xx:xx:xx:xx:xx:xx
     25 			format.
     26 
     27 		string DeviceCategory [readonly]
     28 
     29 			The category part of the peer's declared
     30 			Primary Device Type.  Takes one of the following
     31 			values, "unknown-device" being reported when the
     32 			device type is not one of those defined in the
     33 			Wi-Fi Simple Configuration specification:
     34 
     35 			'computer',
     36 			'input-device',
     37 			'printer-scanner',
     38 			'camera',
     39 			'storage',
     40 			'network-infrastructure',
     41 			'display',
     42 			'multimedia-device',
     43 			'gaming-device',
     44 			'telephone',
     45 			'audio-device',
     46 			'docking-device',
     47 			'unknown-device'.
     48 
     49 		string DeviceSubcategory [readonly, optional]
     50 
     51 			The Sub Category part of the peer's declared
     52 			Primary Device Type, if recognised by WSC.
     53 			Supported values are:
     54 
     55 			'pc',
     56 			'server',
     57 			'media-center',
     58 			'ultra-mobile-pc',
     59 			'notebook',
     60 			'desktop',
     61 			'mobile-internet-device',
     62 			'netbook',
     63 			'tablet',
     64 			'ultrabook',
     65 			'keyboard',
     66 			'mouse',
     67 			'joystick',
     68 			'trackball',
     69 			'gaming-controller',
     70 			'remote',
     71 			'touchscreen',
     72 			'biometric-reader',
     73 			'barcode-reader',
     74 			'printer-print-server',
     75 			'scanner',
     76 			'fax',
     77 			'copier',
     78 			'printer-scanner-fax-copier',
     79 			'digital-still-camera',
     80 			'video-camera',
     81 			'web-camera',
     82 			'security-camera',
     83 			'nas',
     84 			'ap',
     85 			'router',
     86 			'switch',
     87 			'gateway',
     88 			'bridge',
     89 			'television',
     90 			'electronic-picture-frame',
     91 			'projector',
     92 			'monitor',
     93 			'dar',
     94 			'pvr',
     95 			'mcx',
     96 			'set-top-box',
     97 			'media-server-adapter-extender',
     98 			'portable-video-player',
     99 			'xbox',
    100 			'xbox360',
    101 			'playstation',
    102 			'game-console-adapter',
    103 			'portable-gaming-device',
    104 			'windows-mobile',
    105 			'single-mode-phone',
    106 			'dual-mode-phone',
    107 			'single-mode-smartphone',
    108 			'dual-mode-smartphone',
    109 			'audio-tuner-receiver',
    110 			'speakers',
    111 			'portable-music-player',
    112 			'headset',
    113 			'headphones',
    114 			'microphone',
    115 			'home-theater-system',
    116 			'computer-docking-station',
    117 			'media-kiosk'.
    118 
    119 		object Device [readonly]
    120 
    121 			The object with a net.connman.iwd.p2p.Device
    122 			interface that discovered this peer -- see
    123 			p2p-api.txt.
    124 
    125 		boolean Connected [readonly]
    126 
    127 			Whether there's currently an active connection
    128 			to this peer.  This property is read-only and
    129 			changes as a result of method calls on the
    130 			net.connman.iwd.SimpleConfiguration interface
    131 			on the same object -- see wsc-api.txt -- and
    132 			calls to Disconnect on this interface.
    133 
    134 		string ConnectedInterface [readonly, optional]
    135 
    136 			If connected, this property contains the name
    137 			of the network interface used for the
    138 			connection.
    139 
    140 		string ConnectedIP [readonly, optional]
    141 
    142 			The peer's IPv4 address if connected.