7.6. Run the Bluetooth test modes
The test modes "DTM" as specified by the Bluetooth
®
SIG are defined in the Bluetooth
®
Core specification.
7.6.1. CMD_DTMSTART_REQ
This command restarts the module in direct test mode (DTM). When starting in DTM mode,
a
message follows which indicates that the test mode has been enabled
successfully. Now the
can be used to start and stop various test modes.
Performing a reset will leave the DTM and restart the module in the
ACTION_IDLE
state.
Format:
Start signal
Command
Length
CS
0x02
0x1D
0x00 0x00
0x1F
Response (
Start signal
Command | 0x40
Length
Status
CS
0x02
0x5D
0x01 0x00
1 Byte
1 Byte
Status:
0x00:
Request received, will enable the direct test mode now
0x01:
Operation failed
0xFF:
Operation not permitted
7.6.2. CMD_DTM_REQ
This command starts and stops various test modes. To be able to run these test modes, the
DTM has to be enabled first using the
. After a test has been started, it
has to be stopped first before a next test can be run.
The default TX power value is 8 dBm, the allowed range is from -40 up to +8 dBm (see
chapter
for valid TX power values). The valid range for channel is 0
. . .
39.
Format:
Start
signal
Command
Length
Command
code
Channel /
Vendor option
Length /
Vendor
command
Payload
CS
0x02
0x1E
0x04
0x00
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
Command code:
0x00:
DTM setup
Proteus-III reference manual version 1.3
© August 2020
www.we-online.com/wireless-connectivity
88