WICED Manufacturing Bluetooth Test Tool, Document Number: 002-14799 Rev. *E
7
5
LE Transmitter Test
The LE Transmitter Test configures the Cypress SoC BT device to send test packets at a fixed interval. External test equipment
may be used to receive and analyze the reference packets.
The frequency on which the device transmits the packets is passed as a parameter. BLE devices use 40 channels, each of
which is 2 MHz wide. (See Reference [
1
] [Vol 2, Part E], Section 7.8.28 for details).
The other two parameters specify the length of the test data and the data pattern to be used (see Reference [
1
] [Vol 2, Part E],
Section 7.8.29 for details).
Usage
:
wmbt le_transmitter_test COMx <tx_frequency> <data_length> <data_pattern>
Where:
▪
rx_frequency = (2402 - 2480) receive frequency, in MHz
▪
data_length = 0
–37
▪
data_pattern = 0
–7
0: Pseudo-random bit sequence 9
1: Pattern of alternating bits: 11110000
2: Pattern of alternating bits: 10101010
3: Pseudo-random bit sequence 15
4: Pattern of all 1s
5: Pattern of all 0s
6: Pattern of alternating bits: 00001111
7: Pattern of alternating bits: 0101
The example below starts the test and instructs the device to transmit packets on Channel 2 (2406 MHz), with a
10-byte payload of all ones (1s):
<ModusToolbox>\tools\wiced-tools-1.0\BT\wmbt\bin>> wmbt le_transmitter_test COM23 2406 10 4
MBT_BAUD_RATE: 3000000
TRANSPORT_MODE: 0 (HCI)
Opened COM23 at speed: 3000000
Sending HCI Command:
0000 < 01 1E 20 03 02 0A 04 >
Received HCI Event:
0000 < 04 0E 04 01 1E 20 00 >
Success
Close Serial Bus
The last byte of the HCI Command Complete event is the status of the operation, where 0 signifies success.
Use
wmbt le_test_end COMx
to complete the test.
Note:
This test will fail if the device is running another test: use
le_test_end
to put the device in an idle state before running
this test.