Are there any sample code about CC2640 FCC ETSI test?
HCI_EXT_EndModemTestCmd(); HCI_EXT_ModemTestTxCmd(HCI_EXT_TX_UNMODULATED_CARRIER,39);
but it just doesn't work on CC2640.
(Use this code, it draw 20~30mA power, looks work, but no RADIO output)
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.
Are there any sample code about CC2640 FCC ETSI test?
HCI_EXT_EndModemTestCmd(); HCI_EXT_ModemTestTxCmd(HCI_EXT_TX_UNMODULATED_CARRIER,39);
but it just doesn't work on CC2640.
(Use this code, it draw 20~30mA power, looks work, but no RADIO output)
The below is my code, it is no work too. The status return failure,why?
bool status = FAILURE;
if ( txPower <= HCI_EXT_TX_POWER_5_DBM )
{
status = HCI_EXT_ModemTestTxCmd( cwMode, txFreq );
status = HCI_EXT_SetTxPowerCmd( txPower );
}
else
{
HCI_EXT_EndModemTestCmd();
}
static ICall_EntityID
ICall_getEntityId(void)
{
ICall_GetEntityIdArgs args;
ICall_Errno errno;
args.hdr.service = ICALL_SERVICE_CLASS_PRIMITIVE;
args.hdr.func = ICALL_PRIMITIVE_FUNC_GET_ENTITY_ID;
errno = ICall_dispatcher(&args.hdr);
if (errno == ICALL_ERRNO_SUCCESS)
{
return args.entity;
}
return ICALL_INVALID_ENTITY_ID;
}
In this call, it will be return ICALL_INVALID_ENTITY_ID, may be i miss something?