Issue link: https://read.uberflip.com/i/1520534
LoRaWAN ® Certification Protocol Specification TS009-1.2.0 ©2024 LoRa Alliance ® Page 10 of 26 The authors reserve the right to change specifications without notice. 4 End-Device Certification Description 253 4.1 Overview 254 Every LoRaWAN end-device SHALL implement this applicative protocol specification in its 255 application layer. This allows the LCTT to fully validate compliance of the end-device's 256 LoRaWAN MAC layer implementation. 257 258 The FPort value of 224 is dedicated to the LoRaWAN MAC layer certification protocol. 259 260 The DUT SHALL return to its normal application behavior via a command disabling 261 certification FPort 224 processing. Additionally, the DUT SHALL be reset with a dedicated 262 command, returning to a join state from which it can then establish a new session. 263 264 All defined test commands SHALL be sent by the TCL to the DUT using FPort 224 when 265 the end-device is in its normal operation. The DUT SHOULD execute the given command as 266 soon as possible. 267 4.1.1 Over-The-Air Activated DUT 268 269 If the DUT uses OTAA, when the DUT is first powered up, it SHOULD join the network by 270 issuing a Join-Request. The TCL will respond with a Join-Accept. As a best practice of the 271 certification process, upon receipt of the Join-Accept frame, the DUT SHOULD send a 272 (possibly empty) uplink frame. The TCL is then able to send certification test commands on 273 FPort 224, if enabled. 274 4.1.2 Activated by Personalization DUT 275 276 A personalized DUT is one that comes with session keys pre-programmed. The 277 personalization information SHALL be supplied to the ATH. When the DUT is first powered 278 on, it SHOULD send an uplink frame. The TCL is then able to send certification test 279 commands on FPort 224, if enabled. 280 4.2 Certification Commands 281 4.2.1 Downlink Counter 282 283 The DUT creates a 16-bit unsigned counter (called RxAppCnt) that is incremented each time 284 the DUT receives an applicative downlink frame (FPort > 0). An empty downlink frame with 285 a FCtrl ACK bit set SHALL be considered as an applicative downlink. 286 The RxAppCnt counter SHALL be initialized to 0 when the DUT is reset or each time the 287 TCL sends a DownlinkCntRstReq command on FPort 224. 288 4.2.2 Beacon Counter 289 290 The DUT creates a 16-bit unsigned counter (called BeaconCnt) that is incremented each 291 time the DUT receives a Class B beacon. 292
