Versions in this module Expand all Collapse all v0 v0.4.1 Dec 13, 2025 Changes in this version type StatusRsp + Latency *int64 + func (m *StatusRsp) SetLatency(latency *int64) v0.4.0 Dec 4, 2025 Changes in this version + func DurationNsToProto(ts int64) *durationpb.Duration + func ParseDlDataResult(s string) dlDataResult + func TimestampNsToProto(ts int64) *timestamppb.Timestamp + type Att struct + AttachCnt uint32 + Command structs.Command + DualChan bool + EpEui common.EUI64 + EqSnr *float64 + LongBlkDist bool + Nonce [4]uint8 + OpId int64 + Profile *string + RSSI float64 + Repetition bool + RxDuration *uint64 + RxTime uint64 + SNR float64 + ShAddr *uint16 + Sign [4]uint8 + Subpackets *Subpackets + WideCarrOff bool + func NewAtt(opId int64, epEui common.EUI64, rxTime uint64, rxDuration *uint64, ...) Att + func (m *Att) GetCommand() structs.Command + func (m *Att) GetEventType() events.EventType + func (m *Att) GetOpId() int64 + func (m *Att) IntoProto(bsEui *common.EUI64) *bs.EndnodeUplink + type AttCmp struct + Command structs.Command + OpId int64 + func NewAttCmp(opId int64) AttCmp + func (m *AttCmp) GetCommand() structs.Command + func (m *AttCmp) GetOpId() int64 + type AttPrp struct + Bidi bool + Command structs.Command + DualChan bool + EpEui common.EUI64 + LastPacketCount uint32 + LongBlkDist bool + NwkSnKey [16]uint8 + OpId int64 + Repetition bool + ShAddr uint16 + WideCarrOff bool + func NewAttPrp(opId int64, epEui common.EUI64, bidi bool, nwkSnKey [16]byte, shAddr uint16, ...) AttPrp + func NewAttPrpFromProto(opId int64, pb *bs.AttachPropagate) (*AttPrp, error) + func (m *AttPrp) GetCommand() structs.Command + func (m *AttPrp) GetOpId() int64 + func (m *AttPrp) SetOpId(opId int64) + type AttPrpCmp struct + Command structs.Command + OpId int64 + func NewAttPrpCmp(opId int64) AttPrpCmp + func (m *AttPrpCmp) GetCommand() structs.Command + func (m *AttPrpCmp) GetOpId() int64 + type AttPrpRsp struct + Command structs.Command + OpId int64 + func NewAttPrpRsp(opId int64) AttPrpRsp + func (m *AttPrpRsp) GetCommand() structs.Command + func (m *AttPrpRsp) GetOpId() int64 + type AttRsp struct + Command structs.Command + NwkSnKey [16]uint8 + OpId int64 + ShAddr *uint16 + func NewAttRsp(opId int64, nwkSnKey [16]byte, shAddr *uint16) AttRsp + func NewAttRspFromProto(opId int64, pb *bs.EndnodeAttachSuccessResponse) (*AttRsp, error) + func (m *AttRsp) GetCommand() structs.Command + func (m *AttRsp) GetOpId() int64 + type BasestationMessage interface + GetEventType func() events.EventType + IntoProto func(bsEui *common.EUI64) *bs.BasestationUplink + type BssciError struct + Code uint32 + Command structs.Command + Message string + OpId int64 + func NewBssciError(opId int64, code uint32, message string) BssciError + func (m *BssciError) GetCommand() structs.Command + func (m *BssciError) GetOpId() int64 + type BssciErrorAck struct + Command structs.Command + OpId int64 + func NewBssciErrorAck(opId int64) BssciErrorAck + func (m *BssciErrorAck) GetCommand() structs.Command + func (m *BssciErrorAck) GetOpId() int64 + type Con struct + Bidi bool + BsEui common.EUI64 + Command structs.Command + GeoLocation *GeoLocation + Info map[string]any + Model *string + Name *string + OpId int64 + SnBsOpId *int64 + SnBsUuid structs.SessionUuid + SnScOpId *int64 + SwVersion *string + Vendor *string + Version string + func (m *Con) GetCommand() structs.Command + func (m *Con) GetEui() common.EUI64 + func (m *Con) GetEventType() events.EventType + func (m *Con) GetOpId() int64 + func (m *Con) IntoProto(bsEui *common.EUI64) *bs.BasestationUplink + type ConCmp struct + Command structs.Command + OpId int64 + func NewConCmp(opId int64) ConCmp + func (m *ConCmp) GetCommand() structs.Command + func (m *ConCmp) GetOpId() int64 + type ConRsp struct + Command structs.Command + Info map[string]interface{} + Model *string + Name *string + OpId int64 + ScEui common.EUI64 + SnResume bool + SnScUuid structs.SessionUuid + SwVersion *string + Vendor *string + Version string + func NewConRsp(opId int64, version string, snScUuid uuid.UUID) ConRsp + func (m *ConRsp) GetCommand() structs.Command + func (m *ConRsp) GetOpId() int64 + func (m *ConRsp) ResumeConnection(snScUuid uuid.UUID) + type Det struct + Command structs.Command + EpEui common.EUI64 + EqSnr *float64 + OpId int64 + PacketCnt uint32 + Profile *string + RSSI float64 + RxDuration *uint64 + RxTime uint64 + SNR float64 + Sign [4]uint8 + Subpackets *Subpackets + func NewDet(opId int64, epEui common.EUI64, rxTime uint64, rxDuration *uint64, ...) Det + func (m *Det) GetCommand() structs.Command + func (m *Det) GetEventType() events.EventType + func (m *Det) GetOpId() int64 + func (m *Det) IntoProto(bsEui *common.EUI64) *bs.EndnodeUplink + type DetCmp struct + Command structs.Command + OpId int64 + func NewDetCmp(opId int64) DetCmp + func (m *DetCmp) GetCommand() structs.Command + func (m *DetCmp) GetOpId() int64 + type DetPrp struct + Command structs.Command + EpEui common.EUI64 + OpId int64 + func NewDetPrp(opId int64, epEui common.EUI64) DetPrp + func NewDetPrpFromProto(opId int64, pb *bs.DetachPropagate) (*DetPrp, error) + func (m *DetPrp) GetCommand() structs.Command + func (m *DetPrp) GetOpId() int64 + func (m *DetPrp) SetOpId(opId int64) + type DetPrpCmp struct + Command structs.Command + OpId int64 + func NewDetPrpCmp(opId int64) DetPrpCmp + func (m *DetPrpCmp) GetCommand() structs.Command + func (m *DetPrpCmp) GetOpId() int64 + type DetPrpRsp struct + Command structs.Command + OpId int64 + func NewDetPrpRsp(opId int64) DetPrpRsp + func (m *DetPrpRsp) GetCommand() structs.Command + func (m *DetPrpRsp) GetOpId() int64 + type DetRsp struct + Command structs.Command + OpId int64 + Sign [4]byte + func NewDetRsp(opId int64, sign [4]byte) DetRsp + func NewDetRspFromProto(opId int64, pb *bs.EndnodeDetachSuccessResponse) (*DetRsp, error) + func (m *DetRsp) GetCommand() structs.Command + func (m *DetRsp) GetOpId() int64 + type DlDataQue struct + CntDepend bool + Command structs.Command + DlWindReq *bool + EpEui common.EUI64 + ExpOnly *bool + Format *byte + OpId int64 + PacketCnt *[]uint32 + Prio *float32 + QueId uint64 + ResponseExp *bool + ResponsePrio *bool + UserData [][]uint8 + func NewDlDataQue(opId int64, epEui common.EUI64, queId uint64, prio *float32, format *byte, ...) DlDataQue + func NewDlDataQueEnc(opId int64, epEui common.EUI64, queId uint64, prio *float32, format *byte, ...) DlDataQue + func NewDlDataQueFromProto(opId int64, pb *bs.EnqueDownlink) (*DlDataQue, error) + func (m *DlDataQue) GetCommand() structs.Command + func (m *DlDataQue) GetOpId() int64 + func (m *DlDataQue) SetOpId(opId int64) + type DlDataQueCmp struct + Command structs.Command + OpId int64 + func NewDlDataQueCmp(opId int64) DlDataQueCmp + func (m *DlDataQueCmp) GetCommand() structs.Command + func (m *DlDataQueCmp) GetOpId() int64 + type DlDataQueRsp struct + Command structs.Command + OpId int64 + func NewDlDataQueRsp(opId int64) DlDataQueRsp + func (m *DlDataQueRsp) GetCommand() structs.Command + func (m *DlDataQueRsp) GetOpId() int64 + type DlDataRes struct + Command structs.Command + EpEui common.EUI64 + OpId int64 + PacketCnt *uint32 + QueId uint64 + Result dlDataResult + TxTime *uint64 + func NewDlDataRes(opId int64, epEui common.EUI64, queId uint64, result dlDataResult, ...) DlDataRes + func (m *DlDataRes) GetCommand() structs.Command + func (m *DlDataRes) GetEventType() events.EventType + func (m *DlDataRes) GetOpId() int64 + func (m *DlDataRes) IntoProto(bsEui *common.EUI64) *bs.BasestationUplink + type DlDataResCmp struct + Command structs.Command + OpId int64 + func NewDlDataResCmp(opId int64) DlDataResCmp + func (m *DlDataResCmp) GetCommand() structs.Command + func (m *DlDataResCmp) GetOpId() int64 + type DlDataResRsp struct + Command structs.Command + OpId int64 + func NewDlDataResRsp(opId int64) DlDataResRsp + func (m *DlDataResRsp) GetCommand() structs.Command + func (m *DlDataResRsp) GetOpId() int64 + type DlDataRev struct + Command structs.Command + EpEui common.EUI64 + OpId int64 + QueId uint64 + func NewDlDataRev(opId int64, epEui common.EUI64, queId uint64) DlDataRev + func NewDlDataRevFromProto(opId int64, pb *bs.RevokeDownlink) (*DlDataRev, error) + func (m *DlDataRev) GetCommand() structs.Command + func (m *DlDataRev) GetOpId() int64 + func (m *DlDataRev) SetOpId(opId int64) + type DlDataRevCmp struct + Command structs.Command + OpId int64 + func NewDlDataRevCmp(opId int64) DlDataRevCmp + func (m *DlDataRevCmp) GetCommand() structs.Command + func (m *DlDataRevCmp) GetOpId() int64 + type DlDataRevRsp struct + Command structs.Command + OpId int64 + func NewDlDataRevRsp(opId int64) DlDataRevRsp + func (m *DlDataRevRsp) GetCommand() structs.Command + func (m *DlDataRevRsp) GetOpId() int64 + type DlRxStat struct + Command structs.Command + DlRxRssi float64 + DlRxSnr float64 + EpEui common.EUI64 + OpId int64 + PacketCnt uint32 + RxTime uint64 + func NewDlRxStat(opId int64, epEui common.EUI64, result string, rxTime uint64, packetCnt uint32, ...) DlRxStat + func (m *DlRxStat) GetCommand() structs.Command + func (m *DlRxStat) GetEventType() events.EventType + func (m *DlRxStat) GetOpId() int64 + func (m *DlRxStat) IntoProto(bsEui *common.EUI64) *bs.BasestationUplink + type DlRxStatCmp struct + Command structs.Command + OpId int64 + func NewDlRxStatCmp(opId int64) DlRxStatCmp + func (m *DlRxStatCmp) GetCommand() structs.Command + func (m *DlRxStatCmp) GetOpId() int64 + type DlRxStatQry struct + Command structs.Command + EpEui common.EUI64 + OpId int64 + func NewDlRxStatQry(opId int64, epEui common.EUI64) DlRxStatQry + func NewDlRxStatQryFromProto(opId int64, pb *bs.DownlinkRxStatusQuery) (*DlRxStatQry, error) + func (m *DlRxStatQry) GetCommand() structs.Command + func (m *DlRxStatQry) GetOpId() int64 + func (m *DlRxStatQry) SetOpId(opId int64) + type DlRxStatQryCmp struct + Command structs.Command + OpId int64 + func NewDlRxStatQryCmp(opId int64) DlRxStatQryCmp + func (m *DlRxStatQryCmp) GetCommand() structs.Command + func (m *DlRxStatQryCmp) GetOpId() int64 + type DlRxStatQryRsp struct + Command structs.Command + OpId int64 + func NewDlRxStatQryRsp(opId int64) DlRxStatQryRsp + func (m *DlRxStatQryRsp) GetCommand() structs.Command + func (m *DlRxStatQryRsp) GetOpId() int64 + type DlRxStatRsp struct + Command structs.Command + OpId int64 + func NewDlRxStatRsp(opId int64) DlRxStatRsp + func (m *DlRxStatRsp) GetCommand() structs.Command + func (m *DlRxStatRsp) GetOpId() int64 + type EndnodeMessage interface + GetEventType func() events.EventType + IntoProto func(bsEui *common.EUI64) *bs.EndnodeUplink + type GeoLocation struct + Alt float32 + Lat float32 + Lon float32 + func (m *GeoLocation) IntoProto() *common.GeoLocation + type Message interface + GetCommand func() structs.Command + GetOpId func() int64 + type MessageMsgp interface + type Ping struct + Command structs.Command + OpId int64 + func NewPing(opId int64) Ping + func (m *Ping) GetCommand() structs.Command + func (m *Ping) GetOpId() int64 + func (m *Ping) SetOpId(opId int64) + type PingCmp struct + Command structs.Command + OpId int64 + func NewPingCmp(opId int64) PingCmp + func (m *PingCmp) GetCommand() structs.Command + func (m *PingCmp) GetOpId() int64 + type PingRsp struct + Command structs.Command + OpId int64 + func NewPingRsp(opId int64) PingRsp + func (m *PingRsp) GetCommand() structs.Command + func (m *PingRsp) GetOpId() int64 + type PrpAck struct + Attach bool + Command structs.Command + EpEui common.EUI64 + OpId int64 + Success bool + func NewPrpAck(opId int64, epEui common.EUI64, success bool, attach bool) PrpAck + func (m *PrpAck) GetCommand() structs.Command + func (m *PrpAck) GetEventType() events.EventType + func (m *PrpAck) GetOpId() int64 + func (m *PrpAck) IntoProto(bsEui *common.EUI64) *bs.BasestationUplink + type ServerMessage interface + SetOpId func(opId int64) + type Status struct + Command structs.Command + OpId int64 + func NewStatus(opId int64) Status + func NewStatusFromProto(opId int64, pb *bs.RequestStatus) (*Status, error) + func (m *Status) GetCommand() structs.Command + func (m *Status) GetOpId() int64 + func (m *Status) SetOpId(opId int64) + type StatusCmp struct + Command structs.Command + OpId int64 + func NewStatusCmp(opId int64) StatusCmp + func (m *StatusCmp) GetCommand() structs.Command + func (m *StatusCmp) GetOpId() int64 + type StatusRsp struct + Code uint32 + Command structs.Command + CpuLoad *float64 + DutyCycle float32 + GeoLocation *GeoLocation + MemLoad *float64 + Message string + OpId int64 + Temp *float64 + Time uint64 + Uptime *uint64 + func NewStatusRsp(opId int64, code uint32, message string, time uint64, dutyCycle float32, ...) StatusRsp + func (m *StatusRsp) GetCommand() structs.Command + func (m *StatusRsp) GetEventType() events.EventType + func (m *StatusRsp) GetOpId() int64 + func (m *StatusRsp) IntoProto(bsEui *common.EUI64) *bs.BasestationUplink + type Subpackets struct + Frequency []int32 + Phase *[]int32 + RSSI []int32 + SNR []int32 + func (subpackets *Subpackets) IntoProto() []*bs.EndnodeUplinkSubpacket + type UlData struct + Command structs.Command + DlAck bool + DlOpen bool + EpEui common.EUI64 + EqSnr *float64 + Format *byte + Mode *string + OpId int64 + PacketCnt uint32 + Profile *string + RSSI float64 + ResponseExp bool + RxDuration *uint64 + RxTime uint64 + SNR float64 + Subpackets *Subpackets + UserData []uint8 + func NewUlData(opId int64, epEui common.EUI64, rxTime uint64, rxDuration *uint64, ...) UlData + func (m *UlData) GetCommand() structs.Command + func (m *UlData) GetEventType() events.EventType + func (m *UlData) GetOpId() int64 + func (m *UlData) IntoProto(bsEui *common.EUI64) *bs.EndnodeUplink + type UlDataCmp struct + Command structs.Command + OpId int64 + func NewUlDataCmp(opId int64) UlDataCmp + func (m *UlDataCmp) GetCommand() structs.Command + func (m *UlDataCmp) GetOpId() int64 + type UlDataRsp struct + Command structs.Command + OpId int64 + func NewUlDataRsp(opId int64) UlDataRsp + func (m *UlDataRsp) GetCommand() structs.Command + func (m *UlDataRsp) GetOpId() int64 + type UplinkMetadata struct + EqSnr *float64 + OpId int64 + PacketCnt uint32 + Profile *string + RSSI float64 + RxDuration *uint64 + RxTime uint64 + SNR float64 + Subpackets *Subpackets + func NewUplinkMetadata(opId int64, rxTime uint64, rxDuration *uint64, packetCnt uint32, snr float64, ...) UplinkMetadata + func (m *UplinkMetadata) IntoProto() *bs.EndnodeUplinkMetadata + type VmActivate struct + Command structs.Command + MacType uint32 + OpId int64 + func NewVmActivate(opId int64, macType uint32) VmActivate + func NewVmActivateFromProto(opId int64, pb *bs.EnableVariableMac) (*VmActivate, error) + func (m *VmActivate) GetCommand() structs.Command + func (m *VmActivate) GetOpId() int64 + func (m *VmActivate) SetOpId(opId int64) + type VmActivateCmp struct + Command structs.Command + OpId int64 + func NewVmActivateCmp(opId int64) VmActivateCmp + func (m *VmActivateCmp) GetCommand() structs.Command + func (m *VmActivateCmp) GetOpId() int64 + type VmActivateRsp struct + Command structs.Command + OpId int64 + func NewVmActivateRsp(opId int64) VmActivateRsp + func (m *VmActivateRsp) GetCommand() structs.Command + func (m *VmActivateRsp) GetOpId() int64 + type VmDeactivate struct + Command structs.Command + MacType uint32 + OpId int64 + func NewVmDeactivate(opId int64, macType uint32) VmDeactivate + func NewVmDeactivateFromProto(opId int64, pb *bs.DisableVariableMac) (*VmDeactivate, error) + func (m *VmDeactivate) GetCommand() structs.Command + func (m *VmDeactivate) GetOpId() int64 + func (m *VmDeactivate) SetOpId(opId int64) + type VmDeactivateCmp struct + Command structs.Command + OpId int64 + func NewVmDeactivateCmp(opId int64) VmDeactivateCmp + func (m *VmDeactivateCmp) GetCommand() structs.Command + func (m *VmDeactivateCmp) GetOpId() int64 + type VmDeactivateRsp struct + Command structs.Command + OpId int64 + func NewVmDeactivateRsp(opId int64) VmDeactivateRsp + func (m *VmDeactivateRsp) GetCommand() structs.Command + func (m *VmDeactivateRsp) GetOpId() int64 + type VmStatus struct + Command structs.Command + OpId int64 + func NewVmStatus(opId int64) VmStatus + func NewVmStatusFromProto(opId int64, pb *bs.RequestVariableMacStatus) (*VmStatus, error) + func (m *VmStatus) GetCommand() structs.Command + func (m *VmStatus) GetOpId() int64 + func (m *VmStatus) SetOpId(opId int64) + type VmStatusCmp struct + Command structs.Command + OpId int64 + func NewVmStatusCmp(opId int64) VmStatusCmp + func (m *VmStatusCmp) GetCommand() structs.Command + func (m *VmStatusCmp) GetOpId() int64 + type VmStatusRsp struct + Command structs.Command + MacTypes []int64 + OpId int64 + func NewVmStatusRsp(opId int64, macTypes []int64) VmStatusRsp + func (m *VmStatusRsp) GetCommand() structs.Command + func (m *VmStatusRsp) GetEventType() events.EventType + func (m *VmStatusRsp) GetOpId() int64 + func (m *VmStatusRsp) IntoProto(bsEui *common.EUI64) *bs.BasestationUplink + type VmUlData struct + CRC [2]uint8 + CarrSpace byte + Command structs.Command + EqSnr *float64 + FreqOff float64 + MacType uint8 + OpId int64 + PattGrp byte + PattNum byte + RSSI float64 + SNR float64 + Subpackets *Subpackets + SysTime uint64 + TrxTime uint64 + UserData []uint8 + func NewVmUlData(opId int64, macType uint8, userData []byte, trxTime uint64, freqOff float64, ...) VmUlData + func (m *VmUlData) GetCommand() structs.Command + func (m *VmUlData) GetEventType() events.EventType + func (m *VmUlData) GetOpId() int64 + func (m *VmUlData) IntoProto(bsEui *common.EUI64) *bs.EndnodeUplink + type VmUlDataCmp struct + Command structs.Command + OpId int64 + func NewVmUlDataCmp(opId int64) VmUlDataCmp + func (m *VmUlDataCmp) GetCommand() structs.Command + func (m *VmUlDataCmp) GetOpId() int64 + type VmUlDataRsp struct + Command structs.Command + OpId int64 + func NewVmUlDataRsp(opId int64) VmUlDataRsp + func (m *VmUlDataRsp) GetCommand() structs.Command + func (m *VmUlDataRsp) GetOpId() int64