Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CompactTime ¶
func (CompactTime) MarshalJSON ¶
func (t CompactTime) MarshalJSON() ([]byte, error)
func (CompactTime) String ¶
func (t CompactTime) String() string
func (*CompactTime) UnmarshalJSON ¶
func (t *CompactTime) UnmarshalJSON(data []byte) error
type Coverage ¶
type MacAddress ¶
type MacAddress [8]byte
func (MacAddress) MarshalJSON ¶
func (m MacAddress) MarshalJSON() ([]byte, error)
func (MacAddress) String ¶
func (m MacAddress) String() string
func (*MacAddress) UnmarshalJSON ¶
func (m *MacAddress) UnmarshalJSON(data []byte) error
type RxPacket ¶
type RxPacket struct { GatewayMac MacAddress `json:"gateway mac"` Time CompactTime `json:"time"` Frequency float64 `json:"frequency"` IFChannel uint8 `json:"IF channel"` RFChain uint8 `json:"RF chain"` Crc int8 `json:"crc"` Modulation string `json:"modulation"` DataR DataRate `json:"data rate"` CodingRate string `json:"coding rate"` RSSI int16 `json:"rssi"` SNR float64 `json:"snr"` Size uint16 `json:"size"` Data string `json:"data"` }
Click to show internal directories.
Click to hide internal directories.