MCPcopy Index your code
hub / github.com/TheThingsNetwork/lorawan-stack / PayloadEncoderDecoder

Interface PayloadEncoderDecoder

pkg/messageprocessors/payload.go:25–29  ·  view source on GitHub ↗

PayloadEncoderDecoder provides an interface to encoding and decoding messages.

Source from the content-addressed store, hash-verified

23
24// PayloadEncoderDecoder provides an interface to encoding and decoding messages.
25type PayloadEncoderDecoder interface {
26 EncodeDownlink(ctx context.Context, ids *ttnpb.EndDeviceIdentifiers, version *ttnpb.EndDeviceVersionIdentifiers, message *ttnpb.ApplicationDownlink, parameter string) error
27 DecodeUplink(ctx context.Context, ids *ttnpb.EndDeviceIdentifiers, version *ttnpb.EndDeviceVersionIdentifiers, message *ttnpb.ApplicationUplink, parameter string) error
28 DecodeDownlink(ctx context.Context, ids *ttnpb.EndDeviceIdentifiers, version *ttnpb.EndDeviceVersionIdentifiers, message *ttnpb.ApplicationDownlink, parameter string) error
29}
30
31// CompilablePayloadEncoderDecoder extends PayloadEncoderDecoder with the ability
32// to compile the parameters ahead of time.

Callers

nothing calls this directly

Implementers 8

hostpkg/messageprocessors/javascript/javas
mockEncoderDecoderpkg/messageprocessors/devicerepository
hostpkg/messageprocessors/devicerepository
hostpkg/messageprocessors/cayennelpp/cayen
appAsClientpkg/ttnpb/applicationserver_grpc.pb.go
UnimplementedAppAsServerpkg/ttnpb/applicationserver_grpc.pb.go
defaultMessageProcessorpkg/applicationserver/io/grpc/grpc.go
implpkg/applicationserver/io/grpc/grpc.go

Calls

no outgoing calls

Tested by

no test coverage detected