Use int
This commit is contained in:
@@ -21,8 +21,9 @@ const (
|
|||||||
type Packet struct {
|
type Packet struct {
|
||||||
Time time.Time `json:"time,omitempty"` // Receive time stamp
|
Time time.Time `json:"time,omitempty"` // Receive time stamp
|
||||||
Protocol string `json:"protocol"` // Protocol name
|
Protocol string `json:"protocol"` // Protocol name
|
||||||
|
Radio string `json:"radio"` // Radio name/ID
|
||||||
SNR float64 `json:"snr"` // Signal-to-noise Ratio
|
SNR float64 `json:"snr"` // Signal-to-noise Ratio
|
||||||
RSSI int8 `json:"rssi"` // Received Signal Strength Indicator
|
RSSI int `json:"rssi"` // Received Signal Strength Indicator
|
||||||
Raw []byte `json:"raw"` // Raw packet
|
Raw []byte `json:"raw"` // Raw packet
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user