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

Method Get

pkg/gatewayserver/registry.go:53–53  ·  view source on GitHub ↗

Get the gateway with the given identifiers, selecting the fields specified.

(ctx context.Context, in *ttnpb.GetGatewayRequest)

Source from the content-addressed store, hash-verified

51 GetIdentifiersForEUI(ctx context.Context, in *ttnpb.GetGatewayIdentifiersForEUIRequest) (*ttnpb.GatewayIdentifiers, error)
52 // Get the gateway with the given identifiers, selecting the fields specified.
53 Get(ctx context.Context, in *ttnpb.GetGatewayRequest) (*ttnpb.Gateway, error)
54 // UpdateAntennas updates the gateway antennas.
55 UpdateAntennas(ctx context.Context, ids *ttnpb.GatewayIdentifiers, antennas []*ttnpb.GatewayAntenna) error
56 // UpdateAttributes updates the gateway attributes. It takes the union of current and new values.

Callers 15

TestUpdateVersionInfoFunction · 0.65
ConnectMethod · 0.65
GetFrequencyPlansMethod · 0.65
GetMethod · 0.65
TestWebFunction · 0.65
GetMethod · 0.65
UpdateMethod · 0.65
managedGatewayIDMethod · 0.65
GetMethod · 0.65
GetMethod · 0.65

Calls

no outgoing calls

Tested by 2

TestUpdateVersionInfoFunction · 0.52
TestWebFunction · 0.52