Hi,
We are encountering an unusual issue. In the 868 MHz band, we successfully send confirmed packets in the uplink and correctly receive downlink acknowledgment packets.
However, after switching to the 915 MHz band and selecting the 915_1 subband, we configured some devices, and everything worked properly.
The problem arises when we delete a device from the EU application and add the same device to the US application. While the uplink transmission works fine, the downlink acknowledgment encounters the following error:
error=“downlink frame from proto error: get data-rate index error: lorawan/band: data-rate not found”
It appears that the second window (2 seconds) retains the EU parameters, causing the gateway to respond with the reported error.
Log Events
The two events in the logs are:
-
OK Downlink
us915_1/gateway/XXX/command/down {“downlinkId”:4213496517,“downlinkIdLegacy”:“AAAAAAAAAAAAAAAA+yTaxQ==”,“items”:[{“phyPayload”:“YLwFMQUgGgCMjbRp”,“txInfoLegacy”:{“frequency”:926300000,“power”:20,“timing”:“DELAY”,“context”:“AAAAAAAAAAAA3AAARDxXRw==”,“loraModulationInfo”:{“bandwidth”:500,“spreadingFactor”:9,“codeRateLegacy”:“4/5”,“polarizationInversion”:true},“delayTimingInfo”:{“delay”:“1s”}},“txInfo”:{“frequency”:926300000,“power”:20,“modulation”:{“lora”:{“bandwidth”:500000,“spreadingFactor”:9,“codeRate”:“CR_4_5”,“polarizationInversion”:true}},“timing”:{“delay”:{“delay”:“1s”}},“context”:“AAAAAAAAAAAA3AAARDxXRw==”}},{“phyPayload”:“YLwFMQUgGgCMjbRp”,“txInfoLegacy”:{“frequency”:923300000,“power”:20,“timing”:“DELAY”,“context”:“AAAAAAAAAAAA3AAARDxXRw==”,“loraModulationInfo”:{“bandwidth”:500,“spreadingFactor”:12,“codeRateLegacy”:“4/5”,“polarizationInversion”:true},“delayTimingInfo”:{“delay”:“2s”}},“txInfo”:{“frequency”:923300000,“power”:20,“modulation”:{“lora”:{“bandwidth”:500000,“spreadingFactor”:12,“codeRate”:“CR_4_5”,“polarizationInversion”:true}},“timing”:{“delay”:{“delay”:“2s”}},“context”:“AAAAAAAAAAAA3AAARDxXRw==”}}],“gatewayIdLegacy”:“rB8J//4QD+M=”,“gatewayId”:“ac1f09fffe100fe3”} -
Wrong Downlink
us915_1/gateway/XXX/command/down {“downlinkId”:4086755823,“downlinkIdLegacy”:“AAAAAAAAAAAAAAAA85bx7w==”,“items”:[{“phyPayload”:“YH0Q3gUgAAAA9/6aN4+mXTW1jJZhMoeyiWDF/Wh/”,“txInfoLegacy”:{“frequency”:923900000,“power”:20,“timing”:“DELAY”,“context”:“AAAAAAAAAAAA3AAAPGHoAw==”,“loraModulationInfo”:{“bandwidth”:500,“spreadingFactor”:9,“codeRateLegacy”:“4/5”,“polarizationInversion”:true},“delayTimingInfo”:{“delay”:“1s”}},“txInfo”:{“frequency”:923900000,“power”:20,“modulation”:{“lora”:{“bandwidth”:500000,“spreadingFactor”:9,“codeRate”:“CR_4_5”,“polarizationInversion”:true}},“timing”:{“delay”:{“delay”:“1s”}},“context”:“AAAAAAAAAAAA3AAAPGHoAw==”}},{“phyPayload”:“YH0Q3gUqAAADAAIAcAMQAP8BprnqEw==”,“txInfoLegacy”:{“power”:20,“timing”:“DELAY”,“context”:“AAAAAAAAAAAA3AAAPGHoAw==”,“loraModulationInfo”:{“bandwidth”:125,“spreadingFactor”:10,“codeRateLegacy”:“4/5”,“polarizationInversion”:true},“delayTimingInfo”:{“delay”:“2s”}},“txInfo”:{“power”:20,“modulation”:{“lora”:{“bandwidth”:125000,“spreadingFactor”:10,“codeRate”:“CR_4_5”,“polarizationInversion”:true}},“timing”:{“delay”:{“delay”:“2s”}},“context”:“AAAAAAAAAAAA3AAAPGHoAw==”}}],“gatewayIdLegacy”:“rB8J//4QD+M=”,“gatewayId”:“ac1f09fffe100fe3”}
It seams like the node preserve EU parameters for the second windows. Is it possible?
Thanks