This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2340R5: how to do hop test

Part Number: CC2340R5
Other Parts Discussed in Thread: ENERGYTRACE

Hi Expert,

My customer wants to do hop test. When they set command but no response. For cc2340, it would return "HCI_ERROR_CODE_UNKNOWN_HCI_CMD". 

hciStatus_t HCI_EXT_EnhancedModemHopTestTxCmd( uint8 payloadLen,
uint8 payloadType,
uint8 rfPhy )
{
// 0: Event Opcode (LSB)
// 1: Event Opcode (MSB)
// 2: Status
uint8 rtnParam[3];

rtnParam[0] = LO_UINT16( HCI_EXT_ENHANCED_MODEM_HOP_TEST_TX_EVENT );
rtnParam[1] = HI_UINT16( HCI_EXT_ENHANCED_MODEM_HOP_TEST_TX_EVENT );
#ifdef CC23X0
rtnParam[0] = HCI_ERROR_CODE_UNKNOWN_HCI_CMD;
#else
rtnParam[2] = MAP_LL_EXT_EnhancedModemHopTestTx( payloadLen,
payloadType,
rfPhy );
#endif

MAP_HCI_VendorSpecifcCommandCompleteEvent( HCI_EXT_ENHANCED_MODEM_HOP_TEST_TX,
sizeof(rtnParam),
rtnParam );

return( HCI_SUCCESS );
}

SDK is simplelink_lowpower_f3_sdk_7_40_00_64.

Can I know how to do hop test in cc2340?

BR,

frank