Skip to content

Commit cb545f1

Browse files
Juhani Puurulaadbridge
authored andcommitted
Nanostack MAC tester: updated README.md
1 parent 3d226ea commit cb545f1

File tree

1 file changed

+2
-2
lines changed
  • TEST_APPS/device/nanostack_mac_tester

1 file changed

+2
-2
lines changed

TEST_APPS/device/nanostack_mac_tester/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ To set the application to interactive mode:
5050

5151
1. Build the application.
5252
```
53-
mbed test --compile --icetea -t TOOLCHAIN -m TARGET_PLATFORM --test-config NANOSTACK_MAC_TESTER -n address_read_and_write,send_data,send_data_indirect,send_large_payloads,create_and_join_PAN,ED_scan
53+
mbed test --compile --icetea -t TOOLCHAIN -m TARGET_PLATFORM -DICETEA_MAC_TESTER_ENABLED --test-config NANOSTACK_MAC_TESTER -n address_read_and_write,send_data,send_data_indirect,send_large_payloads,create_and_join_PAN,ED_scan
5454
```
5555
2. Connect your board and copy the compiled application binary from the `BUILD/tests/TARGET_PLATFORM/TOOLCHAIN/TEST_APPS/device/nanostack_mac_tester/` folder to the board.
5656
3. Wait for the device to flash the binary.
@@ -64,7 +64,7 @@ To start off, type `help` to list all commands available and furthermore `help <
6464
### Automated mode
6565

6666
```
67-
mbed test --clean --compile --run --icetea -t TOOLCHAIN -m TARGET_PLATFORM --test-config NANOSTACK_MAC_TESTER -n address_read_and_write,send_data,send_data_indirect,send_large_payloads,create_and_join_PAN,ED_scan
67+
mbed test --clean --compile --run --icetea -t TOOLCHAIN -m TARGET_PLATFORM -DICETEA_MAC_TESTER_ENABLED --test-config NANOSTACK_MAC_TESTER -n address_read_and_write,send_data,send_data_indirect,send_large_payloads,create_and_join_PAN,ED_scan
6868
```
6969

7070
Many of the provided testcases have a `self.channel` variable in the `setUp()` function for setting the RF channel. The default channel is 11. If you wish to run a test on another channel, you will need to change it manually in TEST_APPS/testcases/nanostack_mac_tester/.

0 commit comments

Comments
 (0)