hci_cmd: more vs ti test commands

This commit is contained in:
Matthias Ringwald 2021-05-26 16:21:16 +02:00
parent c8c342a60c
commit 15fca961dd
2 changed files with 36 additions and 1 deletions

View File

@ -1502,6 +1502,17 @@ const hci_cmd_t hci_bcm_set_tx_pwr = {
HCI_OPCODE_HCI_BCM_SET_TX_PWR, "11H"
};
/**
* @brief This command starts receiving packets using packet transmission parameters such as
* frequency channel, packet type, and packet length. It is used for Packet RX.
* @see https://processors.wiki.ti.com/index.php/CC256x_Testing_Guide#Continuous_RX
* @param frequency
* @param ADPLL loop mode
*/
const hci_cmd_t hci_ti_drpb_tester_con_rx = {
0xFD17, "11"
};
/**
*
*
@ -1510,7 +1521,7 @@ const hci_cmd_t hci_bcm_set_tx_pwr = {
* modulation, and frequency.
* @see processors.wiki.ti.com/index.php/CC256x_VS_HCI_Commands#HCI_VS_DRPb_Tester_Con_TX.280xFD84.29
* @param modulation
* @param test_patern
* @param test_pattern
* @param frequency
* @param power_level
* @param reserved1
@ -1608,3 +1619,24 @@ const hci_cmd_t hci_ti_wbs_disassociate = {
const hci_cmd_t hci_ti_write_codec_config = {
0xFD06, "214211122122112212211"
};
/**
* @brief This command is used only for internal testing.
* @see https://processors.wiki.ti.com/index.php/CC256x_Testing_Guide#Continuous_TX
* @param frequency
* @param ADPLL loop mode
*/
const hci_cmd_t hci_ti_drpb_enable_rf_calibration = {
0xFD80, "141"
};
/**
* @brief This command command is only required for the continuous TX test of modulated
* (GFSK, π/4-DQPSK or 8DPSK) signal. This command should be skipped when performing continuous TX test for CW.
* @see https://processors.wiki.ti.com/index.php/CC256x_Testing_Guide#Continuous_RX
* @param frequency
* @param ADPLL loop mode
*/
const hci_cmd_t hci_ti_write_hardware_register = {
0xFF01, "42"
};

View File

@ -396,11 +396,14 @@ extern const hci_cmd_t hci_bcm_set_tx_pwr;
// TI specific HCI commands
extern const hci_cmd_t hci_ti_avrp_enable;
extern const hci_cmd_t hci_ti_configure_ddip;
extern const hci_cmd_t hci_ti_drpb_enable_rf_calibration;
extern const hci_cmd_t hci_ti_drpb_tester_con_rx;
extern const hci_cmd_t hci_ti_drpb_tester_con_tx;
extern const hci_cmd_t hci_ti_drpb_tester_packet_tx_rx;
extern const hci_cmd_t hci_ti_wbs_associate;
extern const hci_cmd_t hci_ti_wbs_disassociate;
extern const hci_cmd_t hci_ti_write_codec_config;
extern const hci_cmd_t hci_ti_write_hardware_register;
/**
* construct HCI Command based on template