MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / GetPayload

Method GetPayload

pkg/ttnpb/lorawan.pb.go:2108–2113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2106}
2107
2108func (m *Message) GetPayload() isMessage_Payload {
2109 if m != nil {
2110 return m.Payload
2111 }
2112 return nil
2113}
2114
2115func (x *Message) GetMacPayload() *MACPayload {
2116 if x, ok := x.GetPayload().(*Message_MacPayload); ok {

Callers 9

GetMacPayloadMethod · 0.95
GetJoinRequestPayloadMethod · 0.95
GetJoinAcceptPayloadMethod · 0.95
FromDownlinkMethod · 0.45
VerifyFunction · 0.45
adrLossRateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected