Hi Sir
I'd want to send DTM command by hard code, but I don't know where is the command spec for reference ?
Has any one could show me where is the spec ? and give me a example how to generate the command, Thanks.
Hi Sir
I'd want to send DTM command by hard code, but I don't know where is the command spec for reference ?
Has any one could show me where is the spec ? and give me a example how to generate the command, Thanks.
Hi,
The DTM is specified on the bluetooth core specification (available from this site) in Vol 6, Part F.
I'd recommend having a look at the direct_test_mode example in nRF5 SDK, just to see how the command flow is.
In addition, you can have a look at the python scripts that implements DTM from bluetooth v4.0 in nAN-34:
nAN34 - Setting up production test using DTM
Kind regards,
Håkon
Could you give me a example how to adjust the Tx power ? Thanks.
There is a vendor specific API for this, but the easiest way is to set the default output power to your wanted output power in ble_dtm.c and recompile.
Kind regards,
Håkon
The other question, Can I copy sdk 15.1 radio_test example to sdk 15.0 ? is it workable ?
I hit a issue, No got Tx power after input "start_tx_carrier" cli command....
Hi,
I haven't tried backporting the example to SDK 15.0, but you could try and see if it works. If it does not work, I'd recommend using a newer SDK version for testing with.
Regarding your DTM issue; I am not familliar with the specific example that you're running. if you do not require the DTM protocol, I'd recommend that you call the radio_test functions instead.
Best regards,
Håkon
Hi Sir
Please give me the vendor dtm command spec, I'd want send dtm command by cli,
we don't want to use radio_test, Thanks.
Hi,
If you want to send the command through UART (ie: with the whole DTM example), you can send the bytes as described in this thread (ignore the .patch file): https://devzone.nordicsemi.com/f/nordic-q-a/5994/direct-test-mode-tx-power-commands
if you want to call dtm_cmd() directly, you should do something like this:
Best regards,
Håkon
Hi,
If you want to send the command through UART (ie: with the whole DTM example), you can send the bytes as described in this thread (ignore the .patch file): https://devzone.nordicsemi.com/f/nordic-q-a/5994/direct-test-mode-tx-power-commands
if you want to call dtm_cmd() directly, you should do something like this:
Best regards,
Håkon