Test Case#
The table below provides test case details. All test cases were executed using the setup described in section Test Environment with multiple phones. Test cases are designed to test interoperability only between the mobile phones and Silicon Labs Bluetooth mesh implementation.
Note:
The UUIDs provided in the below table relate to the devices and roles described in Test Environment.
Devices transmitting advertizing packets were configured to have 60 ms advertising interval in all of the cases below.
Test ID | Test Sub-Type | Configuration | Test Procedure | Pass Criteria |
---|---|---|---|---|
Test Type - Provisioning | ||||
1.1 | PB-GATT Beaconing Scan Mode Low Latency | Device: Set to beaconing with PB-GATT with specific UUID 0x000102030405060708090A0B0C0E0F. Mobile: set Scan mode of mobile phone to SCAN_MODE_LOW_LATENCY. | Mobile starts scanning for device and checks if the device with correct UUID is found. | Pass: Found device with UUID = 0x000102030405060708090A0B0C0E0F within 1500ms Max Retries: 3 |
1.2 | PB-ADV, PB-GATT Beaconing Scan Mode Low Latency | Device: Set to beaconing with both PB-ADV, PB-GATT with specific UUID 0x000102030405060708090A0B0C0E1F Mobile: Set scan mode of mobile phone to SCAN_MODE_LOW_LATENCY. | Mobile starts scanning for device and checks if the device with correct UUID is found. | Pass: Found device with UUID = 0x000102030405060708090A0B0C0E1F in 2500ms Max Retries: 3 |
1.3 | PB-ADV, PB-GATT Beaconing Scan Mode Low Power | Device: Set to beaconing with both PB-ADV, PB-GATT with specific UUID: 0x000102030405060708090A0B0C0E2F Mobile: Set scan mode of mobile phone to SCAN_MODE_LOW_POWER. | Mobile starts scanning for device and checks if the device with correct UUID is found. | Pass: Found device with UUID = 0x000102030405060708090A0B0C0E2F in 1500ms for iOS and 4000ms for Android Max Retries: 3 |
1.4 | PB-ADV, PB-GATT Beaconing Scan Mode Balanced | Device: Set to beaconing with both PB-ADV, PB-GATT with specific UUID : 0x000102030405060708090A0B0C0E3F Mobile: Scan mode of mobile phone to SCAN_MODE_BALANCED. | Mobile starts scanning for device and checks if the device with correct UUID is found. | Pass: Found device with UUID = 0x000102030405060708090A0B0C0E3F in 1500ms for iOS and 5500ms for Android Max Retries: 3 |
1.5 | Authentication with no OOB | Device: UUID: 0x000102030405060708090A0B0C0E0F Set to No OOB Mobile: Provisions with no OOB authentication mode. | Mobile starts provisioning with no OOB Mobile configures node: Binds to "IOP Test Group" Enables Proxy feature Disables other features Enables retransmission Binds Appkey to model Generic OnOff Server model. | Pass: Provisioning successful in 10s Max Retries: 3 |
1.6 | Authentication with Static OOB | Device: UUID: 0x000102030405060708090A0B0C0E1F Fix static value of the authentication mode with value: 0112233445566778899aabbccddeeff (Static OOB) Mobile: Use this value for authentication. | Mobile starts provisioning with static OOB using the same value as device is configured to.Mobile configures node: Binds to "IOP Test Group" Enables Relay feature Disables other features, Enables retransmission, Binds Appkey to Generic OnOff Server model | Pass: Provisioning successful in 10s. Max Retries: 3 |
1.7 | Authentication with output OOB | Device UUID: 0x000102030405060708090A0B0C0E2FAuthentication mode set to output OOB. Mobile: Use output OOB for authentication. | Mobile starts provisioning with output OOB.Device generates random number and show 4 digits on LCDUser inputs those 4 digits that number on mobile for authenticationMobile configures node: Binds to "IOP Test Group" Enables Friend feature Disables other features, Enables retransmission, Binds Appkey to Generic OnOff Server model | Pass: Provisioning successful in 30s Max Retries: 3 |
1.8 | Authentication with input OOB | Device UUID: 0x000102030405060708090A0B0C0E3FAuthentication mode set to input OOB. | Mobile start provisioning with input OOB. Mobile generates and outputs a random number between 0 and 10.User input the random number by pressing PB0 button appropriate number of times. User press button PB1 for confirmation and continue provision process. Mobile configures node: Binds to "IOP Test Group" Enables LPN feature Disables other features Enable retransmissions Bind Appkey to Generic OnOff Server model | Pass: Provisioning successful in 30s Max Retries: 3 |
Test Type: Unicast and Multicast Control | ||||
2.1 | Unicast Control of Proxy Node with ACK | Device UUID = 0x000102030405060708090A0B0C0E0F Provisioned as in Test ID 1.5. Mobile: to use "with ACK" and parameters transition time = 0, delay time = 0. | - Mobile sends Set command with Ack to set state to ON addressing the Proxy node. | Pass: Received success for setting ON state. |
2.2 | Unicast Control of Proxy Node without ACK | Device: UUID = 0x000102030405060708090A0B0C0E0F Provisioned as in Test ID 1.5. Mobile: to use "without ACK" and parameters transition time = 0, delay time = 0. Use Get command to get status. | - Mobile sends Set command without Ack to set state to OFF addressing the Proxy node. - Mobile sends Get command | Pass: Mobile receives success for setting OFF state in 180ms. Max Retries: 3 |
2.3 | Unicast Control of Relay Node with ACK | Device UUID = 0x000102030405060708090A0B0C0E1F Provisioned as in Test ID 1.6. Mobile: to use "with ACK" and parameters transition time = 0, delay time = 0 | - Mobile sends Set command with Ack to set state to ON addressing the Relay node. | Pass: Received success for setting ON state. |
2.4 | Unicast Control of Relay Node without ACK | Device UUID = 0x000102030405060708090A0B0C0E1F Provisioned as in Test ID 1.6. Mobile: to use "without ACK" and parameters transition time = 0, delay time = 0. Use Get command to get status. | - Mobile sends Set command without Ack to set state to OFF addressing the Relay node. - Mobile sends Get command | Pass: Mobile receives success for setting OFF state in 180ms. Max Retries: 3 |
2.5 | Unicast Control of Friend Node with ACK | Device UUID = 0x000102030405060708090A0B0C0E2F Provisioned as in Test ID 1.7. Mobile: to use "with ACK" and parameters transition time = 0, delay time = 0. | - Mobile sends Set command with Ack to set state to ON addressing the Friend node. | Pass: Received success for setting ON state. |
2.6 | Unicast Control of Friend Node without ACK | Device UUID = 0x000102030405060708090A0B0C0E2F Provisioned as in Test ID 1.7. Mobile: to use "without ACK" and parameters transition time = 0, delay time = 0. Use Get command to get status. | - Mobile sends Set command without Ack to set state to OFF addressing the Friend node. - Mobile sends Get command | Pass: Mobile receives success for setting OFF state in 180ms. Max Retries: 3 |
2.7 | Unicast Control of LPN Node with ACK | Device UUID = 0x000102030405060708090A0B0C0E3F Provisioned as in Test ID 1.8. Mobile: to use "with ACK" and parameters transition time = 0, delay time = 0. | - Mobile sends Set command with Ack to set state to ON addressing the Low Power node. | Pass: Received success for setting ON state. |
2.8 | Unicast Control of LPN Node without ACK | Device UUID = 0x000102030405060708090A0B0C0E3F Provisioned as in Test ID 1.8. Mobile: to use "without ACK" and parameters transition time = 0, delay time = 0. Use Get command to get status. | - Mobile sends Set command without Ack to set state to OFF addressing the Low Power node. - Mobile sends Get command | Pass: Mobile receives success for setting OFF state in 180ms. Max Retries: 3 |
2.9 | Multicast Control of all 4 nodes | Devices: Provisioned as per Test ID: 1.5 to 1.8 Mobile: To use multicast with UNACK. | Mobile sends Set command with UNACK to set state of all the devices to ON addressing the "IOP Test Group" Mobile sends Get command to read state of all the devices Mobile sends Set command with UNACK to set state of devices to OFF addressing the "IOP Test Group" Mobile sends Get command to read state of all the devices | Pass: Received success for setting ON / OFF state in 180ms Max Retries: 5 |
Test Type: Reconfiguration of the network | ||||
3.1 | Removing nodes from network | Devices: Provisioned as in Test ID: 1.5 to 1.8 with respective UUIDS Mobile: To remove two nodes from the network | - Mobile removes LPN node with UUID: 0x000102030405060708090A0B0C0E3F- Mobile removes Friend node with UUID: 0x000102030405060708090A0B0C0E2F | Pass: There is no error and only 2 devices left in subnet. |
3.2 | Adding node to the network | Devices: Proxy and Relay nodes provisioned as in Test ID 1.5 and 1.6 Mobile: To add one node into the network. | - Mobile provisions device with UUID: 0x000102030405060708090A0B0C0E2F and as a normal node.- Mobile sends Set command with ack to set state of new node to ON- Mobile sends Set command with ack to set state of new node to OFF | Pass: The state of new node changes to ON then OFF Max Retries: 3 |
3.3 | Reconnection | Devices: Proxy and Relay nodes provisioned as in Test ID 1.5 and 1.6 Normal node provisioned as in Test ID 3.2 Mobile: To disconnect Proxy node and reconnect again. | -Mobile disconnects Proxy node from network-Mobile reconnects Proxy Node to the network | Pass: Reconnection is successful in 30s Max Retries: 3 |
3.4 | Remove all nodes from the network | Devices: Proxy and Relay nodes provisioned as in Test ID 1.5 and 1.6 Normal node provisioned as in Test ID 3.2 Mobile: To removes all nodes from the network | - Mobile removes all nodes from subnets- Mobile scans and found 4 un-provisioned devices | Pass: Found 4 un-provisioned devices with UUID: 0x000102030405060708090A0B0C0E0F,0x000102030405060708090A0B0C0E1F,0x000102030405060708090A0B0C0E2F,0x000102030405060708090A0B0C0E3F. |