This repository has been archived on 2024-08-02. You can view files and clone it, but cannot push or open issues or pull requests.
2018-09-19 14:39:00 +02:00
|
|
|
package openwrt
|
|
|
|
|
|
|
|
// WifiCell reprensents wifi network Cell
|
|
|
|
type WifiCell struct {
|
2018-09-20 10:59:11 +02:00
|
|
|
Ssid string
|
2018-09-24 17:38:17 +02:00
|
|
|
MacAddress string
|
2018-09-20 10:59:11 +02:00
|
|
|
Encryption string
|
2018-09-19 14:39:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// NewWifiCell returns a new WifiCell object
|
2018-09-20 10:59:11 +02:00
|
|
|
func NewWifiCell(ssid string, mac string, encrypt string) *WifiCell {
|
2018-09-19 14:39:00 +02:00
|
|
|
return &WifiCell{
|
2018-09-20 10:59:11 +02:00
|
|
|
Ssid: ssid,
|
2018-09-24 17:38:17 +02:00
|
|
|
MacAddress: mac,
|
2018-09-20 10:59:11 +02:00
|
|
|
Encryption: encrypt,
|
2018-09-19 14:39:00 +02:00
|
|
|
}
|
|
|
|
}
|