Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Multi-radio Test Cases

Test Case ID: MULTI/EN/API/INIT/BV-01: Switch between 900MHz and BLE stack multiple times

Field Value
Case ID C103619216
Executable by Customer Yes
Preconditions
  • EN is registered in Sidewalk network
  • EN has time synchronized
  • (Preconditions to be provided.)
Test Steps
Step Description Expected Result
1 Initialize LoRa stack and wait for time sync:
sid deinit
sid init 3
sid start
CMD: ERR: 0
EVENT SID STATUS: State: 0, Reg: 0, Time: 0, Link_Mask: 4
Key check: Time sync received (Time: 0)
2 Switch to BLE stack and wait for time sync:
sid deinit
sid init 1
sid start
CMD: ERR: 0
EVENT SID STATUS: State: 0, Reg: 0, Time: 0, Link_Mask: 1
Key check: Time sync received (Time: 0)
3 Switch back to LoRa and wait for time sync:
sid deinit
sid init 3
sid start
CMD: ERR: 0
EVENT SID STATUS: State: 0, Reg: 0, Time: 0, Link_Mask: 4
Key check: Time sync received (Time: 0)
4 Switch back to BLE and wait for time sync:
sid deinit
sid init 1
sid start
CMD: ERR: 0
EVENT SID STATUS: State: 0, Reg: 0, Time: 0, Link_Mask: 1
Key check: Time sync received (Time: 0)

Field Value
Case ID C103619222
Executable by Customer Yes
Preconditions
  • EN is registered in Sidewalk network
  • EN has time synchronized
  • Multi-radio stack initialized (BLE + LoRa)
  • (Preconditions to be provided.)
Test Steps
Step Description Expected Result
1 Verify BLE is disconnected, then set connection request:
sid conn_req 1
CMD: ERR: 0
EVENT SID STATUS LINK MODE: LORA: 0, FSK: 0, BLE: 1
Key check: BLE: 1 (connected)
2 Send UL packet through BLE:
sid send -l 1 TEST
CMD: ERR: 0 TYPE: 2 ID: <id>
EVENT SID SEND STATUS: SID ERR: 0, TYPE: 2, ID: <id>, LINK: 1 LINK_MODE: 1
Key check: LINK: 1 (BLE)
3 Send DL packet from AWS IoT EVENT SID RECEIVED: TYPE: <type>, ID: <id>, LEN: 4, LINK: 1, LINK_MODE: 1, ACK_REQUESTED: 0, ACK: 0, DUP: 0, RSSI: <rssi>, SNR: <snr> Data: 54455354
Key check: LINK: 1 (BLE), data received

Field Value
Case ID C103619223
Executable by Customer Yes
Preconditions
  • EN is registered in Sidewalk network
  • EN has time synchronized
  • Multi-radio stack initialized (BLE + LoRa)
  • (Preconditions to be provided.)
Test Steps
Step Description Expected Result
1 Verify BLE is disconnected:
sid last_status
EVENT SID STATUS LINK MODE: LORA: 1, FSK: 0, BLE: 0
Key check: BLE: 0 (disconnected)
2 Send UL packet through LoRa:
sid send -l 3 TEST
CMD: ERR: 0 TYPE: 2 ID: <id>
EVENT SID SEND STATUS: SID ERR: 0, TYPE: 2, ID: <id>, LINK: 4 LINK_MODE: 1
Key check: LINK: 4 (LoRa)
3 Send DL packet from AWS IoT EVENT SID RECEIVED: TYPE: <type>, ID: <id>, LEN: 4, LINK: 4, LINK_MODE: 1, ACK_REQUESTED: 0, ACK: 0, DUP: 0, RSSI: <rssi>, SNR: <snr> Data: 54455354
Key check: LINK: 4 (LoRa), data received

Field Value
Case ID C103619224
Executable by Customer Yes
Preconditions
  • EN is registered in Sidewalk network
  • EN has time synchronized
  • Multi-radio stack initialized (BLE + LoRa)
  • (Preconditions to be provided.)
Test Steps
Step Description Expected Result
1 Verify BLE is disconnected, then set connection request:
sid conn_req 1
CMD: ERR: 0
EVENT SID STATUS LINK MODE: LORA: 1, FSK: 0, BLE: 1
Key check: BLE: 1 (connected), LoRa: 1 (active)
2 While BLE connection is active, send UL packet through LoRa:
sid send -l 3 TEST
CMD: ERR: 0 TYPE: 2 ID: <id>
EVENT SID SEND STATUS: SID ERR: 0, TYPE: 2, ID: <id>, LINK: 4 LINK_MODE: 1
Key check: LINK: 4 (LoRa)
3 Send DL packet from AWS IoT EVENT SID RECEIVED: TYPE: <type>, ID: <id>, LEN: 4, LINK: 4, LINK_MODE: 1, ACK_REQUESTED: 0, ACK: 0, DUP: 0, RSSI: <rssi>, SNR: <snr> Data: 54455354
Key check: LINK: 4 (LoRa), data received

Field Value
Case ID C103619217
Executable by Customer Yes
Preconditions
  • EN is registered in Sidewalk network
  • EN has time synchronized
  • Multi-radio stack initialized (BLE + LoRa)
  • (Preconditions to be provided.)
Test Steps
Step Description Expected Result
1 Verify BLE is disconnected, then set connection request:
sid conn_req 1
CMD: ERR: 0
EVENT SID STATUS LINK MODE: LORA: 1, FSK: 0, BLE: 1
Key check: BLE: 1 (connected)
2 Send UL with send_link=0 (any):
sid send TEST
CMD: ERR: 0 TYPE: 2 ID: <id>
EVENT SID SEND STATUS: SID ERR: 0, TYPE: 2, ID: <id>, LINK: 1 LINK_MODE: 1
Key check: LINK: 1 (BLE auto-selected when BLE connected)

Field Value
Case ID C103619218
Executable by Customer Yes
Preconditions
  • EN is registered in Sidewalk network
  • EN has time synchronized
  • Multi-radio stack initialized (BLE + LoRa)
  • (Preconditions to be provided.)
Test Steps
Step Description Expected Result
1 Verify BLE is disconnected, then set connection request:
sid conn_req 1
CMD: ERR: 0
EVENT SID STATUS LINK MODE: LORA: 1, FSK: 0, BLE: 1
Key check: BLE: 1 (connected)
2 Send UL with send_link=1 (BLE):
sid send -l 1 TEST
CMD: ERR: 0 TYPE: 2 ID: <id>
EVENT SID SEND STATUS: SID ERR: 0, TYPE: 2, ID: <id>, LINK: 1 LINK_MODE: 1
Key check: LINK: 1 (BLE)

Field Value
Case ID C103619219
Executable by Customer Yes
Preconditions
  • EN is registered in Sidewalk network
  • EN has time synchronized
  • Multi-radio stack initialized (BLE + LoRa)
  • (Preconditions to be provided.)
Test Steps
Step Description Expected Result
1 Verify BLE is disconnected, then set connection request:
sid conn_req 1
CMD: ERR: 0
EVENT SID STATUS LINK MODE: LORA: 1, FSK: 0, BLE: 1
Key check: BLE: 1 (connected)
2 Send UL with send_link=3 (LoRa):
sid send -l 3 TEST
CMD: ERR: 0 TYPE: 2 ID: <id>
EVENT SID SEND STATUS: SID ERR: 0, TYPE: 2, ID: <id>, LINK: 4 LINK_MODE: 1
Key check: LINK: 4 (LoRa, forced even with BLE connected)

Field Value
Case ID C103619220
Executable by Customer Yes
Preconditions
  • EN is registered in Sidewalk network
  • EN has time synchronized
  • Multi-radio stack initialized (BLE + LoRa)
  • (Preconditions to be provided.)
Test Steps
Step Description Expected Result
1 Verify BLE is disconnected:
sid last_status
EVENT SID STATUS LINK MODE: LORA: 1, FSK: 0, BLE: 0
Key check: BLE: 0 (disconnected)
2 Send UL with send_link=0 (any):
sid send TEST
CMD: ERR: 0 TYPE: 2 ID: <id>
EVENT SID SEND STATUS: SID ERR: 0, TYPE: 2, ID: <id>, LINK: 4 LINK_MODE: 1
Key check: LINK: 4 (LoRa auto-selected when BLE disconnected)

Field Value
Case ID C103619221
Executable by Customer Yes
Preconditions
  • EN is registered in Sidewalk network
  • EN has time synchronized
  • Multi-radio stack initialized (BLE + LoRa)
  • (Preconditions to be provided.)
Test Steps
Step Description Expected Result
1 Verify BLE is disconnected:
sid last_status
EVENT SID STATUS LINK MODE: LORA: 1, FSK: 0, BLE: 0
Key check: BLE: 0 (disconnected)
2 Send UL with send_link=1 (BLE) while BLE is disconnected:
sid send -l 1 TEST
No EVENT SID SEND STATUS received
Key check: UL not sent (BLE link not available)

Back to top

©2023 Amazon.com, Inc. or its affiliates (collectively, “Amazon”). All Rights Reserved.