Document

TS007-1.0.0 Multi Package Access

Issue link: https://read.uberflip.com/i/1464686

Contents of this Issue

Navigation

Page 11 of 14

LoRaWAN ® Multi-Package Access Protocol Specification TS007-1.0.0 ©2022 LoRa Alliance ® Page 12 of 15 The authors reserve the right to change specifications without notice. Third and final message (7 bytes): CommandID BaseByte Buffer bytes (4) Command Token 0x02 16 ANS[16..19] 0x03 Table 13: MultiPackBufferFrag command (third/final message) 4.4 Multi-Package Buffer Command (MultiPackBufferReq) 325 326 The MultiPackBufferReq command payload is: 327 328 Size (bytes) 1 1 Field StartByte StopByte Table 14: MultiPackBufferReq payload 329 When used, this command SHALL be the single command present in a multi-package 330 access downlink. If the same downlink carries another command, the end-device SHALL 331 discard the full command set silently. 332 333 The Command Token field SHALL NOT be appended after a MultiPackBufferReq 334 command. 335 336 With this command, the Application Server instructs the end-device to retransmit the content 337 of the ANS buffer, starting with byte StartByte and ending with byte StopByte 338 (included). 339 340 The valid range for StartByte is [0:BufferLength -1]. If StartByte is greater than 341 BufferLength-1, the end-device responds with the error code. 342 343 If StopByte is greater than bufferLength-1, the command is valid, the buffer is 344 retransmitted, starting from byte StartByte to the end, and no padding is added. 345 StopByte SHALL be greater or equal to StartByte. If StopByte is less than 346 StartByte, the end-device SHALL respond with the error code. 347 348 BufferLength indicates the number of bytes of the ANS buffer. 349 350 If the StartByte and/or StopByte fields are invalid, the end-device responds to the 351 MultiPackBufferReq command using the MultiPackBufferFrag command with the 352 following payload: 353 354 Size (octets) 1 Field Error=0xFF Table 15: MultiPackBufferFrag payload when request is invalid 355 Where the Error field value is 0xFF. 356 357 If the StartByte and StopByte fields are valid, the end-device responds to the 358 MultiPackBufferReq command with one or several MultiPackBufferFrag commands. 359 360 Example 1: Let's assume that the ANS buffer is 13 bytes long (noted ANS[0..12]) and that the last command set received had a Token = 2. The maximum applicative

Articles in this issue

view archives of Document - TS007-1.0.0 Multi Package Access