Versions in this module Expand all Collapse all v1 v1.0.1 Jun 17, 2018 v1.0.0 May 28, 2018 Changes in this version + const ErrCollisionBeackon + const ErrCollisionPacket + const ErrGPSUnlocked + const ErrTXFrequency + const ErrTXPower + const ErrTooEarly + const ErrTooLate + type Channel struct + Bandwidth int + Bitrate int + Frequency int + Modulation band.Modulation + SpreadingFactors []int + type Duration time.Duration + func (d *Duration) UnmarshalJSON(data []byte) error + func (d Duration) MarshalJSON() ([]byte, error) + type GatewayConfigPacket struct + Channels []Channel + MAC lorawan.EUI64 + Version string + type GatewayStatsPacket struct + Altitude *float64 + ConfigVersion string + CustomData map[string]interface{} + Latitude *float64 + Longitude *float64 + MAC lorawan.EUI64 + RXPacketsReceived int + RXPacketsReceivedOK int + TXPacketsEmitted int + TXPacketsReceived int + Time time.Time + type RXInfo struct + Antenna int + Board int + CRCStatus int + Channel int + CodeRate string + DataRate band.DataRate + Frequency int + LoRaSNR float64 + MAC lorawan.EUI64 + RFChain int + RSSI int + Size int + Time *time.Time + TimeSinceGPSEpoch *Duration + Timestamp uint32 + type RXPacket struct + PHYPayload lorawan.PHYPayload + RXInfo RXInfo + type RXPacketBytes struct + PHYPayload []byte + RXInfo RXInfo + type TXAck struct + Error string + MAC lorawan.EUI64 + Token uint16 + type TXInfo struct + Antenna int + Board int + CodeRate string + DataRate band.DataRate + Frequency int + IPol *bool + Immediately bool + MAC lorawan.EUI64 + Power int + TimeSinceGPSEpoch *Duration + Timestamp *uint32 + type TXPacket struct + PHYPayload lorawan.PHYPayload + TXInfo TXInfo + Token uint16 + type TXPacketBytes struct + PHYPayload []byte + TXInfo TXInfo + Token uint16