Issue link: https://read.uberflip.com/i/1449177
LoRaWAN Certification Protocol Specification ©2020 LoRa Alliance ® Page 10 of 20 The authors reserve the right to change specifications without notice. 4 End-Device Certification Description 226 4.1 Overview 227 Every LoRaWAN end-device SHALL implement this applicative protocol specification in its 228 application layer. This allows the test harness to fully validate compliance of the end- 229 device's LoRaWAN MAC layer implementation. 230 The Port Field (FPort) value 224 is dedicated to the LoRaWAN MAC layer certification 231 protocol. 232 The DUT SHALL return to its normal application behaviour by a command disabling 233 certification FPort 224 processing. Additionally, the DUT SHALL be reset with a dedicated 234 command, returning to a join state from which it can then establish a new session. 235 All defined test commands SHALL be sent by TCL to the DUT using FPort 224 when the 236 end-device is in its normal operation. The DUT SHOULD execute the given command as 237 soon as possible. 238 4.1.1 Over-The-Air Activated DUT 239 When the DUT is first powered up if it uses OTAA it SHOULD join the network by issuing a 240 Join-request, the TCL will respond with Join-accept. For best practice operation of the 241 Certification process, upon receipt of the Join-accept frame the DUT SHOULD then send a 242 (possibly empty) uplink frame. The TCL is then able to send certification test commands on 243 FPort 224 if enabled. 244 4.1.2 Activated by Personalization DUT 245 A Personalized DUT is one that comes with session keys pre-programmed. The 246 personalization information SHALL be supplied to the Test House. When the DUT is first 247 powered on, it SHOULD send an uplink frame. The TCL is then able to send certification test 248 commands on FPort 224 if enabled. 249 4.2 Certification Commands 250 4.2.1 Downlink Counter 251 The DUT creates a 16-bit unsigned counter (called RxAppCnt) which is incremented each 252 time the DUT receives an applicative downlink frame (FPort > 0). An empty downlink frame 253 with FCtrl ACK bit set SHALL be considered as and applicative downlink. 254 The RxAppCnt counter SHALL be initialized to 0 when DUT is reset or each time the TCL 255 sends a DownlinkCntRstReq command on FPort 224. 256 4.2.2 Commands handling 257 The TCL MAY send the certification application commands at any given time. The DUT 258 SHOULD execute a command as soon as possible. 259
