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

Method replace

sdk/js/src/service/downlink-queue.js:53–67  ·  view source on GitHub ↗
(applicationId, deviceId, downlinks)

Source from the content-addressed store, hash-verified

51 }
52
53 async replace(applicationId, deviceId, downlinks) {
54 const result = await this._api.DownlinkQueueReplace(
55 {
56 routeParams: {
57 'end_device_ids.application_ids.application_id': applicationId,
58 'end_device_ids.device_id': deviceId,
59 },
60 },
61 {
62 downlinks,
63 },
64 )
65
66 return Marshaler.payloadSingleResponse(result)
67 }
68}
69
70export default DownlinkQueue

Callers 15

snakeCaseToCamelCaseFunction · 0.80
snakeCaseToPascalCaseFunction · 0.80
insertAtLineAtIndexFunction · 0.80
writeInterpreterFileFunction · 0.80
cleanFunction · 0.80
byte.jsFile · 0.80
defaultDataTransformFunction · 0.80
hexToBase64Function · 0.80
base64ToHexFunction · 0.80
parseLorawanMacVersionFunction · 0.80
bytes_test.jsFile · 0.80

Calls 2

payloadSingleResponseMethod · 0.80
DownlinkQueueReplaceMethod · 0.65

Tested by 1

generateUUIDFunction · 0.64