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.
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
Hi Frank,
Thank you for reaching. It seems that this test is being attempted by placing the command in the application code. As a quick test, can you try using host_test + btool to send the same command instead? This will help us isolate the behavior as much as possible.
Best Regards,
Jan
Jan,
My customer already use host_test + btool to send the same command but nothing get from spectrum meter.

by the way, I use energytrace to check the power change before and after I set the command. There is no difference.

If I set HCIExt_EnhancedModemTestTxCmd, the power becomes much larger.

So, I think the command "HCIExt_EnhancedModemHopTestTxCmd" has no function, right?
Can you tell me how to run hop test?
BR,
frank
Hi Frank,
I have double checked and this command is not currently implemented in the F3 SDK. It is planned to be added in a future release. Can you clarify why a hop test is required by the customer?
Best Regards,
Jan
Jan,
The test lab needs this for Time of Occupancy (Dwell Time).
Do you know if there is other function be used for this test?
BR,
Frank
Hi Frank,
Is this for BLE certification? If so, then I don't believe this should be required. The following thread has some information on this:
Best Regards,
Jan
Jan,
I send you a email due to there is customer's information.
Can you help answer it?
BR,
frank