Issue link: https://read.uberflip.com/i/1520534
LoRaWAN ® Certification Protocol Specification TS009-1.2.0 ©2024 LoRa Alliance ® Page 19 of 26 The authors reserve the right to change specifications without notice. 5.9 Echo Frame Request Commands (EchoIncPayloadReq, 418 EchoIncPayloadAns) 419 420 The EchoIncPayloadReq command payload contains the N bytes to be echoed, plus one. 421 The N value is arbitrary. In case the N value is bigger than the application payload buffer, the 422 echoed packet SHALL be clipped to the maximum payload buffer size. 423 424 Size (octets) 1 1 … 1 Fields Octet0 Octet1 … Octet N-1 Table 11: EchoIncPayloadReq 425 EchoIncPayloadReq instructs the DUT to respond with a subsequent uplink whose payload 426 content is the downlink's data incremented octet-by-octet, except the first octet, which remains 427 0x08. 428 429 Assume the received payload length is N, where N is any value between zero and the 430 maximum LoRaWAN region payload size allowed. The bytes composing the command 431 payload are: 432 433 [0x08, octet 0 , octet 1 , …, octet N-1 ] 434 435 EchoIncPayloadAns SHALL convey a payload whose content is as follows: 436 437 [0x08, mod(octet 0 + 0x01, 256), mod(octet 1 + 0x01, 256), …, mod(octet N-1 + 0x01, 438 256)] 439 440 Where mod() indicates modulo arithmetic. 441 442 For example, if the DUT receives a payload of [8 1 5 255] on FPort 224, it will respond 443 with [8 2 6 0] on FPort 224. This echo functionality is used to validate the DUT 444 cryptography implementation as well as its handling of the maximum payload for both uplinks 445 and downlinks. 446 447 The EchoIncPayloadAns SHALL be clipped to the maximum uplink frame payload size 448 allowed by the LoRaWAN Regional Specifications. 449 5.10 Applicative Rx Counter Commands (RxAppCntReq, RxAppCntAns, 450 RxAppCntRstReq) 451 452 The RxAppCntReq command requests the DUT to provide the current RxAppCnt value. This 453 command has no payload. 454 455 The DUT answers the RxAppCntReq command with an RxAppCntAns command. 456 457 Size (octets) 2 Field RxAppCnt Table 12: RxAppCntAns 458 The RxAppCntRstReq command requests the DUT to reset the RxAppCnt value to 0. This 459 command has no payload. 460 461
