|
1 |
| -##Nanostack MAC RF tests |
| 1 | +## Nanostack MAC RF tests |
2 | 2 |
|
3 | 3 | This folder contains nanostack MAC RF tests for Icetea.
|
4 | 4 | The test located under this folder is dependent of the application [`nanostack_mac_tester`](https://github.com/ARMmbed/mbed-os/blob/master/TEST_APPS/device/nanostack_mac_tester).
|
5 | 5 | The nanostack MAC tester is disabled by default. To run the test cases with the application, either remove the preprocessor macro from main.cpp or add `-DICETEA_MAC_TESTER_ENABLED` to the `mbed test` command.
|
6 | 6 |
|
7 | 7 | Icetea test cases are processed by passing commands through the `mbed-client-cli` command line. It is possible to manually replicate most test cases by following the instructions below.
|
8 | 8 |
|
9 |
| -In test cases with more than one device under test(DUT) the target device is given in the instructions as DUT1, DUT2 or DUT3. |
| 9 | +In test cases with more than one device under test (DUT) the target device is given in the instructions as DUT1, DUT2 or DUT3. |
10 | 10 |
|
11 |
| -##Test cases |
| 11 | +## Test cases |
12 | 12 |
|
13 | 13 | ### `address_read_and_write`
|
14 | 14 |
|
@@ -41,7 +41,7 @@ The test exits with status `PASS` without timeouts.
|
41 | 41 |
|
42 | 42 | **Description:**
|
43 | 43 |
|
44 |
| -Create two Personal Area Networks(PAN) and verify beacon transmission. |
| 44 | +Create two Personal Area Networks (PAN) and verify beacon transmission. |
45 | 45 |
|
46 | 46 | Requires 3 devices.
|
47 | 47 |
|
@@ -89,7 +89,7 @@ The test exits with status `PASS` without timeouts.
|
89 | 89 |
|
90 | 90 | **Description:**
|
91 | 91 |
|
92 |
| -Perform Energy Detection(ED) scan to find Personal Area Networks(PAN). |
| 92 | +Perform Energy Detection (ED) scan to find Personal Area Networks (PAN). |
93 | 93 |
|
94 | 94 | The test case requires that a lot of data is sent on the RF channel. In the test case
|
95 | 95 | this is done automatically at a rate that is hard to perform manually, which makes
|
@@ -212,29 +212,29 @@ Requires 3 devices.
|
212 | 212 | `config-status --data_ind abcde`
|
213 | 213 | 10. DUT3: Configure indirect data:
|
214 | 214 | `config-status --data_ind 12345`
|
215 |
| -11. DUT1,DUT2,DUT3: Mute traces(can cause timing issues): |
| 215 | +11. DUT1,DUT2,DUT3: Mute traces (can cause timing issues): |
216 | 216 | `silent-mode on`
|
217 | 217 | 12. DUT1: Send data indirectly to DUT2:
|
218 | 218 | `data --dst_addr 01:02:03:00:00:00:00:02 --msdu_length 5 --msdu abcde --indirect_tx true --wait_for_confirm false`
|
219 |
| -13. DUT2: Poll DUT1(coordinator) for data: |
| 219 | +13. DUT2: Poll DUT1 (coordinator) for data: |
220 | 220 | `poll --coord_address 01:02:03:00:00:00:00:01`
|
221 | 221 | 14. DUT1: Resend data twice:
|
222 | 222 | `data`
|
223 | 223 | `data`
|
224 | 224 | 15. DUT2: Poll data twice:
|
225 | 225 | `poll`
|
226 | 226 | `poll`
|
227 |
| -16. DUT2: Set expected poll return status to 0xEB(No data after poll): |
| 227 | +16. DUT2: Set expected poll return status to 0xEB (No data after poll): |
228 | 228 | `config-status --poll 235")`
|
229 | 229 | 17. DUT2: Expected fail for poll command:
|
230 | 230 | `poll`
|
231 |
| -16. DUT2: Set expected poll return status to 0xEB(No data after poll): |
| 231 | +16. DUT2: Set expected poll return status to 0xEB (No data after poll): |
232 | 232 | `config-status --poll 235")`
|
233 |
| -17. DUT1: Send data indirectly to DUT3(other values set before are preserved): |
| 233 | +17. DUT1: Send data indirectly to DUT3 (other values set before are preserved): |
234 | 234 | `data --dst_addr 01:02:03:00:00:00:00:03 --msdu 12345`
|
235 | 235 | 19. DUT2: Expected fail for poll command:
|
236 | 236 | `poll`
|
237 |
| -20. DUT3: Poll DUT1(coordinator) for data: |
| 237 | +20. DUT3: Poll DUT1 (coordinator) for data: |
238 | 238 | `poll --coord_address 01:02:03:00:00:00:00:01`
|
239 | 239 |
|
240 | 240 | **Expected result:**
|
|
0 commit comments