2019-03-08 05:57:00 +01:00
|
|
|
package capture
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
|
2019-08-08 16:08:40 +02:00
|
|
|
"dev.sum7.eu/sum7/wifictld-analyzer/data"
|
2019-03-08 05:57:00 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
// WifiClient datatype of wifictld
|
|
|
|
type WifiClient struct {
|
|
|
|
Addr data.HardwareAddr `json:"addr"`
|
|
|
|
Time time.Time `json:"time"`
|
|
|
|
TryProbe uint16 `json:"try_probe"`
|
|
|
|
TryAuth uint16 `json:"try_auth"`
|
|
|
|
Connected bool `json:"connected"`
|
|
|
|
Authed bool `json:"authed"`
|
|
|
|
FreqHighest uint16 `json:"freq_highest"`
|
|
|
|
SignalLowFreq int16 `json:"signal_low_freq"`
|
|
|
|
SignalHighFreq int16 `json:"signal_high_freq"`
|
|
|
|
}
|