Documentation
¶
Overview ¶
Copyright (c) 2020 ARM Limited and affiliates. Copyright (c) 2016 Mark Berner SPDX-License-Identifier: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2020 ARM Limited and affiliates. Copyright (c) 2016 Mark Berner SPDX-License-Identifier: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2020 ARM Limited and affiliates. Copyright (c) 2016 Mark Berner SPDX-License-Identifier: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2020 ARM Limited and affiliates. Copyright (c) 2016 Mark Berner SPDX-License-Identifier: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Index ¶
- type BSSWPA
- func (self *BSSWPA) AddSignalsObserver() *BSSWPA
- func (self *BSSWPA) ReadAge() *BSSWPA
- func (self *BSSWPA) ReadBSSID() *BSSWPA
- func (self *BSSWPA) ReadFrequency() *BSSWPA
- func (self *BSSWPA) ReadMode() *BSSWPA
- func (self *BSSWPA) ReadPrivacy() *BSSWPA
- func (self *BSSWPA) ReadRSN() *BSSWPA
- func (self *BSSWPA) ReadSSID() *BSSWPA
- func (self *BSSWPA) ReadSignal() *BSSWPA
- func (self *BSSWPA) ReadWPA() *BSSWPA
- func (self *BSSWPA) ReadWPS() *BSSWPA
- func (self *BSSWPA) RemoveSignalsObserver() *BSSWPA
- type InterfaceWPA
- func (self *InterfaceWPA) AddNetwork(args map[string]dbus.Variant) *InterfaceWPA
- func (self *InterfaceWPA) AddSignalsObserver() *InterfaceWPA
- func (self *InterfaceWPA) Disconnect() *InterfaceWPA
- func (self *InterfaceWPA) MakeTempBSS() *InterfaceWPA
- func (self *InterfaceWPA) ReadBSSList() *InterfaceWPA
- func (self *InterfaceWPA) ReadDisconnectReason() *InterfaceWPA
- func (self *InterfaceWPA) ReadIfname() *InterfaceWPA
- func (self *InterfaceWPA) ReadNetworksList() *InterfaceWPA
- func (self *InterfaceWPA) ReadScanInterval() *InterfaceWPA
- func (self *InterfaceWPA) ReadScanning() *InterfaceWPA
- func (self *InterfaceWPA) ReadState() *InterfaceWPA
- func (self *InterfaceWPA) Reassociate() *InterfaceWPA
- func (self *InterfaceWPA) Reattach() *InterfaceWPA
- func (self *InterfaceWPA) Reconnect() *InterfaceWPA
- func (self *InterfaceWPA) RemoveAllNetworks() *InterfaceWPA
- func (self *InterfaceWPA) RemoveSignalsObserver() *InterfaceWPA
- func (self *InterfaceWPA) Scan() *InterfaceWPA
- type NetworkWPA
- type WPA
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BSSWPA ¶
type BSSWPA struct { Interface *InterfaceWPA Object dbus.BusObject BSSID string SSID string WPAKeyMgmt []string RSNKeyMgmt []string WPS string Frequency uint16 Signal int16 Age uint32 Mode string Privacy bool SignalChannel chan *dbus.Signal Error error }
func (*BSSWPA) AddSignalsObserver ¶
func (*BSSWPA) ReadFrequency ¶
func (*BSSWPA) ReadPrivacy ¶
func (*BSSWPA) ReadSignal ¶
func (*BSSWPA) RemoveSignalsObserver ¶
type InterfaceWPA ¶
type InterfaceWPA struct { WPA *WPA Object dbus.BusObject Networks []NetworkWPA BSSs []BSSWPA State string Scanning bool Ifname string CurrentBSS *BSSWPA TempBSS *BSSWPA CurrentNetwork *NetworkWPA NewNetwork *NetworkWPA ScanInterval int32 DisconnectReason int32 SignalChannel chan *dbus.Signal Error error }
func (*InterfaceWPA) AddNetwork ¶
func (self *InterfaceWPA) AddNetwork(args map[string]dbus.Variant) *InterfaceWPA
func (*InterfaceWPA) AddSignalsObserver ¶
func (self *InterfaceWPA) AddSignalsObserver() *InterfaceWPA
func (*InterfaceWPA) Disconnect ¶
func (self *InterfaceWPA) Disconnect() *InterfaceWPA
func (*InterfaceWPA) MakeTempBSS ¶
func (self *InterfaceWPA) MakeTempBSS() *InterfaceWPA
func (*InterfaceWPA) ReadBSSList ¶
func (self *InterfaceWPA) ReadBSSList() *InterfaceWPA
func (*InterfaceWPA) ReadDisconnectReason ¶
func (self *InterfaceWPA) ReadDisconnectReason() *InterfaceWPA
func (*InterfaceWPA) ReadIfname ¶
func (self *InterfaceWPA) ReadIfname() *InterfaceWPA
func (*InterfaceWPA) ReadNetworksList ¶
func (self *InterfaceWPA) ReadNetworksList() *InterfaceWPA
func (*InterfaceWPA) ReadScanInterval ¶
func (self *InterfaceWPA) ReadScanInterval() *InterfaceWPA
func (*InterfaceWPA) ReadScanning ¶
func (self *InterfaceWPA) ReadScanning() *InterfaceWPA
func (*InterfaceWPA) ReadState ¶
func (self *InterfaceWPA) ReadState() *InterfaceWPA
func (*InterfaceWPA) Reassociate ¶
func (self *InterfaceWPA) Reassociate() *InterfaceWPA
func (*InterfaceWPA) Reattach ¶
func (self *InterfaceWPA) Reattach() *InterfaceWPA
func (*InterfaceWPA) Reconnect ¶
func (self *InterfaceWPA) Reconnect() *InterfaceWPA
func (*InterfaceWPA) RemoveAllNetworks ¶
func (self *InterfaceWPA) RemoveAllNetworks() *InterfaceWPA
func (*InterfaceWPA) RemoveSignalsObserver ¶
func (self *InterfaceWPA) RemoveSignalsObserver() *InterfaceWPA
func (*InterfaceWPA) Scan ¶
func (self *InterfaceWPA) Scan() *InterfaceWPA
type NetworkWPA ¶
type NetworkWPA struct { Interface *InterfaceWPA Object dbus.BusObject SSID string KeyMgmt string SignalChannel chan *dbus.Signal Error error }
func (*NetworkWPA) AddSignalsObserver ¶
func (self *NetworkWPA) AddSignalsObserver() *NetworkWPA
func (*NetworkWPA) ReadProperties ¶
func (self *NetworkWPA) ReadProperties() *NetworkWPA
func (*NetworkWPA) RemoveSignalsObserver ¶
func (self *NetworkWPA) RemoveSignalsObserver() *NetworkWPA
func (*NetworkWPA) Select ¶
func (self *NetworkWPA) Select() *NetworkWPA
type WPA ¶
type WPA struct { Connection *dbus.Conn Object dbus.BusObject Interfaces []InterfaceWPA Interface *InterfaceWPA SignalChannel chan *dbus.Signal Error error }