Alerts:
Tests details:
Results summary of the tests.
td_lorawan_act_01 PASS
td_lorawan_act_02 Test td_lorawan_act_02 failed with EchoError error.
: PONG 0458D45274CB0195EE78CF0343B1 received when expecting 0457D35173CA0094ED77CE0242B0.
: Test: td_lorawan_act_02
: Step: S5PongToPing
: Last received message:
: tmst: 812444348, freq: 868.3, DR: SF8BW125
: PHYPayload: 4033C23611800200E075908B80220E03B6C6892750A14A345B65A6 (Size: 27 bytes)
:
: ----------------------------------------------
: PHY payload:
: 4033C23611800200E075908B80220E03B6C6892750A14A345B65A6
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 33C23611800200E075908B80220E03B6C6892750A14A
: ----------------------------------------------
: MAC payload information
: FHDR: 33C23611800200
: ----DevAddr: 1136C233
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 2 (0002)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: 75908B80220E03B6C6892750A14A
: ==============================================
: MIC: 345B65A6
: ==============================================
: Decrypted FRMPayload: 0458D45274CB0195EE78CF0343B1
: (Key 64F679B07F120AE12D1D8897F16E49AD)
:
td_lorawan_reset PASS
td_lorawan_act_03 Test td_lorawan_act_03 failed with EchoError error.
: PONG 044103FD519B6222F4E4D372 received when expecting 044002FC509A6121F3E3D271.
: Test: td_lorawan_act_03
: Step: S5PongToPing
: Last received message:
: tmst: 856325460, freq: 868.1, DR: SF8BW125
: PHYPayload: 4001E18627800200E029A65C5FCA6CACFDD73A292C6C3390D7 (Size: 25 bytes)
:
: ----------------------------------------------
: PHY payload:
: 4001E18627800200E029A65C5FCA6CACFDD73A292C6C3390D7
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 01E18627800200E029A65C5FCA6CACFDD73A292C
: ----------------------------------------------
: MAC payload information
: FHDR: 01E18627800200
: ----DevAddr: 2786E101
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 2 (0002)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: 29A65C5FCA6CACFDD73A292C
: ==============================================
: MIC: 6C3390D7
: ==============================================
: Decrypted FRMPayload: 044103FD519B6222F4E4D372
: (Key 557694B3B39429784BB876E9120E6D81)
:
td_lorawan_reset PASS
td_lorawan_act_04 PASS
td_lorawan_act_05 Test td_lorawan_act_05 failed with EchoError error.
: PONG 04FA079B7B36903D5822E5DDCB3D received when expecting 04F9069A7A358F3C5721E4DCCA3C.
: Test: td_lorawan_act_05
: Step: S5PongToPing
: Last received message:
: tmst: 984419068, freq: 868.1, DR: SF8BW125
: PHYPayload: 401CB957BB800200E02025C3475A7E1A15C547F29462C8DE2BF34A (Size: 27 bytes)
:
: ----------------------------------------------
: PHY payload:
: 401CB957BB800200E02025C3475A7E1A15C547F29462C8DE2BF34A
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 1CB957BB800200E02025C3475A7E1A15C547F29462C8
: ----------------------------------------------
: MAC payload information
: FHDR: 1CB957BB800200
: ----DevAddr: BB57B91C
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 2 (0002)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: 2025C3475A7E1A15C547F29462C8
: ==============================================
: MIC: DE2BF34A
: ==============================================
: Decrypted FRMPayload: 04FA079B7B36903D5822E5DDCB3D
: (Key BB179C3E54DB1400B3F8ABD5E00CF216)
:
td_lorawan_reset PASS
td_lorawan_fun_01 Test td_lorawan_fun_01 failed with EchoError error.
: PONG 04406A27366BCEA8EAD57B7613 received when expecting 043F6926356ACDA7E9D47A7512.
: Test: td_lorawan_fun_01
: Step: S2ProcessPong
: Last received message:
: tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
: PHYPayload: 401CB957BB800700E00CB1E6B09950ABAACD26AFF8D69CED002D (Size: 26 bytes)
:
: ----------------------------------------------
: PHY payload:
: 401CB957BB800700E00CB1E6B09950ABAACD26AFF8D69CED002D
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 1CB957BB800700E00CB1E6B09950ABAACD26AFF8D6
: ----------------------------------------------
: MAC payload information
: FHDR: 1CB957BB800700
: ----DevAddr: BB57B91C
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 7 (0007)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: 0CB1E6B09950ABAACD26AFF8D6
: ==============================================
: MIC: 9CED002D
: ==============================================
: Decrypted FRMPayload: 04406A27366BCEA8EAD57B7613
: (Key BB179C3E54DB1400B3F8ABD5E00CF216)
:
td_lorawan_reset PASS
td_lorawan_fun_02 Test td_lorawan_fun_02 failed with EchoError error.
: PONG 04C1B2F4 received when expecting 04C0B1F3.
: Test: td_lorawan_fun_02
: Step: S2WaitPong
: Last received message:
: tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
: PHYPayload: 401CB957BB800C00E0ECFC00A366771418 (Size: 17 bytes)
:
: ----------------------------------------------
: PHY payload:
: 401CB957BB800C00E0ECFC00A366771418
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 1CB957BB800C00E0ECFC00A3
: ----------------------------------------------
: MAC payload information
: FHDR: 1CB957BB800C00
: ----DevAddr: BB57B91C
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 12 (000C)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: ECFC00A3
: ==============================================
: MIC: 66771418
: ==============================================
: Decrypted FRMPayload: 04C1B2F4
: (Key BB179C3E54DB1400B3F8ABD5E00CF216)
:
td_lorawan_reset PASS
td_lorawan_fun_03 PASS
td_lorawan_fun_04 PASS
td_lorawan_fun_05 PASS
td_lorawan_fun_06 PASS
td_lorawan_sec_01 Test td_lorawan_sec_01 failed with EchoError error.
: PONG 048EFB2952 received when expecting 048DFA2851.
: Test: td_lorawan_sec_01
: Step: S2RepeatedPingPong
: Last received message:
: tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
: PHYPayload: 401CB957BB801A00E061303BD7B633B0200A (Size: 18 bytes)
:
: ----------------------------------------------
: PHY payload:
: 401CB957BB801A00E061303BD7B633B0200A
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 1CB957BB801A00E061303BD7B6
: ----------------------------------------------
: MAC payload information
: FHDR: 1CB957BB801A00
: ----DevAddr: BB57B91C
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 26 (001A)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: 61303BD7B6
: ==============================================
: MIC: 33B0200A
: ==============================================
: Decrypted FRMPayload: 048EFB2952
: (Key BB179C3E54DB1400B3F8ABD5E00CF216)
:
td_lorawan_reset PASS
td_lorawan_sec_02 PASS
td_lorawan_mac_01 PASS
td_lorawan_mac_02 PASS
td_lorawan_mac_03 PASS
td_lorawan_mac_04 PASS
td_lorawan_mac_05 Test td_lorawan_mac_05 failed with NoMACResponseError error.
: Expecting 1 NewChannelAns.
: Test: td_lorawan_mac_05
: Step: S5NewChannelAnsAcceptCheck
: Last received message:
: tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
: PHYPayload: 401CB957BB804500E01F85BDE97AB4 (Size: 15 bytes)
:
: ----------------------------------------------
: PHY payload:
: 401CB957BB804500E01F85BDE97AB4
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 1CB957BB804500E01F85
: ----------------------------------------------
: MAC payload information
: FHDR: 1CB957BB804500
: ----DevAddr: BB57B91C
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 69 (0045)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: 1F85
: ==============================================
: MIC: BDE97AB4
: ==============================================
: Decrypted FRMPayload: 0006
: (Key BB179C3E54DB1400B3F8ABD5E00CF216)
:
td_lorawan_reset Test td_lorawan_reset failed with UnexpectedResponseError error.
: Waiting for an ACT OK with downlink counter.
: Test: td_lorawan_reset
: Step: S3ActokFinalStep
: Last received message:
: tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
: PHYPayload: 401CB957BB004800166D03352169ACE9B0791E55FBCC32578CD83ED471 (Size: 29 bytes)
:
: ----------------------------------------------
: PHY payload:
: 401CB957BB004800166D03352169ACE9B0791E55FBCC32578CD83ED471
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 1CB957BB004800166D03352169ACE9B0791E55FBCC32578C
: ----------------------------------------------
: MAC payload information
: FHDR: 1CB957BB004800
: ----DevAddr: BB57B91C
: ----FCtrl: 00000000
: --------ADR: 0
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 72 (0048)
: ----FOpts: None
: FPort: 22
: Encrypted FRMPayload: 6D03352169ACE9B0791E55FBCC32578C
: ==============================================
: MIC: D83ED471
: ==============================================
:
td_lorawan_reset PASS
td_lorawan_deactivate PASS
TEST VERDICT: FAIL
TD_LORAWAN_DEACTIVATE: Step information
Completed Step: S1ActOkToDeactivate
Next step: No next step.
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 867.5, DR: SF8BW125
PHYPayload: 401CB957BB804C00E0196B0DE875C9 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB804C00E0196B0DE875C9
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB804C00E0196B
----------------------------------------------
MAC payload information
FHDR: 1CB957BB804C00
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 76 (004C)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 196B
==============================================
MIC: 0DE875C9
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 00
TEST CASE: td_lorawan_deactivate
Step 1: S1ActOkToDeactivate
Verifies TAOK and deactivates Test Mode.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: Test Mode deactivation (payload 0x00).
Test ID: TD_LoRaWAN_DEACTIVATE
Objective: Deactivates test mode.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode.
TD_LORAWAN_RESET: Step information
Completed Step: S3ActokFinalStep
Next step: No next step.
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
PHYPayload: 401CB957BB804B00E05C450DC41BEA (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB804B00E05C450DC41BEA
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB804B00E05C45
----------------------------------------------
MAC payload information
FHDR: 1CB957BB804B00
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 75 (004B)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 5C45
==============================================
MIC: 0DC41BEA
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_RESET: Step information
Completed Step: S2DataToActivate
Next step: S3ActokFinalStep
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
PHYPayload: 401CB957BB004A0016EDAB1973C911C9942B38C4FE88976F5E2DEF2B40 (Size: 29 bytes)
----------------------------------------------
PHY payload:
401CB957BB004A0016EDAB1973C911C9942B38C4FE88976F5E2DEF2B40
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB004A0016EDAB1973C911C9942B38C4FE88976F5E
----------------------------------------------
MAC payload information
FHDR: 1CB957BB004A00
----DevAddr: BB57B91C
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 74 (004A)
----FOpts: None
FPort: 22
Encrypted FRMPayload: EDAB1973C911C9942B38C4FE88976F5E
==============================================
MIC: 2DEF2B40
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 01010101
TD_LORAWAN_RESET: Step information
Completed Step: S1AnyToDeactivate
Next step: S2DataToActivate
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 867.5, DR: SF8BW125
PHYPayload: 401CB957BB004900168437022D56FEE594E2DDDA15304AD3D264E5E4F5 (Size: 29 bytes)
----------------------------------------------
PHY payload:
401CB957BB004900168437022D56FEE594E2DDDA15304AD3D264E5E4F5
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB004900168437022D56FEE594E2DDDA15304AD3D2
----------------------------------------------
MAC payload information
FHDR: 1CB957BB004900
----DevAddr: BB57B91C
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 73 (0049)
----FOpts: None
FPort: 22
Encrypted FRMPayload: 8437022D56FEE594E2DDDA15304AD3D2
==============================================
MIC: 64E5E4F5
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 00
TEST CASE: td_lorawan_reset
Step 3: S3ActokFinalStep
The test is expecting a Test Activation Ok message with the current
downlink counter
- Reception from DUT: TAOK message with the downlink counter.- TAS sends: none
Step 2: S2DataToActivate
Wait any data from the DUT to activate Test Mode.
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT(DL packet with payload 0x01010101 sent to port 224)
The payload is encrypted with the AppSKey.
Step 1: S1AnyToDeactivate
Sends the Test Mode deactivation message after any received message.
- Reception from DUT: Any LoRaWAN message.
- TAS sends: Test Mode deactivation (payload 0x00).
Test ID: TD_LoRaWAN_RESET
Objective: Resets the DUT to a known state after a test fails, deactivating and activating again the Test Mode.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions:
The end device has a pre-configured DevAddr, NwkSKey and AppSKey.
The Test Application Server has the end device registered in its ABP device list and knows its NwkSkey, AppSKey and DevAddr.
td_lorawan_reset: Step Fail
td_lorawan_reset Test td_lorawan_reset failed with UnexpectedResponseError error.
: Waiting for an ACT OK with downlink counter.
: Test: td_lorawan_reset
: Step: S3ActokFinalStep
: Last received message:
: tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
: PHYPayload: 401CB957BB004800166D03352169ACE9B0791E55FBCC32578CD83ED471 (Size: 29 bytes)
:
: ----------------------------------------------
: PHY payload:
: 401CB957BB004800166D03352169ACE9B0791E55FBCC32578CD83ED471
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 1CB957BB004800166D03352169ACE9B0791E55FBCC32578C
: ----------------------------------------------
: MAC payload information
: FHDR: 1CB957BB004800
: ----DevAddr: BB57B91C
: ----FCtrl: 00000000
: --------ADR: 0
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 72 (0048)
: ----FOpts: None
: FPort: 22
: Encrypted FRMPayload: 6D03352169ACE9B0791E55FBCC32578C
: ==============================================
: MIC: D83ED471
: ==============================================
:
TD_LORAWAN_RESET: Step information
Completed Step: S2DataToActivate
Next step: S3ActokFinalStep
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 867.5, DR: SF8BW125
PHYPayload: 401CB957BB00470016FCD6A7C32F82B2C7F506FD7AC93A1769DF4B2D99 (Size: 29 bytes)
----------------------------------------------
PHY payload:
401CB957BB00470016FCD6A7C32F82B2C7F506FD7AC93A1769DF4B2D99
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB00470016FCD6A7C32F82B2C7F506FD7AC93A1769
----------------------------------------------
MAC payload information
FHDR: 1CB957BB004700
----DevAddr: BB57B91C
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 71 (0047)
----FOpts: None
FPort: 22
Encrypted FRMPayload: FCD6A7C32F82B2C7F506FD7AC93A1769
==============================================
MIC: DF4B2D99
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 01010101
TD_LORAWAN_RESET: Step information
Completed Step: S1AnyToDeactivate
Next step: S2DataToActivate
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB804600E00171AFCDE49A (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB804600E00171AFCDE49A
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB804600E00171
----------------------------------------------
MAC payload information
FHDR: 1CB957BB804600
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 70 (0046)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 0171
==============================================
MIC: AFCDE49A
==============================================
Decrypted FRMPayload: 0006
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 00
TEST CASE: td_lorawan_reset
Step 3: S3ActokFinalStep
The test is expecting a Test Activation Ok message with the current
downlink counter
- Reception from DUT: TAOK message with the downlink counter.- TAS sends: none
Step 2: S2DataToActivate
Wait any data from the DUT to activate Test Mode.
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT(DL packet with payload 0x01010101 sent to port 224)
The payload is encrypted with the AppSKey.
Step 1: S1AnyToDeactivate
Sends the Test Mode deactivation message after any received message.
- Reception from DUT: Any LoRaWAN message.
- TAS sends: Test Mode deactivation (payload 0x00).
Test ID: TD_LoRaWAN_RESET
Objective: Resets the DUT to a known state after a test fails, deactivating and activating again the Test Mode.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions:
The end device has a pre-configured DevAddr, NwkSKey and AppSKey.
The Test Application Server has the end device registered in its ABP device list and knows its NwkSkey, AppSKey and DevAddr.
td_lorawan_mac_05: Step Fail
td_lorawan_mac_05 Test td_lorawan_mac_05 failed with NoMACResponseError error.
: Expecting 1 NewChannelAns.
: Test: td_lorawan_mac_05
: Step: S5NewChannelAnsAcceptCheck
: Last received message:
: tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
: PHYPayload: 401CB957BB804500E01F85BDE97AB4 (Size: 15 bytes)
:
: ----------------------------------------------
: PHY payload:
: 401CB957BB804500E01F85BDE97AB4
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 1CB957BB804500E01F85
: ----------------------------------------------
: MAC payload information
: FHDR: 1CB957BB804500
: ----DevAddr: BB57B91C
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 69 (0045)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: 1F85
: ==============================================
: MIC: BDE97AB4
: ==============================================
: Decrypted FRMPayload: 0006
: (Key BB179C3E54DB1400B3F8ABD5E00CF216)
:
TD_LORAWAN_MAC_05: Step information
Completed Step: S4ActokToNewChannelReq_RemoveChannel
Next step: S5NewChannelAnsAcceptCheck
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB804400E063F9AAAA1732 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB804400E063F9AAAA1732
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB804400E063F9
----------------------------------------------
MAC payload information
FHDR: 1CB957BB804400
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 68 (0044)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 63F9
==============================================
MIC: AAAA1732
==============================================
Decrypted FRMPayload: 0006
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Sending MAC Command: 0x070300000000 Piggybacked: False In FRMPayload: True
TD_LORAWAN_MAC_05: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:867.5.
({868.1: 4, 868.3: 3, 868.5: 3, 867.5: 1})
Count 11 of 20 limit.
TD_LORAWAN_MAC_05: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.5.
({868.1: 4, 868.3: 3, 868.5: 3, 867.5: 0})
Count 10 of 20 limit.
TD_LORAWAN_MAC_05: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.1.
({868.1: 4, 868.3: 3, 868.5: 2, 867.5: 0})
Count 9 of 20 limit.
TD_LORAWAN_MAC_05: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.1.
({868.1: 3, 868.3: 3, 868.5: 2, 867.5: 0})
Count 8 of 20 limit.
TD_LORAWAN_MAC_05: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.5.
({868.1: 2, 868.3: 3, 868.5: 2, 867.5: 0})
Count 7 of 20 limit.
TD_LORAWAN_MAC_05: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.3.
({868.1: 2, 868.3: 3, 868.5: 1, 867.5: 0})
Count 6 of 20 limit.
TD_LORAWAN_MAC_05: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.3.
({868.1: 2, 868.3: 2, 868.5: 1, 867.5: 0})
Count 5 of 20 limit.
TD_LORAWAN_MAC_05: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.1.
({868.1: 2, 868.3: 1, 868.5: 1, 867.5: 0})
Count 4 of 20 limit.
TD_LORAWAN_MAC_05: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.5.
({868.1: 1, 868.3: 1, 868.5: 1, 867.5: 0})
Count 3 of 20 limit.
TD_LORAWAN_MAC_05: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.3.
({868.1: 1, 868.3: 1, 868.5: 0, 867.5: 0})
Count 2 of 20 limit.
TD_LORAWAN_MAC_05: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.1.
({868.1: 1, 868.3: 0, 868.5: 0, 867.5: 0})
Count 1 of 20 limit.
TD_LORAWAN_MAC_05: Step information
Completed Step: S2NewChannelAnsAcceptCheck
Next step: S3VerifyFrequencies
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BBA238000703E0BCEE861E44B4 (Size: 17 bytes)
----------------------------------------------
PHY payload:
401CB957BBA238000703E0BCEE861E44B4
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BBA238000703E0BCEE
----------------------------------------------
MAC payload information
FHDR: 1CB957BBA238000703
----DevAddr: BB57B91C
----FCtrl: 10100010
--------ADR: 1
--------ACK: 1
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 2
----FCnt: 56 (0038)
----FOpts: 0703
FPort: 224
Encrypted FRMPayload: BCEE
==============================================
Piggybacked MAC commands:
NewChannelAns MAC Command.
Command ID (CID): 0x07
Size: 2
Content: 0x03
DR OK: 1
Freq OK: 1
COMMAND SUCCEEDED
MIC: 861E44B4
==============================================
Decrypted FRMPayload: 0006
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_MAC_05: Step information
Completed Step: S1ActokToNewChannelReq_AddChannel
Next step: S2NewChannelAnsAcceptCheck
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
PHYPayload: 401CB957BB803700E0218C062F6B6A (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB803700E0218C062F6B6A
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB803700E0218C
----------------------------------------------
MAC payload information
FHDR: 1CB957BB803700
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 55 (0037)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 218C
==============================================
MIC: 062F6B6A
==============================================
Decrypted FRMPayload: 0005
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Sending MAC Command: 0x0703B85E8450 Piggybacked: False In FRMPayload: True
TEST CASE: td_lorawan_mac_05
Step 7: S7ActokFinalStep
Final step, check the last TAOK message.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: None.
Step 6: S6ForbiddenFrequencyCheck
Verifies that the removed frequency is not used after the reception of a given number of downlink messages.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: None.
Step 5: S5NewChannelAnsAcceptCheck
Verifies that the DUT accepted the channel removal.
- Reception from DUT: NewChannelAns MAC Command with Status OK.
- TAS sends: None.
Step 4: S4ActokToNewChannelReq_RemoveChannel
Removes the previously added channel. - Reception from DUT: TAOK message with the downlink counter.
- TAS sends: NewChannelReq removing the previously added channels.
Step 3: S3VerifyFrequencies.
Count TAOK messages to check that the new frequency is used.
- Reception from DUT: TAOK messages until all the configured frequencies (including the newly added) are used.
- TAS sends: None.
Step 2: S2NewChannelAnsAcceptCheck.
Verifies that the DUT accepted the new added channel.
- Reception from DUT: NewChannelAns MAC Command with Status OK.
- TAS sends: None.
Step 1: S1ActokToNewChannelReq_AddChannel.
Adds a single new channel in the channel index 3.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: NewChannelReq MAC Command adding a new channel.
Test ID: TD_LoRaWAN_MAC_05
Objective: Checks the channel addition implementation verifying that the new added frequencies are used. Addition of a single channel.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode and supports Over The Air Activation (OTAA).
TD_LORAWAN_MAC_04: Step information
Completed Step: S4NewChannelAnsAcceptCheck
Next step: No next step.
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BBA63600070307030703E0FF4733C89901 (Size: 21 bytes)
----------------------------------------------
PHY payload:
401CB957BBA63600070307030703E0FF4733C89901
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BBA63600070307030703E0FF47
----------------------------------------------
MAC payload information
FHDR: 1CB957BBA63600070307030703
----DevAddr: BB57B91C
----FCtrl: 10100110
--------ADR: 1
--------ACK: 1
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 6
----FCnt: 54 (0036)
----FOpts:<PHONE_NUMBER>03
FPort: 224
Encrypted FRMPayload: FF47
==============================================
Piggybacked MAC commands:
NewChannelAns MAC Command.
Command ID (CID): 0x07
Size: 2
Content: 0x03
DR OK: 1
Freq OK: 1
COMMAND SUCCEEDED
NewChannelAns MAC Command.
Command ID (CID): 0x07
Size: 2
Content: 0x03
DR OK: 1
Freq OK: 1
COMMAND SUCCEEDED
NewChannelAns MAC Command.
Command ID (CID): 0x07
Size: 2
Content: 0x03
DR OK: 1
Freq OK: 1
COMMAND SUCCEEDED
MIC: 33C89901
==============================================
Decrypted FRMPayload: 0005
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_MAC_04: Step information
Completed Step: S3ActokToNewChannelReq_RemoveChannels
Next step: S4NewChannelAnsAcceptCheck
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB803500E0F0A02D7DDF69 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB803500E0F0A02D7DDF69
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB803500E0F0A0
----------------------------------------------
MAC payload information
FHDR: 1CB957BB803500
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 53 (0035)
----FOpts: None
FPort: 224
Encrypted FRMPayload: F0A0
==============================================
MIC: 2D7DDF69
==============================================
Decrypted FRMPayload: 0004
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Sending MAC Command: 0x070300000000070400000000070500000000 Piggybacked: False In FRMPayload: True
TD_LORAWAN_MAC_04: Step information
Completed Step: S2NewChannelAnsAcceptCheck
Next step: S3ActokToNewChannelReq_RemoveChannels
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 867.9, DR: SF8BW125
PHYPayload: 401CB957BBA63400070307030703E0904410BA4CCE (Size: 21 bytes)
----------------------------------------------
PHY payload:
401CB957BBA63400070307030703E0904410BA4CCE
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BBA63400070307030703E09044
----------------------------------------------
MAC payload information
FHDR: 1CB957BBA63400070307030703
----DevAddr: BB57B91C
----FCtrl: 10100110
--------ADR: 1
--------ACK: 1
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 6
----FCnt: 52 (0034)
----FOpts:<PHONE_NUMBER>03
FPort: 224
Encrypted FRMPayload: 9044
==============================================
Piggybacked MAC commands:
NewChannelAns MAC Command.
Command ID (CID): 0x07
Size: 2
Content: 0x03
DR OK: 1
Freq OK: 1
COMMAND SUCCEEDED
NewChannelAns MAC Command.
Command ID (CID): 0x07
Size: 2
Content: 0x03
DR OK: 1
Freq OK: 1
COMMAND SUCCEEDED
NewChannelAns MAC Command.
Command ID (CID): 0x07
Size: 2
Content: 0x03
DR OK: 1
Freq OK: 1
COMMAND SUCCEEDED
MIC: 10BA4CCE
==============================================
Decrypted FRMPayload: 0004
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_MAC_04: Step information
Completed Step: S1ActokToNewChannelReq_AddChannels
Next step: S2NewChannelAnsAcceptCheck
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB803300E0DAD7ABE071E8 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB803300E0DAD7ABE071E8
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB803300E0DAD7
----------------------------------------------
MAC payload information
FHDR: 1CB957BB803300
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 51 (0033)
----FOpts: None
FPort: 224
Encrypted FRMPayload: DAD7
==============================================
MIC: ABE071E8
==============================================
Decrypted FRMPayload: 0003
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Sending MAC Command: 0x0703B85E84500704886684500705586E8450 Piggybacked: False In FRMPayload: True
TEST CASE: td_lorawan_mac_04
Step 4: S4NewChannelAnsAcceptCheck
Verifies that the DUT sends a NewChannelAns MAC Command accepting the removed frequencies.
- Reception from DUT: message with NewChannelAns answer from the DUT accepting the removed channels (Status OK).
- TAS sends: None.
Step 3: S3ActokToNewChannelReq_RemoveChannels
Removes the previously added channels.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: NewChannelReq removing the previously added channels.
Step 2: S2NewChannelAnsAcceptCheck.
Verifies that the DUT sends a NewChannelAns MAC Command accepting the new added frequencies.
- Reception from DUT: message with NewChannelAns answer from the DUT accepting the added channels (Status OK).
- TAS sends: None.
Step 1: S1ActokToNewChannelReq_AddChannels.
Adds new frequencies using NewChannelReq MAC Commands.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: message with multiple NewChannelReq MAC Commands.
Test ID: TD_LoRaWAN_MAC_04
Objective: Checks the channel addition implementation verifying that the new added frequencies are used. Adds multiple channels in a single message.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode.
TD_LORAWAN_MAC_03: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.5.
({868.1: 2, 868.3: 6, 868.5: 1})
Count 9 of 15 limit.
TD_LORAWAN_MAC_03: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.3.
({868.1: 2, 868.3: 6, 868.5: 0})
Count 8 of 15 limit.
TD_LORAWAN_MAC_03: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.3.
({868.1: 2, 868.3: 5, 868.5: 0})
Count 7 of 15 limit.
TD_LORAWAN_MAC_03: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.3.
({868.1: 2, 868.3: 4, 868.5: 0})
Count 6 of 15 limit.
TD_LORAWAN_MAC_03: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.1.
({868.1: 2, 868.3: 3, 868.5: 0})
Count 5 of 15 limit.
TD_LORAWAN_MAC_03: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.3.
({868.1: 1, 868.3: 3, 868.5: 0})
Count 4 of 15 limit.
TD_LORAWAN_MAC_03: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.3.
({868.1: 1, 868.3: 2, 868.5: 0})
Count 3 of 15 limit.
TD_LORAWAN_MAC_03: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.3.
({868.1: 1, 868.3: 1, 868.5: 0})
Count 2 of 15 limit.
TD_LORAWAN_MAC_03: Step information
Completed Step: S3VerifyFrequencies
Next step: S3VerifyFrequencies
Received from DUT:
Received:868.1.
({868.1: 1, 868.3: 0, 868.5: 0})
Count 1 of 15 limit.
TD_LORAWAN_MAC_03: Step information
Completed Step: S2NewChannelRejectedCheck
Next step: S3VerifyFrequencies
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BBA62900070007000700E0E2FFDD7B2830 (Size: 21 bytes)
----------------------------------------------
PHY payload:
401CB957BBA62900070007000700E0E2FFDD7B2830
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BBA62900070007000700E0E2FF
----------------------------------------------
MAC payload information
FHDR: 1CB957BBA62900070007000700
----DevAddr: BB57B91C
----FCtrl: 10100110
--------ADR: 1
--------ACK: 1
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 6
----FCnt: 41 (0029)
----FOpts:<PHONE_NUMBER>00
FPort: 224
Encrypted FRMPayload: E2FF
==============================================
Piggybacked MAC commands:
NewChannelAns MAC Command.
Command ID (CID): 0x07
Size: 2
Content: 0x00
DR OK: 0
Freq OK: 0
COMMAND FAILED
NewChannelAns MAC Command.
Command ID (CID): 0x07
Size: 2
Content: 0x00
DR OK: 0
Freq OK: 0
COMMAND FAILED
NewChannelAns MAC Command.
Command ID (CID): 0x07
Size: 2
Content: 0x00
DR OK: 0
Freq OK: 0
COMMAND FAILED
MIC: DD7B2830
==============================================
Decrypted FRMPayload: 0003
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_MAC_03: Step information
Completed Step: S1ActokToNewChannelReq_DisableDefault
Next step: S2NewChannelRejectedCheck
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB802800E0CD2172A7F12F (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB802800E0CD2172A7F12F
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB802800E0CD21
----------------------------------------------
MAC payload information
FHDR: 1CB957BB802800
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 40 (0028)
----FOpts: None
FPort: 224
Encrypted FRMPayload: CD21
==============================================
MIC: 72A7F12F
==============================================
Decrypted FRMPayload: 0002
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Sending MAC Command: 0x070000000000070100000000070200000000 Piggybacked: False In FRMPayload: True
TEST CASE: td_lorawan_mac_03
Step 2: S3VerifyFrequencies
The previous step had verified that the NewChannelAns contained a Not OK status. Now, this step checks a set of messages and all the configured frequencies must be used.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: None.
Step 2: S2NewChannelRejectedCheck
Verifies that the default channel deletion was rejected by the DUT.
- Reception from DUT: message with the NewChannelAns with status Not OK.
- TAS sends: None.
Step 1: S1ActokToNewChannelReq_DisableDefault.
Checks the TAOK message and tries to disable a default channel of the current LoRaWAN region.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: NewChannelReq MAC Command disabling a default channel.
Test ID: TD_LoRaWAN_MAC_03
Objective: Check the channel addition implementation, try to remove a read-only default channel.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode and supports Over The Air Activation (OTAA).
TD_LORAWAN_MAC_02: Step information
Completed Step: S4NoMACCommandCheck
Next step: No next step.
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB802700E071DC5157EEBF (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB802700E071DC5157EEBF
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB802700E071DC
----------------------------------------------
MAC payload information
FHDR: 1CB957BB802700
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 39 (0027)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 71DC
==============================================
MIC: 5157EEBF
==============================================
Decrypted FRMPayload: 0002
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_MAC_02: Step information
Completed Step: S3ActokToDevStatusReq_double
Next step: S4NoMACCommandCheck
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB802600E07B60625C1581 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB802600E07B60625C1581
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB802600E07B60
----------------------------------------------
MAC payload information
FHDR: 1CB957BB802600
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 38 (0026)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 7B60
==============================================
MIC: 625C1581
==============================================
Decrypted FRMPayload: 0002
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Sending MAC Command: 0x06 Piggybacked: True In FRMPayload: True
TD_LORAWAN_MAC_02: Step information
Completed Step: S2NoMACCommandCheck
Next step: S3ActokToDevStatusReq_double
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BBA02500E00173D22AA6A7 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BBA02500E00173D22AA6A7
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BBA02500E00173
----------------------------------------------
MAC payload information
FHDR: 1CB957BBA02500
----DevAddr: BB57B91C
----FCtrl: 10100000
--------ADR: 1
--------ACK: 1
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 37 (0025)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 0173
==============================================
MIC: D22AA6A7
==============================================
Decrypted FRMPayload: 0002
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_MAC_02: Step information
Completed Step: S1ActokToDevStatusReq_double
Next step: S2NoMACCommandCheck
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
PHYPayload: 401CB957BB802400E0BC2E73A6930B (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB802400E0BC2E73A6930B
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB802400E0BC2E
----------------------------------------------
MAC payload information
FHDR: 1CB957BB802400
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 36 (0024)
----FOpts: None
FPort: 224
Encrypted FRMPayload: BC2E
==============================================
MIC: 73A6930B
==============================================
Decrypted FRMPayload: 0002
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Sending MAC Command: 0x06 Piggybacked: True In FRMPayload: True
TEST CASE: td_lorawan_mac_02
Step 4: S4NoMACCommandCheck.
Verifies that the TAOK message doesn't have a DevStatusAns and sends other DevStatusReq in FRMPayload and in FOpts field. This message must be ignored.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: -
Step 3: S3ActokToDevStatusReq_double
After receiving a TAOK, two DevStatusReq are sent in the FRMPayload and in FOpts field. This message must be ignored.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: Two DevStatusReq mac commands, one in FRMPayload and other piggybacked.
Step 2: S2NoMACCommandCheck.
Verifies that the TAOK message doesn't have a DevStatusAns and sends another DevStatusReq in FRMPayload and in FOpts field. This message must be ignored.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: -
Step 1: S1ActokToDevStatusReq_double
After receiving a TAOK, two DevStatusReq are sent in the FRMPayload and in FOpts field. This message must be ignored.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: Two DevStatusReq mac commands, one in FRMPayload and other piggybacked.
Test ID: TD_LoRaWAN_MAC_02
Objective: Test that the DUT ignores a frame if MAC commands are present both in payload and in FOpts field.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode.
TD_LORAWAN_MAC_01: Step information
Completed Step: S4DevStatusAnsFinal
Next step: No next step.
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BBA3230006FE1CE0EA880EC54420 (Size: 18 bytes)
----------------------------------------------
PHY payload:
401CB957BBA3230006FE1CE0EA880EC54420
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BBA3230006FE1CE0EA88
----------------------------------------------
MAC payload information
FHDR: 1CB957BBA3230006FE1C
----DevAddr: BB57B91C
----FCtrl: 10100011
--------ADR: 1
--------ACK: 1
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 3
----FCnt: 35 (0023)
----FOpts: 06FE1C
FPort: 224
Encrypted FRMPayload: EA88
==============================================
Piggybacked MAC commands:
DevStatusAns MAC Command.
Command ID (CID): 0x06
Size: 3
Content: 0xFE1C
Battery Level: 0xFE
Margin: 0x1C
MIC: 0EC54420
==============================================
Decrypted FRMPayload: 0002
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_MAC_01: Step information
Completed Step: S3ActokToDevStatusReq_FRMPayload
Next step: S4DevStatusAnsFinal
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
PHYPayload: 401CB957BB802200E0B7FF2F8D7923 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB802200E0B7FF2F8D7923
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB802200E0B7FF
----------------------------------------------
MAC payload information
FHDR: 1CB957BB802200
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 34 (0022)
----FOpts: None
FPort: 224
Encrypted FRMPayload: B7FF
==============================================
MIC: 2F8D7923
==============================================
Decrypted FRMPayload: 0001
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Sending MAC Command: 0x06 Piggybacked: False In FRMPayload: True
TD_LORAWAN_MAC_01: Step information
Completed Step: S2DevStatusAns
Next step: S3ActokToDevStatusReq_FRMPayload
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
PHYPayload: 401CB957BBA3210006FE1CE0F6CB8B4CE0A4 (Size: 18 bytes)
----------------------------------------------
PHY payload:
401CB957BBA3210006FE1CE0F6CB8B4CE0A4
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BBA3210006FE1CE0F6CB
----------------------------------------------
MAC payload information
FHDR: 1CB957BBA3210006FE1C
----DevAddr: BB57B91C
----FCtrl: 10100011
--------ADR: 1
--------ACK: 1
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 3
----FCnt: 33 (0021)
----FOpts: 06FE1C
FPort: 224
Encrypted FRMPayload: F6CB
==============================================
Piggybacked MAC commands:
DevStatusAns MAC Command.
Command ID (CID): 0x06
Size: 3
Content: 0xFE1C
Battery Level: 0xFE
Margin: 0x1C
MIC: 8B4CE0A4
==============================================
Decrypted FRMPayload: 0001
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_MAC_01: Step information
Completed Step: S1ActokToDevStatusReq_Piggybacked
Next step: S2DevStatusAns
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB802000E0348D2263EFE7 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB802000E0348D2263EFE7
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB802000E0348D
----------------------------------------------
MAC payload information
FHDR: 1CB957BB802000
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 32 (0020)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 348D
==============================================
MIC: 2263EFE7
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Sending MAC Command: 0x06 Piggybacked: True In FRMPayload: False
TEST CASE: td_lorawan_mac_01
Step 4: S4DevStatusAnsFinal
Verifies the reception of the DevStatusAns.
- Reception from DUT: TAOK message with a DevStatusAns MAC Command.
- TAS sends: None.
Step 3: S3ActokToDevStatusReq_FRMPayload
After receiving a Act Ok message, a DevStatusReq is sent in FRMPayload using FPort=0.
- Reception from DUT:After receiving a Act Ok message, a DevStatusReq is sent in FRMPayload using FPort=0.
- TAS sends: DevStatusReq MAC command in FRMPayload using port 0.
Step 2: S2DevStatusAns
Verifies the reception of the DevStatusAns.
- Reception from DUT: TAOK message with a DevStatusAns MAC Command.
- TAS sends: None.
Step 1: S1ActokToDevStatusReq_Piggybacked
After receiving a Act Ok message, a DevStatusReq is sent piggybacked using the FOpts field.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: DevStatusReq MAC command piggybacked in FOpts field.
Test ID: TD_LoRaWAN_
Objective: Test the DevStatusReq MAC Command, both piggybacked in FOpts field and sent in the FRMPayload using port 0.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode.
TD_LORAWAN_SEC_02: Step information
Completed Step: S2WaitOkFinal
Next step: No next step.
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB801F00E0D14BED40C100 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB801F00E0D14BED40C100
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB801F00E0D14B
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801F00
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 31 (001F)
----FOpts: None
FPort: 224
Encrypted FRMPayload: D14B
==============================================
MIC: ED40C100
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_SEC_02: Step information
Completed Step: S1ActokToWrongMIC
Next step: S2WaitOkFinal
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB801E00E04E8425B9E5D5 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB801E00E04E8425B9E5D5
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB801E00E04E84
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801E00
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 30 (001E)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 4E84
==============================================
MIC: 25B9E5D5
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 04285206F893E890D687E5
Additional information: Modified MIC: 38FFDC20 ->FFFFFFFF
TEST CASE: td_lorawan_sec_02
Step 2: S2WaitOkFinal
Check that the last PING was ignored.
- Reception from DUT: TAOK message.
- TAS sends: None.
Step 1: S1ActokToWrongMIC
Wait an ACT OK from the DUT to send a PING with wrong MIC.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: PING message with wrong MIC.
Test ID: TD_LoRaWAN_
Objective: Test if a message with a wrong MIC is ignored as expected.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode.
TD_LORAWAN_RESET: Step information
Completed Step: S3ActokFinalStep
Next step: No next step.
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB801D00E00B859C0949CA (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB801D00E00B859C0949CA
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB801D00E00B85
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801D00
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 29 (001D)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 0B85
==============================================
MIC: 9C0949CA
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_RESET: Step information
Completed Step: S2DataToActivate
Next step: S3ActokFinalStep
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB001C0016A48826585394B1553FCCCAE2497CAB238080A26F (Size: 29 bytes)
----------------------------------------------
PHY payload:
401CB957BB001C0016A48826585394B1553FCCCAE2497CAB238080A26F
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB001C0016A48826585394B1553FCCCAE2497CAB23
----------------------------------------------
MAC payload information
FHDR: 1CB957BB001C00
----DevAddr: BB57B91C
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 28 (001C)
----FOpts: None
FPort: 22
Encrypted FRMPayload: A48826585394B1553FCCCAE2497CAB23
==============================================
MIC: 8080A26F
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 01010101
TD_LORAWAN_RESET: Step information
Completed Step: S1AnyToDeactivate
Next step: S2DataToActivate
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
PHYPayload: 401CB957BB801B00E0AB5E8B3DB134 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB801B00E0AB5E8B3DB134
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB801B00E0AB5E
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801B00
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 27 (001B)
----FOpts: None
FPort: 224
Encrypted FRMPayload: AB5E
==============================================
MIC: 8B3DB134
==============================================
Decrypted FRMPayload: 0006
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 00
TEST CASE: td_lorawan_reset
Step 3: S3ActokFinalStep
The test is expecting a Test Activation Ok message with the current
downlink counter
- Reception from DUT: TAOK message with the downlink counter.- TAS sends: none
Step 2: S2DataToActivate
Wait any data from the DUT to activate Test Mode.
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT(DL packet with payload 0x01010101 sent to port 224)
The payload is encrypted with the AppSKey.
Step 1: S1AnyToDeactivate
Sends the Test Mode deactivation message after any received message.
- Reception from DUT: Any LoRaWAN message.
- TAS sends: Test Mode deactivation (payload 0x00).
Test ID: TD_LoRaWAN_RESET
Objective: Resets the DUT to a known state after a test fails, deactivating and activating again the Test Mode.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions:
The end device has a pre-configured DevAddr, NwkSKey and AppSKey.
The Test Application Server has the end device registered in its ABP device list and knows its NwkSkey, AppSKey and DevAddr.
td_lorawan_sec_01: Step Fail
td_lorawan_sec_01 Test td_lorawan_sec_01 failed with EchoError error.
: PONG 048EFB2952 received when expecting 048DFA2851.
: Test: td_lorawan_sec_01
: Step: S2RepeatedPingPong
: Last received message:
: tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
: PHYPayload: 401CB957BB801A00E061303BD7B633B0200A (Size: 18 bytes)
:
: ----------------------------------------------
: PHY payload:
: 401CB957BB801A00E061303BD7B633B0200A
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 1CB957BB801A00E061303BD7B6
: ----------------------------------------------
: MAC payload information
: FHDR: 1CB957BB801A00
: ----DevAddr: BB57B91C
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 26 (001A)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: 61303BD7B6
: ==============================================
: MIC: 33B0200A
: ==============================================
: Decrypted FRMPayload: 048EFB2952
: (Key BB179C3E54DB1400B3F8ABD5E00CF216)
:
TD_LORAWAN_SEC_01: Step information
Completed Step: S1ActokToPing
Next step: S2RepeatedPingPong
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB801900E033AAB847C861 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB801900E033AAB847C861
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB801900E033AA
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801900
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 25 (0019)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 33AA
==============================================
MIC: B847C861
==============================================
Decrypted FRMPayload: 0005
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 048CF92750
TEST CASE: td_lorawan_sec_01
Step 3: S3PongFinal.
Verifies the last PONG message, if it is correct the test case result is PASS.
- Reception from DUT: PONG message (response of a previously sent PING).
- TAS sends: None.
Step : _
Initiates 10 PING PONG exchanges to check the cryptography implementation.
- Reception from DUT: PONG message (response of a previously sent PING).
- TAS sends: PING message.
Step 1: S1ActokToPing
Wait an ACT OK from the DUT to initate a PING PONG exchange.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: PING message.
Test ID: TD_LoRaWAN_SEC_01
Objective: Test the encryption of the LoRaWAN data messages by the exchange of PING PONG echo messages.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode.
TD_LORAWAN_FUN_06: Step information
Completed Step: S2CheckRetransmissions
Next step: S2CheckRetransmissions
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
PHYPayload: 801CB957BB801800E0D9E635BF97FD (Size: 15 bytes)
----------------------------------------------
PHY payload:
801CB957BB801800E0D9E635BF97FD
MHDR bits: 10000000 (CONFIRMED_UP)
MACPayload: 1CB957BB801800E0D9E6
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801800
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 24 (0018)
----FOpts: None
FPort: 224
Encrypted FRMPayload: D9E6
==============================================
MIC: 35BF97FD
==============================================
Decrypted FRMPayload: 0004
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Received 2/2.
TD_LORAWAN_FUN_06: Step information
Completed Step: S2CheckRetransmissions
Next step: S2CheckRetransmissions
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 801CB957BB801800E0D9E635BF97FD (Size: 15 bytes)
----------------------------------------------
PHY payload:
801CB957BB801800E0D9E635BF97FD
MHDR bits: 10000000 (CONFIRMED_UP)
MACPayload: 1CB957BB801800E0D9E6
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801800
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 24 (0018)
----FOpts: None
FPort: 224
Encrypted FRMPayload: D9E6
==============================================
MIC: 35BF97FD
==============================================
Decrypted FRMPayload: 0004
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Received 1/2.
TD_LORAWAN_FUN_06: Step information
Completed Step: S1ActOKToSetConfirmed
Next step: S2CheckRetransmissions
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB801700E0DE760CA65761 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB801700E0DE760CA65761
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB801700E0DE76
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801700
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 23 (0017)
----FOpts: None
FPort: 224
Encrypted FRMPayload: DE76
==============================================
MIC: 0CA65761
==============================================
Decrypted FRMPayload: 0003
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 02
TEST CASE: td_lorawan_fun_06
Step 2: S2CheckRetransmissions
The TAS don’t send the acknowledgment of the uplink messages to vefify the node retransmissions. After checking 2 retransmissions the UNCONFIRMED messages are configured again for all subsequent uplink communication.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: ACK the messages and configures the UNCONFIRMED uplink frames (plain text FRMPaylod=0x03).
Step 1: S1ActOKToSetConfirmed
Checks the downlink counter of the TAOK message and configures the node to use CONFIRMED uplink frames sending a test ID 2.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: Triggers the usage of CONFIRMED uplink frames (plain text FRMPaylod=0x02).
Test ID: TD_LoRaWAN_
Objective: Test the handling of the ACK bit in the confirmed message exchange, verifying the uplink retransmission of a message when the server does not send the acknowledgement.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT has an active session with the TAS and is in Test Mode.
TD_LORAWAN_FUN_05: Step information
Completed Step: S2CheckConfirmedAndACK
Next step: No next step.
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 801CB957BB801600E03783B930AECC (Size: 15 bytes)
----------------------------------------------
PHY payload:
801CB957BB801600E03783B930AECC
MHDR bits: 10000000 (CONFIRMED_UP)
MACPayload: 1CB957BB801600E03783
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801600
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 22 (0016)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 3783
==============================================
MIC: B930AECC
==============================================
Decrypted FRMPayload: 0002
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_FUN_05: Step information
Completed Step: S1ActOKToSetConfirmed
Next step: S2CheckConfirmedAndACK
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB801500E07CE711402ECD (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB801500E07CE711402ECD
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB801500E07CE7
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801500
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 21 (0015)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 7CE7
==============================================
MIC: 11402ECD
==============================================
Decrypted FRMPayload: 0001
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 02
TEST CASE: td_lorawan_fun_05
Step 2: S2CheckConfirmedAndACK
Configures again the usage of UNCONFIRMED frames and sends the ACK.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: ACK the messages and configures the UNCONFIRMED uplink frames (plain text FRMPaylod=0x03).
Step 1: S1ActOKToSetConfirmed
Checks the downlink counter of the TAOK message and configures the node to use CONFIRMED uplink frames sending a test ID 2.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: Triggers the usage of CONFIRMED uplink frames (plain text FRMPaylod=0x02).
Test ID: TD_LoRaWAN_FUN_05
Objective: Test the implementation of confirmed packets, verifies the handling of the ACK bit in the uplink messages.
References: LoRaWAN Specification v1.0.2.
The DUT has an active session with the TAS and is in Test Mode.
TD_LORAWAN_FUN_04: Step information
Completed Step: S2ActokFinal
Next step: No next step.
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB801400E0954A72B4ED73 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB801400E0954A72B4ED73
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB801400E0954A
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801400
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 20 (0014)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 954A
==============================================
MIC: 72B4ED73
==============================================
Decrypted FRMPayload: 0001
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_FUN_04: Step information
Completed Step: S1ActokToWrongFCnt
Next step: S2ActokFinal
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB801300E04347B0FE70E6 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB801300E04347B0FE70E6
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB801300E04347
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801300
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 19 (0013)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 4347
==============================================
MIC: B0FE70E6
==============================================
Decrypted FRMPayload: 0001
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 00
Additional information: This message should be ignored. Bad FCnt dl: 11 ->9
TEST CASE: td_lorawan_fun_04
Step 2: S2ActokFinal
Waits and Activation Ok message with the current downlink counter.
- Reception from DUT:
- TAS sends: None.
Step 1: S1ActokToWrongFCnt.
Waits and Activation Ok message with the current downlink counter of the session and after it's received a message with a decreasing frame downlink counter will be sent. This messages must be ignored.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: message with wrong frame downlink counter.
Test ID: TD_LoRaWAN_FUN_04
Objective: Checks that a message with decreasing downlink frame counter is ignored.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT has an active session with the TAS and is in Test Mode.
Step 2: s2_actok_final
Waits and Activation Ok message with the current downlink counter.
TD_LORAWAN_FUN_03: Step information
Completed Step: S1CountCheckFCntUp
Next step: S1CountCheckFCntUp
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
PHYPayload: 401CB957BB801200E048E94DD9895B (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB801200E048E94DD9895B
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB801200E048E9
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801200
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 18 (0012)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 48E9
==============================================
MIC: 4DD9895B
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Received 3/3.
TD_LORAWAN_FUN_03: Step information
Completed Step: S1CountCheckFCntUp
Next step: S1CountCheckFCntUp
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB801100E08228B062E105 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB801100E08228B062E105
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB801100E08228
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801100
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 17 (0011)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 8228
==============================================
MIC: B062E105
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Received 2/3.
TD_LORAWAN_FUN_03: Step information
Completed Step: S1CountCheckFCntUp
Next step: S1CountCheckFCntUp
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB801000E096B0203FCBDF (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB801000E096B0203FCBDF
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB801000E096B0
----------------------------------------------
MAC payload information
FHDR: 1CB957BB801000
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 16 (0010)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 96B0
==============================================
MIC: 203FCBDF
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Additional information: Received 1/3.
TEST CASE: td_lorawan_fun_03
Step 1: S1CountCheckFCntUp
Count TAOK messages with the current downlink counter of the session and check that the uplink frame counter is incremented.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: None.
Test ID: TD_LoRaWAN_FUN_03
Objective: Check the handling of the uplink sequence number.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode.
TD_LORAWAN_RESET: Step information
Completed Step: S3ActokFinalStep
Next step: No next step.
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB800F00E0EFB4F6F5C70F (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB800F00E0EFB4F6F5C70F
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB800F00E0EFB4
----------------------------------------------
MAC payload information
FHDR: 1CB957BB800F00
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 15 (000F)
----FOpts: None
FPort: 224
Encrypted FRMPayload: EFB4
==============================================
MIC: F6F5C70F
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_RESET: Step information
Completed Step: S2DataToActivate
Next step: S3ActokFinalStep
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB000E0016E9CB52BE2C35AC7139B22EDE94DC78490DABF262 (Size: 29 bytes)
----------------------------------------------
PHY payload:
401CB957BB000E0016E9CB52BE2C35AC7139B22EDE94DC78490DABF262
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB000E0016E9CB52BE2C35AC7139B22EDE94DC7849
----------------------------------------------
MAC payload information
FHDR: 1CB957BB000E00
----DevAddr: BB57B91C
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 14 (000E)
----FOpts: None
FPort: 22
Encrypted FRMPayload: E9CB52BE2C35AC7139B22EDE94DC7849
==============================================
MIC: 0DABF262
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 01010101
TD_LORAWAN_RESET: Step information
Completed Step: S1AnyToDeactivate
Next step: S2DataToActivate
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
PHYPayload: 401CB957BB800D00E002D8D4190EBB (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB800D00E002D8D4190EBB
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB800D00E002D8
----------------------------------------------
MAC payload information
FHDR: 1CB957BB800D00
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 13 (000D)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 02D8
==============================================
MIC: D4190EBB
==============================================
Decrypted FRMPayload: 0001
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 00
TEST CASE: td_lorawan_reset
Step 3: S3ActokFinalStep
The test is expecting a Test Activation Ok message with the current
downlink counter
- Reception from DUT: TAOK message with the downlink counter.- TAS sends: none
Step 2: S2DataToActivate
Wait any data from the DUT to activate Test Mode.
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT(DL packet with payload 0x01010101 sent to port 224)
The payload is encrypted with the AppSKey.
Step 1: S1AnyToDeactivate
Sends the Test Mode deactivation message after any received message.
- Reception from DUT: Any LoRaWAN message.
- TAS sends: Test Mode deactivation (payload 0x00).
Test ID: TD_LoRaWAN_RESET
Objective: Resets the DUT to a known state after a test fails, deactivating and activating again the Test Mode.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions:
The end device has a pre-configured DevAddr, NwkSKey and AppSKey.
The Test Application Server has the end device registered in its ABP device list and knows its NwkSkey, AppSKey and DevAddr.
td_lorawan_fun_02: Step Fail
td_lorawan_fun_02 Test td_lorawan_fun_02 failed with EchoError error.
: PONG 04C1B2F4 received when expecting 04C0B1F3.
: Test: td_lorawan_fun_02
: Step: S2WaitPong
: Last received message:
: tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
: PHYPayload: 401CB957BB800C00E0ECFC00A366771418 (Size: 17 bytes)
:
: ----------------------------------------------
: PHY payload:
: 401CB957BB800C00E0ECFC00A366771418
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 1CB957BB800C00E0ECFC00A3
: ----------------------------------------------
: MAC payload information
: FHDR: 1CB957BB800C00
: ----DevAddr: BB57B91C
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 12 (000C)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: ECFC00A3
: ==============================================
: MIC: 66771418
: ==============================================
: Decrypted FRMPayload: 04C1B2F4
: (Key BB179C3E54DB1400B3F8ABD5E00CF216)
:
TD_LORAWAN_FUN_02: Step information
Completed Step: S1ActokToPingDelayPlus20
Next step: S2WaitPong
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB800B00E05AF85228A40B (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB800B00E05AF85228A40B
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB800B00E05AF8
----------------------------------------------
MAC payload information
FHDR: 1CB957BB800B00
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 11 (000B)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 5AF8
==============================================
MIC: 5228A40B
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 04BFB0F2
TEST CASE: td_lorawan_fun_02
Step 8: 8WaitPong
Checks the reception of the PONG message.
- Reception from DUT: PONG message.
- TAS sends: None.
Step 7: S7ActokToPingDelayMinus20
Waits and Activation Ok message with the current downlink counter of the session and after it's received a PING PONG exchange will be initiated, using RX2 with a timing error of -20 micro seconds.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: PING message with a -20 micro seconds delay in RX2.
Step 6: 6WaitPong
Checks the reception of the PONG message.
- Reception from DUT: PONG message.
- TAS sends: None.
Step 5: S5ActokToPingDelayMinus20
Waits and Activation Ok message with the current downlink counter of the session and after it's received a PING PONG exchange will be initiated, using RX1 with a timing error of -20 micro seconds.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: PING message with a -20 micro seconds delay in RX1.
Step 4: S4WaitPong
Checks the reception of the PONG message.
- Reception from DUT: PONG message.
- TAS sends: None.
Step 2: S3ActokToPingDelayPlus20
Waits and Activation Ok message with the current downlink counter of the session and after it's received a PING PONG exchange will be initiated, using RX2 with a timing error of +20 micro seconds.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: PING message with a +20 micro seconds delay in RX2.
Step 2: S2WaitPong
Checks the reception of the PONG message.
- Reception from DUT: PONG message.
- TAS sends: None.
Step 1: S1ActokToPingDelayPlus20
Waits and Activation Ok message with the current downlink counter of the session and after it's received a PING PONG exchange will be initiated, using RX1 with a timing error of +20 micro seconds.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: PING message with a +20 micro seconds delay in RX1.
Test ID: TD_LoRaWAN_FUN_02
Objective: Test the node's tolerance to timing errors in the download reception windows. Verifies that downlink messages with +/- 20us in RX1 and RX2 are correctly received.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode and supports Over The Air Activation (OTAA).
TD_LORAWAN_RESET: Step information
Completed Step: S3ActokFinalStep
Next step: No next step.
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB800A00E0A84DCBE21223 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB800A00E0A84DCBE21223
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB800A00E0A84D
----------------------------------------------
MAC payload information
FHDR: 1CB957BB800A00
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 10 (000A)
----FOpts: None
FPort: 224
Encrypted FRMPayload: A84D
==============================================
MIC: CBE21223
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_RESET: Step information
Completed Step: S2DataToActivate
Next step: S3ActokFinalStep
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB00090016EFFA677423A06792C1652346C36CFD055D66EE61 (Size: 29 bytes)
----------------------------------------------
PHY payload:
401CB957BB00090016EFFA677423A06792C1652346C36CFD055D66EE61
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB00090016EFFA677423A06792C1652346C36CFD05
----------------------------------------------
MAC payload information
FHDR: 1CB957BB000900
----DevAddr: BB57B91C
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 9 (0009)
----FOpts: None
FPort: 22
Encrypted FRMPayload: EFFA677423A06792C1652346C36CFD05
==============================================
MIC: 5D66EE61
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 01010101
TD_LORAWAN_RESET: Step information
Completed Step: S1AnyToDeactivate
Next step: S2DataToActivate
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB800800E0C388C84DC3C2 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB800800E0C388C84DC3C2
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB800800E0C388
----------------------------------------------
MAC payload information
FHDR: 1CB957BB800800
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 8 (0008)
----FOpts: None
FPort: 224
Encrypted FRMPayload: C388
==============================================
MIC: C84DC3C2
==============================================
Decrypted FRMPayload: 0001
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 00
TEST CASE: td_lorawan_reset
Step 3: S3ActokFinalStep
The test is expecting a Test Activation Ok message with the current
downlink counter
- Reception from DUT: TAOK message with the downlink counter.- TAS sends: none
Step 2: S2DataToActivate
Wait any data from the DUT to activate Test Mode.
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT(DL packet with payload 0x01010101 sent to port 224)
The payload is encrypted with the AppSKey.
Step 1: S1AnyToDeactivate
Sends the Test Mode deactivation message after any received message.
- Reception from DUT: Any LoRaWAN message.
- TAS sends: Test Mode deactivation (payload 0x00).
Test ID: TD_LoRaWAN_RESET
Objective: Resets the DUT to a known state after a test fails, deactivating and activating again the Test Mode.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions:
The end device has a pre-configured DevAddr, NwkSKey and AppSKey.
The Test Application Server has the end device registered in its ABP device list and knows its NwkSkey, AppSKey and DevAddr.
td_lorawan_fun_01: Step Fail
td_lorawan_fun_01 Test td_lorawan_fun_01 failed with EchoError error.
: PONG 04406A27366BCEA8EAD57B7613 received when expecting 043F6926356ACDA7E9D47A7512.
: Test: td_lorawan_fun_01
: Step: S2ProcessPong
: Last received message:
: tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
: PHYPayload: 401CB957BB800700E00CB1E6B09950ABAACD26AFF8D69CED002D (Size: 26 bytes)
:
: ----------------------------------------------
: PHY payload:
: 401CB957BB800700E00CB1E6B09950ABAACD26AFF8D69CED002D
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 1CB957BB800700E00CB1E6B09950ABAACD26AFF8D6
: ----------------------------------------------
: MAC payload information
: FHDR: 1CB957BB800700
: ----DevAddr: BB57B91C
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 7 (0007)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: 0CB1E6B09950ABAACD26AFF8D6
: ==============================================
: MIC: 9CED002D
: ==============================================
: Decrypted FRMPayload: 04406A27366BCEA8EAD57B7613
: (Key BB179C3E54DB1400B3F8ABD5E00CF216)
:
TD_LORAWAN_FUN_01: Step information
Completed Step: S1ActokToPing
Next step: S2ProcessPong
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB800600E0DC64B925BA44 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB800600E0DC64B925BA44
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB800600E0DC64
----------------------------------------------
MAC payload information
FHDR: 1CB957BB800600
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 6 (0006)
----FOpts: None
FPort: 224
Encrypted FRMPayload: DC64
==============================================
MIC: B925BA44
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 043E68253469CCA6E8D3797411
TEST CASE: td_lorawan_fun_01
Step 3: S3CountFinalStep.
Count a predefined amount (2) of TAOK messages.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: None.
Step 2: S2ProcessPong
After the PONG message is received, a count is started.
- Reception from DUT: PONG message.
- TAS sends: None.
Step 1: S1ActokToPing
Waits for a TAOK (Activation Ok) message with the current downlink counter of the session and after it's received a PING PONG exchange will be initiated.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: PING message.
Test ID: TD_LoRaWAN_FUN_01
Objective: Basic test application functionality with a message exchange. Initiates a PING PONG echo exchange and verifies the TAOK downlink counter.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT has an active session with the TAS and is in Test Mode.
TD_LORAWAN_RESET: Step information
Completed Step: S3ActokFinalStep
Next step: No next step.
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB800500E0D1FC99DC8370 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB800500E0D1FC99DC8370
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB800500E0D1FC
----------------------------------------------
MAC payload information
FHDR: 1CB957BB800500
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 5 (0005)
----FOpts: None
FPort: 224
Encrypted FRMPayload: D1FC
==============================================
MIC: 99DC8370
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
TD_LORAWAN_RESET: Step information
Completed Step: S2DataToActivate
Next step: S3ActokFinalStep
Received from DUT:
tmst:<PHONE_NUMBER>, freq: 868.5, DR: SF8BW125
PHYPayload: 401CB957BB000400165A8AB4BFF3BED56E29BD945747267C286DB98181 (Size: 29 bytes)
----------------------------------------------
PHY payload:
401CB957BB000400165A8AB4BFF3BED56E29BD945747267C286DB98181
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB000400165A8AB4BFF3BED56E29BD945747267C28
----------------------------------------------
MAC payload information
FHDR: 1CB957BB000400
----DevAddr: BB57B91C
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 4 (0004)
----FOpts: None
FPort: 22
Encrypted FRMPayload: 5A8AB4BFF3BED56E29BD945747267C28
==============================================
MIC: 6DB98181
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 01010101
TD_LORAWAN_RESET: Step information
Completed Step: S1AnyToDeactivate
Next step: S2DataToActivate
Received from DUT:
tmst: 989388204, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB800300E05DC742D2DB2B (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB800300E05DC742D2DB2B
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB800300E05DC7
----------------------------------------------
MAC payload information
FHDR: 1CB957BB800300
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 3 (0003)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 5DC7
==============================================
MIC: 42D2DB2B
==============================================
Decrypted FRMPayload: 0001
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 00
TEST CASE: td_lorawan_reset
Step 3: S3ActokFinalStep
The test is expecting a Test Activation Ok message with the current
downlink counter
- Reception from DUT: TAOK message with the downlink counter.- TAS sends: none
Step 2: S2DataToActivate
Wait any data from the DUT to activate Test Mode.
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT(DL packet with payload 0x01010101 sent to port 224)
The payload is encrypted with the AppSKey.
Step 1: S1AnyToDeactivate
Sends the Test Mode deactivation message after any received message.
- Reception from DUT: Any LoRaWAN message.
- TAS sends: Test Mode deactivation (payload 0x00).
Test ID: TD_LoRaWAN_RESET
Objective: Resets the DUT to a known state after a test fails, deactivating and activating again the Test Mode.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions:
The end device has a pre-configured DevAddr, NwkSKey and AppSKey.
The Test Application Server has the end device registered in its ABP device list and knows its NwkSkey, AppSKey and DevAddr.
td_lorawan_act_05: Step Fail
td_lorawan_act_05 Test td_lorawan_act_05 failed with EchoError error.
: PONG 04FA079B7B36903D5822E5DDCB3D received when expecting 04F9069A7A358F3C5721E4DCCA3C.
: Test: td_lorawan_act_05
: Step: S5PongToPing
: Last received message:
: tmst: 984419068, freq: 868.1, DR: SF8BW125
: PHYPayload: 401CB957BB800200E02025C3475A7E1A15C547F29462C8DE2BF34A (Size: 27 bytes)
:
: ----------------------------------------------
: PHY payload:
: 401CB957BB800200E02025C3475A7E1A15C547F29462C8DE2BF34A
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 1CB957BB800200E02025C3475A7E1A15C547F29462C8
: ----------------------------------------------
: MAC payload information
: FHDR: 1CB957BB800200
: ----DevAddr: BB57B91C
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 2 (0002)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: 2025C3475A7E1A15C547F29462C8
: ==============================================
: MIC: DE2BF34A
: ==============================================
: Decrypted FRMPayload: 04FA079B7B36903D5822E5DDCB3D
: (Key BB179C3E54DB1400B3F8ABD5E00CF216)
:
TD_LORAWAN_ACT_05: Step information
Completed Step: S4ActokToPing
Next step: S5PongToPing
Received from DUT:
tmst: 979388484, freq: 868.3, DR: SF8BW125
PHYPayload: 401CB957BB800100E038604D058076 (Size: 15 bytes)
----------------------------------------------
PHY payload:
401CB957BB800100E038604D058076
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB800100E03860
----------------------------------------------
MAC payload information
FHDR: 1CB957BB800100
----DevAddr: BB57B91C
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 1 (0001)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 3860
==============================================
MIC: 4D058076
==============================================
Decrypted FRMPayload: 0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 04F8059979348E3B5620E3DBC93B
TD_LORAWAN_ACT_05: Step information
Completed Step: S3DataToActivate
Next step: S4ActokToPing
Received from DUT:
tmst: 976094100, freq: 868.1, DR: SF8BW125
PHYPayload: 401CB957BB00000016AA4055FE1EE0710CD2E1AFB1BD98B42133472274 (Size: 29 bytes)
----------------------------------------------
PHY payload:
401CB957BB00000016AA4055FE1EE0710CD2E1AFB1BD98B42133472274
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 1CB957BB00000016AA4055FE1EE0710CD2E1AFB1BD98B421
----------------------------------------------
MAC payload information
FHDR: 1CB957BB000000
----DevAddr: BB57B91C
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 0 (0000)
----FOpts: None
FPort: 22
Encrypted FRMPayload: AA4055FE1EE0710CD2E1AFB1BD98B421
==============================================
MIC: 33472274
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key BB179C3E54DB1400B3F8ABD5E00CF216)
Sending to DUT: 01010101
TD_LORAWAN_ACT_05: Step information
Completed Step: S2JoinrequestToAccept
Next step: S3DataToActivate
Received from DUT:
tmst: 965601724, freq: 868.5, DR: SF8BW125
PHYPayload:<PHONE_NUMBER>010101010101010101010101FD7A5206259F (Size: 23 bytes)
----------------------------------------------
PHY payload:
0001010101010101010101010101010101FD7A5206259F
MHDR bits: 00000000 (JOIN_REQUEST)
MACPayload:<PHONE_NUMBER>0101010101010101010101FD7A
----------------------------------------------
Join Request information
AppEUI:<PHONE_NUMBER>010101
DevEUI:<PHONE_NUMBER>010101
DevNonce: 7AFD
==============================================
MIC: 5206259F
==============================================
Sending to DUT: 20CCB7980FE2EC8D600D7E3F7D34F3747DEBA98D15E1F13CC0AAD0CB64F0DADE8D
Additional information: Session Updated. DevAddr: BB57B91C DevEUI:<PHONE_NUMBER>010101 AppSKey: BB179C3E54DB1400B3F8ABD5E00CF216 NwkSKey: EA43C999AB20A30752D92FD5DF027917 AppKey: 2B7E151628AED2A6ABF7158809CF4F3C
TD_LORAWAN_ACT_05: Step information
Completed Step: S1ActokToTriggerJoin
Next step: S2JoinrequestToAccept
Received from DUT:
tmst: 964349828, freq: 868.3, DR: SF8BW125
PHYPayload: 40F9ED25E8800D00E0209B9C027091 (Size: 15 bytes)
----------------------------------------------
PHY payload:
40F9ED25E8800D00E0209B9C027091
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: F9ED25E8800D00E0209B
----------------------------------------------
MAC payload information
FHDR: F9ED25E8800D00
----DevAddr: E825EDF9
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 13 (000D)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 209B
==============================================
MIC: 9C027091
==============================================
Decrypted FRMPayload: 7020
(Key FF7E151628AED2A6ABF7158809CF4F3C)
Sending to DUT: 06
TEST CASE: td_lorawan_act_05
Step 6: S6PongFinalStep
Checks the last PONG.
- Reception from DUT: PONG message.
- TAS sends: none.
Step 5: S5PongToPing
Waits for the PONG message and sends another PING, now using RX2.
- Reception from DUT: PONG message.
- TAS sends: PING message using RX2.
Step 4: S4ActokToPing
After receiving an Activation OK message with the current downlink counter, a PING message will be sent.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: PING message in RX1.
Step 3: S3DataToActivate
A data message is expected, and the Test Mode will be activated after its reception
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT(DL packet with payload 0x01010101 sent to port 224).
Step 2: S2JoinRequestToAccept
Waits for a join request message. A Join Accept will be sent in response with the default configuration.
- Reception from DUT: Join Request message.
- TAS sends: Join Accept message.
Step 1: S1ActokToTriggerJoin
Waits and Activation Ok message with the current downlink counter of the session and, after it's received, a new session will be requested.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: Trigger join request with test ID 6.
Test ID: TD_LoRaWAN_ACT_05
Objective: Uses Join-accept message to initiate a new session restoring the default LoRaWAN MAC parameters.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode and supports Over The Air Activation (OTAA).
TD_LORAWAN_ACT_04: Step information
Completed Step: S4VerifyFrequencies
Next step: S4VerifyFrequencies
Received from DUT:
Received:868.1.
({868.1: 1, 868.3: 1, 868.5: 1, 867.1: 3, 867.3: 1, 867.5: 1, 867.7: 2, 867.9: 2})
Count 12 of 40 limit.
TD_LORAWAN_ACT_04: Step information
Completed Step: S4VerifyFrequencies
Next step: S4VerifyFrequencies
Received from DUT:
Received:867.1.
({868.1: 0, 868.3: 1, 868.5: 1, 867.1: 3, 867.3: 1, 867.5: 1, 867.7: 2, 867.9: 2})
Count 11 of 40 limit.
TD_LORAWAN_ACT_04: Step information
Completed Step: S4VerifyFrequencies
Next step: S4VerifyFrequencies
Received from DUT:
Received:867.1.
({868.1: 0, 868.3: 1, 868.5: 1, 867.1: 2, 867.3: 1, 867.5: 1, 867.7: 2, 867.9: 2})
Count 10 of 40 limit.
TD_LORAWAN_ACT_04: Step information
Completed Step: S4VerifyFrequencies
Next step: S4VerifyFrequencies
Received from DUT:
Received:867.7.
({868.1: 0, 868.3: 1, 868.5: 1, 867.1: 1, 867.3: 1, 867.5: 1, 867.7: 2, 867.9: 2})
Count 9 of 40 limit.
TD_LORAWAN_ACT_04: Step information
Completed Step: S4VerifyFrequencies
Next step: S4VerifyFrequencies
Received from DUT:
Received:867.5.
({868.1: 0, 868.3: 1, 868.5: 1, 867.1: 1, 867.3: 1, 867.5: 1, 867.7: 1, 867.9: 2})
Count 8 of 40 limit.
TD_LORAWAN_ACT_04: Step information
Completed Step: S4VerifyFrequencies
Next step: S4VerifyFrequencies
Received from DUT:
Received:867.9.
({868.1: 0, 868.3: 1, 868.5: 1, 867.1: 1, 867.3: 1, 867.5: 0, 867.7: 1, 867.9: 2})
Count 7 of 40 limit.
TD_LORAWAN_ACT_04: Step information
Completed Step: S4VerifyFrequencies
Next step: S4VerifyFrequencies
Received from DUT:
Received:867.9.
({868.1: 0, 868.3: 1, 868.5: 1, 867.1: 1, 867.3: 1, 867.5: 0, 867.7: 1, 867.9: 1})
Count 6 of 40 limit.
TD_LORAWAN_ACT_04: Step information
Completed Step: S4VerifyFrequencies
Next step: S4VerifyFrequencies
Received from DUT:
Received:868.5.
({868.1: 0, 868.3: 1, 868.5: 1, 867.1: 1, 867.3: 1, 867.5: 0, 867.7: 1, 867.9: 0})
Count 5 of 40 limit.
TD_LORAWAN_ACT_04: Step information
Completed Step: S4VerifyFrequencies
Next step: S4VerifyFrequencies
Received from DUT:
Received:868.3.
({868.1: 0, 868.3: 1, 868.5: 0, 867.1: 1, 867.3: 1, 867.5: 0, 867.7: 1, 867.9: 0})
Count 4 of 40 limit.
TD_LORAWAN_ACT_04: Step information
Completed Step: S4VerifyFrequencies
Next step: S4VerifyFrequencies
Received from DUT:
Received:867.3.
({868.1: 0, 868.3: 0, 868.5: 0, 867.1: 1, 867.3: 1, 867.5: 0, 867.7: 1, 867.9: 0})
Count 3 of 40 limit.
TD_LORAWAN_ACT_04: Step information
Completed Step: S4VerifyFrequencies
Next step: S4VerifyFrequencies
Received from DUT:
Received:867.1.
({868.1: 0, 868.3: 0, 868.5: 0, 867.1: 1, 867.3: 0, 867.5: 0, 867.7: 1, 867.9: 0})
Count 2 of 40 limit.
TD_LORAWAN_ACT_04: Step information
Completed Step: S4VerifyFrequencies
Next step: S4VerifyFrequencies
Received from DUT:
Received:867.7.
({868.1: 0, 868.3: 0, 868.5: 0, 867.1: 0, 867.3: 0, 867.5: 0, 867.7: 1, 867.9: 0})
Count 1 of 40 limit.
TD_LORAWAN_ACT_04: Step information
Completed Step: S3DataToActivate
Next step: S4VerifyFrequencies
Received from DUT:
tmst: 901057116, freq: 867.5, DR: SF8BW125
PHYPayload: 40F9ED25E800000016FF1473294622C52E90354869A3120BA89ABDE46F (Size: 29 bytes)
----------------------------------------------
PHY payload:
40F9ED25E800000016FF1473294622C52E90354869A3120BA89ABDE46F
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: F9ED25E800000016FF1473294622C52E90354869A3120BA8
----------------------------------------------
MAC payload information
FHDR: F9ED25E8000000
----DevAddr: E825EDF9
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 0 (0000)
----FOpts: None
FPort: 22
Encrypted FRMPayload: FF1473294622C52E90354869A3120BA8
==============================================
MIC: 9ABDE46F
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key D405C53AC616DA5DBD1C5AAC1091CDBF)
Sending to DUT: 01010101
TD_LORAWAN_ACT_04: Step information
Completed Step: S2JoinrequestToAccept
Next step: S3DataToActivate
Received from DUT:
tmst: 892495356, freq: 868.5, DR: SF8BW125
PHYPayload:<PHONE_NUMBER>0101010101010101010101016855C64DCD6B (Size: 23 bytes)
----------------------------------------------
PHY payload:
00010101010101010101010101010101016855C64DCD6B
MHDR bits: 00000000 (JOIN_REQUEST)
MACPayload:<PHONE_NUMBER>01010101010101010101016855
----------------------------------------------
Join Request information
AppEUI:<PHONE_NUMBER>010101
DevEUI:<PHONE_NUMBER>010101
DevNonce: 5568
==============================================
MIC: C64DCD6B
==============================================
Sending to DUT: 20DBF74B77DDFFD2EED6CCB15DC7D1ED5D6C15CB7D358A1E7C44C50EE61A4815E6
Additional information: Session Updated. DevAddr: E825EDF9 DevEUI:<PHONE_NUMBER>010101 AppSKey: D405C53AC616DA5DBD1C5AAC1091CDBF NwkSKey: 7C97D370C52035E0F6BC683AEA075BAC AppKey: 2B7E151628AED2A6ABF7158809CF4F3C
TD_LORAWAN_ACT_04: Step information
Completed Step: S1ActokToTriggerJoin
Next step: S2JoinrequestToAccept
Received from DUT:
tmst: 889242540, freq: 868.3, DR: SF8BW125
PHYPayload: 4001E18627800600E0015A38B5DAC4 (Size: 15 bytes)
----------------------------------------------
PHY payload:
4001E18627800600E0015A38B5DAC4
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 01E18627800600E0015A
----------------------------------------------
MAC payload information
FHDR: 01E18627800600
----DevAddr: 2786E101
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 6 (0006)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 015A
==============================================
MIC: 38B5DAC4
==============================================
Decrypted FRMPayload: B460
(Key FF7E151628AED2A6ABF7158809CF4F3C)
Sending to DUT: 06
TEST CASE: td_lorawan_act_04
Step 4: S4VerifyFrequencies
The test stays in this step and verifies that all the frequencies are being used.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: none.
Step 3: S3DataToActivate
A data message is expected, and the Test Mode will be activated after its reception.
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT(DL packet with payload 0x01010101 sent to port 224).
Step 2: S2JoinRequestToAccept
Waits for a join request message. A Join Accept will be sent in response configuring new channels (using CFList).
- Reception from DUT: Join Request message.
- TAS sends: Join Accept message configuring CFList to add new channels.
Step 1: S1ActokToTriggerJoin
Waits and Activation Ok message with the current downlink counter ofthe session and, after it's received, a new session will be requested
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: Trigger join request with test ID 6.
Test ID: TD_LoRaWAN_ACT_04
Objective: Test Over the Air Activation configuring 5 new channels.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode and supports Over The Air Activation (OTAA).
TD_LORAWAN_RESET: Step information
Completed Step: S3ActokFinalStep
Next step: No next step.
Received from DUT:
tmst: 879242820, freq: 868.1, DR: SF8BW125
PHYPayload: 4001E18627800500E0307478AE4749 (Size: 15 bytes)
----------------------------------------------
PHY payload:
4001E18627800500E0307478AE4749
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 01E18627800500E03074
----------------------------------------------
MAC payload information
FHDR: 01E18627800500
----DevAddr: 2786E101
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 5 (0005)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 3074
==============================================
MIC: 78AE4749
==============================================
Decrypted FRMPayload: 0000
(Key 557694B3B39429784BB876E9120E6D81)
TD_LORAWAN_RESET: Step information
Completed Step: S2DataToActivate
Next step: S3ActokFinalStep
Received from DUT:
tmst: 876036332, freq: 868.3, DR: SF8BW125
PHYPayload: 4001E18627000400163B8BA35C1C0D20F7A4B82B38F2E3593C7C89BAF4 (Size: 29 bytes)
----------------------------------------------
PHY payload:
4001E18627000400163B8BA35C1C0D20F7A4B82B38F2E3593C7C89BAF4
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 01E18627000400163B8BA35C1C0D20F7A4B82B38F2E3593C
----------------------------------------------
MAC payload information
FHDR: 01E18627000400
----DevAddr: 2786E101
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 4 (0004)
----FOpts: None
FPort: 22
Encrypted FRMPayload: 3B8BA35C1C0D20F7A4B82B38F2E3593C
==============================================
MIC: 7C89BAF4
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key 557694B3B39429784BB876E9120E6D81)
Sending to DUT: 01010101
TD_LORAWAN_RESET: Step information
Completed Step: S1AnyToDeactivate
Next step: S2DataToActivate
Received from DUT:
tmst: 866304700, freq: 868.5, DR: SF8BW125
PHYPayload: 4001E18627800300E0F59EED820F0A (Size: 15 bytes)
----------------------------------------------
PHY payload:
4001E18627800300E0F59EED820F0A
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 01E18627800300E0F59E
----------------------------------------------
MAC payload information
FHDR: 01E18627800300
----DevAddr: 2786E101
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 3 (0003)
----FOpts: None
FPort: 224
Encrypted FRMPayload: F59E
==============================================
MIC: ED820F0A
==============================================
Decrypted FRMPayload: 0001
(Key 557694B3B39429784BB876E9120E6D81)
Sending to DUT: 00
TEST CASE: td_lorawan_reset
Step 3: S3ActokFinalStep
The test is expecting a Test Activation Ok message with the current
downlink counter
- Reception from DUT: TAOK message with the downlink counter.- TAS sends: none
Step 2: S2DataToActivate
Wait any data from the DUT to activate Test Mode.
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT(DL packet with payload 0x01010101 sent to port 224)
The payload is encrypted with the AppSKey.
Step 1: S1AnyToDeactivate
Sends the Test Mode deactivation message after any received message.
- Reception from DUT: Any LoRaWAN message.
- TAS sends: Test Mode deactivation (payload 0x00).
Test ID: TD_LoRaWAN_RESET
Objective: Resets the DUT to a known state after a test fails, deactivating and activating again the Test Mode.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions:
The end device has a pre-configured DevAddr, NwkSKey and AppSKey.
The Test Application Server has the end device registered in its ABP device list and knows its NwkSkey, AppSKey and DevAddr.
td_lorawan_act_03: Step Fail
td_lorawan_act_03 Test td_lorawan_act_03 failed with EchoError error.
: PONG 044103FD519B6222F4E4D372 received when expecting 044002FC509A6121F3E3D271.
: Test: td_lorawan_act_03
: Step: S5PongToPing
: Last received message:
: tmst: 856325460, freq: 868.1, DR: SF8BW125
: PHYPayload: 4001E18627800200E029A65C5FCA6CACFDD73A292C6C3390D7 (Size: 25 bytes)
:
: ----------------------------------------------
: PHY payload:
: 4001E18627800200E029A65C5FCA6CACFDD73A292C6C3390D7
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 01E18627800200E029A65C5FCA6CACFDD73A292C
: ----------------------------------------------
: MAC payload information
: FHDR: 01E18627800200
: ----DevAddr: 2786E101
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 2 (0002)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: 29A65C5FCA6CACFDD73A292C
: ==============================================
: MIC: 6C3390D7
: ==============================================
: Decrypted FRMPayload: 044103FD519B6222F4E4D372
: (Key 557694B3B39429784BB876E9120E6D81)
:
TD_LORAWAN_ACT_03: Step information
Completed Step: S4ActokToPing
Next step: S5PongToPing
Received from DUT:
tmst: 851305116, freq: 868.3, DR: SF8BW125
PHYPayload: 4001E18627800100E02EA485C462E5 (Size: 15 bytes)
----------------------------------------------
PHY payload:
4001E18627800100E02EA485C462E5
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 01E18627800100E02EA4
----------------------------------------------
MAC payload information
FHDR: 01E18627800100
----DevAddr: 2786E101
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 1 (0001)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 2EA4
==============================================
MIC: 85C462E5
==============================================
Decrypted FRMPayload: 0000
(Key 557694B3B39429784BB876E9120E6D81)
Sending to DUT: 043F01FB4F996020F2E2D170
TD_LORAWAN_ACT_03: Step information
Completed Step: S3DataToActivate
Next step: S4ActokToPing
Received from DUT:
tmst: 846009812, freq: 868.3, DR: SF8BW125
PHYPayload: 4001E1862700000016B95854BECA885866D99400E0B7CB9F0A5A9E74A5 (Size: 29 bytes)
----------------------------------------------
PHY payload:
4001E1862700000016B95854BECA885866D99400E0B7CB9F0A5A9E74A5
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 01E1862700000016B95854BECA885866D99400E0B7CB9F0A
----------------------------------------------
MAC payload information
FHDR: 01E18627000000
----DevAddr: 2786E101
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 0 (0000)
----FOpts: None
FPort: 22
Encrypted FRMPayload: B95854BECA885866D99400E0B7CB9F0A
==============================================
MIC: 5A9E74A5
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key 557694B3B39429784BB876E9120E6D81)
Sending to DUT: 01010101
TD_LORAWAN_ACT_03: Step information
Completed Step: S2JoinrequestToAccept
Next step: S3DataToActivate
Received from DUT:
tmst: 838904076, freq: 868.3, DR: SF8BW125
PHYPayload:<PHONE_NUMBER>010101010101010101010101BC8B37587949 (Size: 23 bytes)
----------------------------------------------
PHY payload:
0001010101010101010101010101010101BC8B37587949
MHDR bits: 00000000 (JOIN_REQUEST)
MACPayload:<PHONE_NUMBER>0101010101010101010101BC8B
----------------------------------------------
Join Request information
AppEUI:<PHONE_NUMBER>010101
DevEUI:<PHONE_NUMBER>010101
DevNonce: 8BBC
==============================================
MIC: 37587949
==============================================
Sending to DUT: 20582E878BDABD37FEA17B071458C77F299E033C1C831B2C1C8844BD59DAB3FAA2
Additional information: Session Updated. DevAddr: 2786E101 DevEUI:<PHONE_NUMBER>010101 AppSKey: 557694B3B39429784BB876E9120E6D81 NwkSKey: 3BBC1A40BE23040E73885E7044653CF3 AppKey: 2B7E151628AED2A6ABF7158809CF4F3C
TD_LORAWAN_ACT_03: Step information
Completed Step: S1ActokToTriggerJoin
Next step: S2JoinrequestToAccept
Received from DUT:
tmst: 837440276, freq: 868.1, DR: SF8BW125
PHYPayload: 4033C23611800600E02562380C5368 (Size: 15 bytes)
----------------------------------------------
PHY payload:
4033C23611800600E02562380C5368
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 33C23611800600E02562
----------------------------------------------
MAC payload information
FHDR: 33C23611800600
----DevAddr: 1136C233
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 6 (0006)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 2562
==============================================
MIC: 380C5368
==============================================
Decrypted FRMPayload: 4164
(Key FF7E151628AED2A6ABF7158809CF4F3C)
Sending to DUT: 06
TEST CASE: td_lorawan_act_03
Step 6: S6PongFinalStep
Checks the last PONG.
- Reception from DUT: PONG message.
- TAS sends: none.
Step 5: S5PongToPing
Waits for the PONG message and sends another PING, now using RX2.
- Reception from DUT: PONG message.
- TAS sends: PING message using RX2.
Step 4: S4ActokToPing
After receiving an TAOK message with the current downlink counter, a PING message will be sent.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: PING message in RX1 with the configured 3 seconds delay.
Step 3: S3DataToActivate
A data message is expected, and the Test Mode will be activated after its reception.-
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT(DL packet with payload 0x01010101 sent to port 224).
Step 2: S2JoinRequestToAccept
Waits for a join request message. A Join Accept will be sent in response configuring RxDelay=3s.
- Reception from DUT: Join Request message.
- TAS sends: Join Accept message configuring RXDalay=3s.
Step 1: S1ActokToTriggerJoin
Waits for a TAOK (Activation Ok) message with the current downlink counter of the session and, after it's received, a new session will be requested.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: Trigger join request with test ID 6.
Test ID: TD_LoRaWAN_ACT_03
Objective: Test Over the Air Activation modifying the RX windows delay. Check that the node can join using OTAA in RX1 and RX2.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode and supports Over The Air Activation (OTAA).
TD_LORAWAN_RESET: Step information
Completed Step: S3ActokFinalStep
Next step: No next step.
Received from DUT:
tmst: 832440412, freq: 868.1, DR: SF8BW125
PHYPayload: 4033C23611800500E019A831096A45 (Size: 15 bytes)
----------------------------------------------
PHY payload:
4033C23611800500E019A831096A45
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 33C23611800500E019A8
----------------------------------------------
MAC payload information
FHDR: 33C23611800500
----DevAddr: 1136C233
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 5 (0005)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 19A8
==============================================
MIC: 31096A45
==============================================
Decrypted FRMPayload: 0000
(Key 64F679B07F120AE12D1D8897F16E49AD)
TD_LORAWAN_RESET: Step information
Completed Step: S2DataToActivate
Next step: S3ActokFinalStep
Received from DUT:
tmst: 830992660, freq: 868.3, DR: SF8BW125
PHYPayload: 4033C23611000400166130D0CB7909C3ED88379D13032DC3812B9B31B1 (Size: 29 bytes)
----------------------------------------------
PHY payload:
4033C23611000400166130D0CB7909C3ED88379D13032DC3812B9B31B1
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 33C23611000400166130D0CB7909C3ED88379D13032DC381
----------------------------------------------
MAC payload information
FHDR: 33C23611000400
----DevAddr: 1136C233
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 4 (0004)
----FOpts: None
FPort: 22
Encrypted FRMPayload: 6130D0CB7909C3ED88379D13032DC381
==============================================
MIC: 2B9B31B1
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key 64F679B07F120AE12D1D8897F16E49AD)
Sending to DUT: 01010101
TD_LORAWAN_RESET: Step information
Completed Step: S1AnyToDeactivate
Next step: S2DataToActivate
Received from DUT:
tmst: 817413484, freq: 868.5, DR: SF8BW125
PHYPayload: 4033C23611800300E0857CAAA56BA9 (Size: 15 bytes)
----------------------------------------------
PHY payload:
4033C23611800300E0857CAAA56BA9
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 33C23611800300E0857C
----------------------------------------------
MAC payload information
FHDR: 33C23611800300
----DevAddr: 1136C233
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 3 (0003)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 857C
==============================================
MIC: AAA56BA9
==============================================
Decrypted FRMPayload: 0001
(Key 64F679B07F120AE12D1D8897F16E49AD)
Sending to DUT: 00
TEST CASE: td_lorawan_reset
Step 3: S3ActokFinalStep
The test is expecting a Test Activation Ok message with the current
downlink counter
- Reception from DUT: TAOK message with the downlink counter.- TAS sends: none
Step 2: S2DataToActivate
Wait any data from the DUT to activate Test Mode.
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT(DL packet with payload 0x01010101 sent to port 224)
The payload is encrypted with the AppSKey.
Step 1: S1AnyToDeactivate
Sends the Test Mode deactivation message after any received message.
- Reception from DUT: Any LoRaWAN message.
- TAS sends: Test Mode deactivation (payload 0x00).
Test ID: TD_LoRaWAN_RESET
Objective: Resets the DUT to a known state after a test fails, deactivating and activating again the Test Mode.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions:
The end device has a pre-configured DevAddr, NwkSKey and AppSKey.
The Test Application Server has the end device registered in its ABP device list and knows its NwkSkey, AppSKey and DevAddr.
td_lorawan_act_02: Step Fail
td_lorawan_act_02 Test td_lorawan_act_02 failed with EchoError error.
: PONG 0458D45274CB0195EE78CF0343B1 received when expecting 0457D35173CA0094ED77CE0242B0.
: Test: td_lorawan_act_02
: Step: S5PongToPing
: Last received message:
: tmst: 812444348, freq: 868.3, DR: SF8BW125
: PHYPayload: 4033C23611800200E075908B80220E03B6C6892750A14A345B65A6 (Size: 27 bytes)
:
: ----------------------------------------------
: PHY payload:
: 4033C23611800200E075908B80220E03B6C6892750A14A345B65A6
: MHDR bits: 01000000 (UNCONFIRMED_UP)
: MACPayload: 33C23611800200E075908B80220E03B6C6892750A14A
: ----------------------------------------------
: MAC payload information
: FHDR: 33C23611800200
: ----DevAddr: 1136C233
: ----FCtrl: 10000000
: --------ADR: 1
: --------ACK: 0
: --------ADRACKReq (Only for UL): 0
: --------FPending (Only for DL): None
: --------FOptsLen: 0
: ----FCnt: 2 (0002)
: ----FOpts: None
: FPort: 224
: Encrypted FRMPayload: 75908B80220E03B6C6892750A14A
: ==============================================
: MIC: 345B65A6
: ==============================================
: Decrypted FRMPayload: 0458D45274CB0195EE78CF0343B1
: (Key 64F679B07F120AE12D1D8897F16E49AD)
:
TD_LORAWAN_ACT_02: Step information
Completed Step: S4ActokToPing
Next step: S5PongToPing
Received from DUT:
tmst: 807413772, freq: 868.1, DR: SF8BW125
PHYPayload: 4033C23611800100E06EE277C98F61 (Size: 15 bytes)
----------------------------------------------
PHY payload:
4033C23611800100E06EE277C98F61
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 33C23611800100E06EE2
----------------------------------------------
MAC payload information
FHDR: 33C23611800100
----DevAddr: 1136C233
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 1 (0001)
----FOpts: None
FPort: 224
Encrypted FRMPayload: 6EE2
==============================================
MIC: 77C98F61
==============================================
Decrypted FRMPayload: 0000
(Key 64F679B07F120AE12D1D8897F16E49AD)
Sending to DUT: 0456D25072C9FF93EC76CD0141AF
TD_LORAWAN_ACT_02: Step information
Completed Step: S3DataToActivate
Next step: S4ActokToPing
Received from DUT:
tmst: 805966012, freq: 868.1, DR: SF8BW125
PHYPayload: 4033C2361100000016FAEE8E7876FF6BA5B2A4DEAD31AA50C4082815F0 (Size: 29 bytes)
----------------------------------------------
PHY payload:
4033C2361100000016FAEE8E7876FF6BA5B2A4DEAD31AA50C4082815F0
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload: 33C2361100000016FAEE8E7876FF6BA5B2A4DEAD31AA50C4
----------------------------------------------
MAC payload information
FHDR: 33C23611000000
----DevAddr: 1136C233
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 0 (0000)
----FOpts: None
FPort: 22
Encrypted FRMPayload: FAEE8E7876FF6BA5B2A4DEAD31AA50C4
==============================================
MIC: 082815F0
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key 64F679B07F120AE12D1D8897F16E49AD)
Sending to DUT: 01010101
TD_LORAWAN_ACT_02: Step information
Completed Step: S2JoinRequestToAccept
Next step: S3DataToActivate
Received from DUT:
tmst: 798407156, freq: 868.5, DR: SF8BW125
PHYPayload:<PHONE_NUMBER>01010101010101010101010166991113D9CC (Size: 23 bytes)
----------------------------------------------
PHY payload:
000101010101010101010101010101010166991113D9CC
MHDR bits: 00000000 (JOIN_REQUEST)
MACPayload:<PHONE_NUMBER>01010101010101010101016699
----------------------------------------------
Join Request information
AppEUI:<PHONE_NUMBER>010101
DevEUI:<PHONE_NUMBER>010101
DevNonce: 9966
==============================================
MIC: 1113D9CC
==============================================
Sending to DUT: 207326024BA1D47DB9AAB8283E95C158EBCAC4133B60179C68B9CDC8E1227E867D
Additional information: Session Updated. DevAddr: 1136C233 DevEUI:<PHONE_NUMBER>010101 AppSKey: 64F679B07F120AE12D1D8897F16E49AD NwkSKey: 9B3629863F9D8294F8BFE5CF269387CC AppKey: 2B7E151628AED2A6ABF7158809CF4F3C
TD_LORAWAN_ACT_02: Step information
Completed Step: S1ActokToTriggerJoin
Next step: S2JoinRequestToAccept
Received from DUT:
tmst: 797155268, freq: 868.1, DR: SF8BW125
PHYPayload:<PHONE_NUMBER>800200E0E0C27B735131 (Size: 15 bytes)
----------------------------------------------
PHY payload:
4001010101800200E0E0C27B735131
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload:<PHONE_NUMBER>0200E0E0C2
----------------------------------------------
MAC payload information
FHDR:<PHONE_NUMBER>0200
----DevAddr: 01010101
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 2 (0002)
----FOpts: None
FPort: 224
Encrypted FRMPayload: E0C2
==============================================
MIC: 7B735131
==============================================
Decrypted FRMPayload: 0000
(Key FF7E151628AED2A6ABF7158809CF4F3C)
Sending to DUT: 06
TEST CASE: td_lorawan_act_02
Step 6: S6PongFinalStep
Checks the last PONG.
- Reception from DUT: PONG message.
- TAS sends: none.
Step 5: S5PongToPing
Waits for the PONG message and sends another PING, now using RX2.
- Reception from DUT: PONG message.
- TAS sends: PING message using RX2.
Step 4: S4ActokToPing
After receiving an TAOK (Activation OK) message with the current downlink counter, a PING message will be sent.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: PING message in RX1 using a DR offset of 2.
Step 3: S3DataToActivate
A data message is expected, and the Test Mode will be activated after its reception.
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT(DL packet with payload 0x01010101 sent to port 224).
Step 2: S2JoinRequestToAccept
Updates the session information of the device.
- Reception from DUT: Join Request message.
- TAS sends: Join Accept message configuring DLSettings (RX1DRoffset=2 and RX2DR=3).
Step 1: S1ActokToTriggerJoin
Waits a TAOK (Activation Ok) message with the current downlink counter ofthe session and, after it's received, a new session request will be triggered.
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: Trigger join request with Test ID 6.
Test ID: TD_LoRaWAN_ACT_02
Objective: Test Over the Air Activation, changing DR of RX windows. Check that the node can join using OTAA in RX1 and RX2.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions: The DUT is in Test Mode and supports Over The Air Activation (OTAA).
TD_LORAWAN_ACT_01: Step information
Completed Step: S2ActokFinalStep
Next step: No next step.
Received from DUT:
tmst: 792155404, freq: 868.5, DR: SF8BW125
PHYPayload:<PHONE_NUMBER>800100E0FD51D4B7BBEA (Size: 15 bytes)
----------------------------------------------
PHY payload:
4001010101800100E0FD51D4B7BBEA
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload:<PHONE_NUMBER>0100E0FD51
----------------------------------------------
MAC payload information
FHDR:<PHONE_NUMBER>0100
----DevAddr: 01010101
----FCtrl: 10000000
--------ADR: 1
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 1 (0001)
----FOpts: None
FPort: 224
Encrypted FRMPayload: FD51
==============================================
MIC: D4B7BBEA
==============================================
Decrypted FRMPayload: 0000
(Key FF7E151628AED2A6ABF7158809CF4F3C)
TD_LORAWAN_ACT_01: Step information
Completed Step: S1DataToActivate
Next step: S2ActokFinalStep
Received from DUT:
tmst: 790948852, freq: 868.5, DR: SF8BW125
PHYPayload:<PHONE_NUMBER>000000164A3BB6E8FA72BBC111A6E183DC041807843AFEE1 (Size: 29 bytes)
----------------------------------------------
PHY payload:
4001010101000000164A3BB6E8FA72BBC111A6E183DC041807843AFEE1
MHDR bits: 01000000 (UNCONFIRMED_UP)
MACPayload:<PHONE_NUMBER>0000164A3BB6E8FA72BBC111A6E183DC041807
----------------------------------------------
MAC payload information
FHDR:<PHONE_NUMBER>0000
----DevAddr: 01010101
----FCtrl: 00000000
--------ADR: 0
--------ACK: 0
--------ADRACKReq (Only for UL): 0
--------FPending (Only for DL): None
--------FOptsLen: 0
----FCnt: 0 (0000)
----FOpts: None
FPort: 22
Encrypted FRMPayload: 4A3BB6E8FA72BBC111A6E183DC041807
==============================================
MIC: 843AFEE1
==============================================
Decrypted FRMPayload:<PHONE_NUMBER>0000FE3E090D0503AB0000
(Key FF7E151628AED2A6ABF7158809CF4F3C)
Sending to DUT: 01010101
TEST CASE: td_lorawan_act_01
Step 2: S2ActokFinalStep
The test is expecting a Test Activation Ok message with the current downlink counter
- Reception from DUT: TAOK message with the downlink counter.
- TAS sends: none
Step 1: S1DataToActivate
Wait any data from the DUT to activate Test Mode.
- Reception from DUT: DATA packet.
- TAS sends: Test Mode activation message to the DUT (DL packet with payload 0x01010101 sent to port 224). The payload is encrypted with the AppSKey.
Test ID: TD_LoRaWAN_ACT_01
Objective: Check that the node can join using ABP and enter Test Mode Activation.
References: LoRaWAN Specification v1.0.2.
Pre-test conditions:
The end device has a pre-configured DevAddr, NwkSKey and AppSKey.
The Test Application Server has the end device registered in its device list
and knows its NwkSkey, AppSKey and DevAddr.
Device Personalization Information.
DevAddr: ('01010101',) DevEUI: ('0101010101010101',) AppKey: ('2B7E151628AED2A6ABF7158809CF4F3C',) AppSKey: ('FF7E151628AED2A6ABF7158809CF4F3C',) NwkSKey: 007E151628AED2A6ABF7158809CF4F3C
Test Cases to be excecuted.
TCs list: td_lorawan_act_01 td_lorawan_act_02 td_lorawan_act_03 td_lorawan_act_04 td_lorawan_act_05 td_lorawan_fun_01 td_lorawan_fun_02 td_lorawan_fun_03 td_lorawan_fun_04 td_lorawan_fun_05 td_lorawan_fun_06 td_lorawan_sec_01 td_lorawan_sec_02 td_lorawan_mac_01 td_lorawan_mac_02 td_lorawan_mac_03 td_lorawan_mac_04 td_lorawan_mac_05 td_lorawan_deactivate
Agent configuration tutorial.
1-Configure the Packet Forwarder on the LoRa Gateway.: e.g. Agent UDP port (default 1700) and the host IP on gateway's local.conf file
2-Set AMQP Broker URL: e.g.: export AMQP_URL=amqp://guest:guest@localhost:5672/
3-Set Packet Forwarder UDP PORT (LoRa Gateway UDP Port): e.g.: export AGENT_PORT=1700
4-Start Agent Service: make start_agent