diff --git a/src/hci_cmd.c b/src/hci_cmd.c index 648f03583..b8253e8d5 100644 --- a/src/hci_cmd.c +++ b/src/hci_cmd.c @@ -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" +}; diff --git a/src/hci_cmd.h b/src/hci_cmd.h index 4473500b6..ff94a602d 100644 --- a/src/hci_cmd.h +++ b/src/hci_cmd.h @@ -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