Add WEP wifi network security
This commit is contained in:
parent
403e14c320
commit
582e362aae
|
@ -21,7 +21,9 @@ const (
|
|||
type WifiSecurity string
|
||||
|
||||
const (
|
||||
// SecurityWPAPSK WPA-PSK wifi network
|
||||
// SecurityWEP WEP wifi network
|
||||
SecurityWEP WifiSecurity = "wep"
|
||||
// SecurityWPAPSK WPA(2)-PSK wifi network
|
||||
SecurityWPAPSK WifiSecurity = "wpa-psk"
|
||||
// SecurityOpen Open wifi network
|
||||
SecurityOpen WifiSecurity = "open"
|
||||
|
@ -29,8 +31,6 @@ const (
|
|||
|
||||
// WifiNetwork is a ReachRS module's saved wifi network
|
||||
// Raw messages examples:
|
||||
// [{"ssid":"Cadoles","password":"...","security":"wpa-psk","identity":""}]
|
||||
// [{"is_visible":false,"connected":false,"ssid":"Cadoles","security":"wpa-psk","is_connected":false,"is_added":true}]]
|
||||
type WifiNetwork struct {
|
||||
SSID string `json:"ssid"`
|
||||
Password string `json:"password"`
|
||||
|
|
Reference in New Issue