Other Parts Discussed in Thread: CC2531, CC2533
We make the RF4CE RC by CC2533 chip base on RemoTI-CC253xDK-1.4.0 SDK, we do continuous paring test(ZRC2.0, key validation mode ) with CC2531 dongle on PC , the fail rate among 5%~10%.
There are 2 types error report on CC2531 dongle side
1) when trige paring from cc2533 RC side,there is no key validation message box jump out, with error report like " Status = 0x53 (83) (Validation Failure)" see log
<Rx> - RTI_SetAttributeReq
PairIndex = 0x00 (0)
AttrHeader
ProfileId = 0x00 (0) (GDP)
AttributeId = 0x81 (129) (aplGDPCapabilities)
EntryIdLsb = 0x00 (0)
EntryIdMsb = 0x00 (0)
AttributeStatus= 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
AttributeLength= 0x04 (4)
Attribute Data
Data(0x)
0000:34 00 00 00 4...
--------------------------------------------------------------------
<Tx> - RTI_SetAttributeCnf
Status = 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
--------------------------------------------------------------------
<Rx> - RTI_SetAttributeReq
PairIndex = 0x00 (0)
AttrHeader
ProfileId = 0x03 (3) (ZRC20)
AttributeId = 0xA1 (161) (aplZrcProfileCapabilities)
EntryIdLsb = 0x00 (0)
EntryIdMsb = 0x00 (0)
AttributeStatus= 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
AttributeLength= 0x04 (4)
Attribute Data
Data(0x)
0000:81 00 00 00 ....
--------------------------------------------------------------------
<Tx> - RTI_SetAttributeCnf
Status = 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
--------------------------------------------------------------------
<Rx> - RTI_SetAttributeReq
PairIndex = 0x00 (0)
AttrHeader
ProfileId = 0x03 (3) (ZRC20)
AttributeId = 0xA5 (165) (aplActionBanksSupportedTx)
EntryIdLsb = 0x00 (0)
Msb -> 0x00 (0) (HDMI_CEC)
Lsb -> 0x00 (0) (HDMI_CEC)
EntryIdMsb = 0x00 (0)
AttributeStatus= 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
AttributeLength= 0x20 (32)
Attribute Data
Data(0x)
0000:01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010:00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 ................
--------------------------------------------------------------------
<Tx> - RTI_SetAttributeCnf
Status = 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
--------------------------------------------------------------------
<Rx> - RTI_GetAttributeReq
PairIndex = 0xFF (255)
AttributeId = 0xC0 (192) (aplActionCodesSupportedRx)
EntryId = 0x0000 (0)
Msb -> 0x00 (0) (HDMI_CEC)
Lsb -> 0x00 (0) (HDMI_CEC)
--------------------------------------------------------------------
<Tx> - RTI_GetAttributeCnf
Status = 0x00 (0) (Rti Success)
--------------------------------------------------------------------
<Rx> - RTI_SetAttributeReq
PairIndex = 0x00 (0)
AttrHeader
ProfileId = 0x03 (3) (ZRC20)
AttributeId = 0xC1 (193) (aplActionCodesSupportedTx)
EntryIdLsb = 0x00 (0)
Msb -> 0x00 (0) (HDMI_CEC)
Lsb -> 0x00 (0) (HDMI_CEC)
EntryIdMsb = 0x00 (0)
AttributeStatus= 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
AttributeLength= 0x20 (32)
Attribute Data
Data(0x)
0000:1F 22 00 00 00 00 03 00 06 00 00 00 00 38 00 00 ."...........8..
0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
--------------------------------------------------------------------
<Tx> - RTI_SetAttributeCnf
Status = 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
--------------------------------------------------------------------
<Rx> - RTI_BindInd
Status = 0x53 (83) (Validation Failure)
DestIndex = 0xFF (255)
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
ProfileId = 0xFF (255) (RTI)
ItemNumber = 0xB0 (176) (RTI_SA_ITEM_PT_NUMBER_OF_ACTIVE_ENTRIES)
ItemLength = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
Status = 0x00 (0) (Rti Success)
Bound Device(s)= 0x01 (1)
Data(0x)
0000:01 .
<Rx> - RTI_SetAttributeReq
PairIndex = 0x00 (0)
AttrHeader
ProfileId = 0x00 (0) (GDP)
AttributeId = 0x81 (129) (aplGDPCapabilities)
EntryIdLsb = 0x00 (0)
EntryIdMsb = 0x00 (0)
AttributeStatus= 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
AttributeLength= 0x04 (4)
Attribute Data
Data(0x)
0000:34 00 00 00 4...
--------------------------------------------------------------------
<Tx> - RTI_SetAttributeCnf
Status = 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
--------------------------------------------------------------------
<Rx> - RTI_SetAttributeReq
PairIndex = 0x00 (0)
AttrHeader
ProfileId = 0x03 (3) (ZRC20)
AttributeId = 0xA1 (161) (aplZrcProfileCapabilities)
EntryIdLsb = 0x00 (0)
EntryIdMsb = 0x00 (0)
AttributeStatus= 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
AttributeLength= 0x04 (4)
Attribute Data
Data(0x)
0000:81 00 00 00 ....
--------------------------------------------------------------------
<Tx> - RTI_SetAttributeCnf
Status = 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
--------------------------------------------------------------------
<Rx> - RTI_SetAttributeReq
PairIndex = 0x00 (0)
AttrHeader
ProfileId = 0x03 (3) (ZRC20)
AttributeId = 0xA5 (165) (aplActionBanksSupportedTx)
EntryIdLsb = 0x00 (0)
Msb -> 0x00 (0) (HDMI_CEC)
Lsb -> 0x00 (0) (HDMI_CEC)
EntryIdMsb = 0x00 (0)
AttributeStatus= 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
AttributeLength= 0x20 (32)
Attribute Data
Data(0x)
0000:01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010:00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 ................
--------------------------------------------------------------------
<Tx> - RTI_SetAttributeCnf
Status = 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
--------------------------------------------------------------------
<Rx> - RTI_GetAttributeReq
PairIndex = 0xFF (255)
AttributeId = 0xC0 (192) (aplActionCodesSupportedRx)
EntryId = 0x0000 (0)
Msb -> 0x00 (0) (HDMI_CEC)
Lsb -> 0x00 (0) (HDMI_CEC)
--------------------------------------------------------------------
<Tx> - RTI_GetAttributeCnf
Status = 0x00 (0) (Rti Success)
--------------------------------------------------------------------
<Rx> - RTI_BindInd
Status = 0x53 (83) (Validation Failure)
DestIndex = 0xFF (255)
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
ProfileId = 0xFF (255) (RTI)
ItemNumber = 0xB0 (176) (RTI_SA_ITEM_PT_NUMBER_OF_ACTIVE_ENTRIES)
ItemLength = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
Status = 0x00 (0) (Rti Success)
Bound Device(s)= 0x00 (0)
Data(0x)
0000:00
<Rx> - RTI_SetAttributeReq PairIndex = 0x00 (0) AttrHeader ProfileId = 0x00 (0) (GDP) AttributeId = 0x81 (129) (aplGDPCapabilities) EntryIdLsb = 0x00 (0) EntryIdMsb = 0x00 (0) AttributeStatus= 0x00 (0) (GDP_ATTR_RSP_SUCCESS) AttributeLength= 0x04 (4) Attribute Data Data(0x) 0000:34 00 00 00 4... -------------------------------------------------------------------- <Tx> - RTI_SetAttributeCnf Status = 0x00 (0) (GDP_ATTR_RSP_SUCCESS) -------------------------------------------------------------------- <Rx> - RTI_BindInd Status = 0x53 (83) (Validation Failure) DestIndex = 0xFF (255) -------------------------------------------------------------------- <Tx> - RTI_ReadItemEx ProfileId = 0xFF (255) (RTI) ItemNumber = 0xB0 (176) (RTI_SA_ITEM_PT_NUMBER_OF_ACTIVE_ENTRIES) ItemLength = 0x01 (1) -------------------------------------------------------------------- <Rx> - RTI_ReadItemEx Status = 0x00 (0) (Rti Success) Bound Device(s)= 0x01 (1) Data(0x) 0000:01
2) after we key the validation keys show on CC2531 dongle side , the cc2531 dongle side report "<Error> - Unsupported Data Profile (0). Data Rejected,", see log
--------------------------------------------------------------------
<Rx> - RTI_UnbindInd
DestIndex = 0x01 (1)
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
ProfileId = 0xFF (255) (RTI)
ItemNumber = 0xB0 (176) (RTI_SA_ITEM_PT_NUMBER_OF_ACTIVE_ENTRIES)
ItemLength = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
Status = 0x00 (0) (Rti Success)
Bound Device(s)= 0x01 (1)
Data(0x)
0000:01 .
--------------------------------------------------------------------
<Rx> - RTI_SetAttributeReq
PairIndex = 0x01 (1)
AttrHeader
ProfileId = 0x00 (0) (GDP)
AttributeId = 0x81 (129) (aplGDPCapabilities)
EntryIdLsb = 0x00 (0)
EntryIdMsb = 0x00 (0)
AttributeStatus= 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
AttributeLength= 0x04 (4)
Attribute Data
Data(0x)
0000:34 00 00 00 4...
--------------------------------------------------------------------
<Tx> - RTI_SetAttributeCnf
Status = 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
--------------------------------------------------------------------
<Rx> - RTI_SetAttributeReq
PairIndex = 0x01 (1)
AttrHeader
ProfileId = 0x03 (3) (ZRC20)
AttributeId = 0xA1 (161) (aplZrcProfileCapabilities)
EntryIdLsb = 0x00 (0)
EntryIdMsb = 0x00 (0)
AttributeStatus= 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
AttributeLength= 0x04 (4)
Attribute Data
Data(0x)
0000:81 00 00 00 ....
--------------------------------------------------------------------
<Tx> - RTI_SetAttributeCnf
Status = 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
--------------------------------------------------------------------
<Rx> - RTI_SetAttributeReq
PairIndex = 0x01 (1)
AttrHeader
ProfileId = 0x03 (3) (ZRC20)
AttributeId = 0xA5 (165) (aplActionBanksSupportedTx)
EntryIdLsb = 0x00 (0)
Msb -> 0x00 (0) (HDMI_CEC)
Lsb -> 0x00 (0) (HDMI_CEC)
EntryIdMsb = 0x00 (0)
AttributeStatus= 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
AttributeLength= 0x20 (32)
Attribute Data
Data(0x)
0000:01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010:00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 ................
--------------------------------------------------------------------
<Tx> - RTI_SetAttributeCnf
Status = 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
--------------------------------------------------------------------
<Rx> - RTI_GetAttributeReq
PairIndex = 0xFF (255)
AttributeId = 0xC0 (192) (aplActionCodesSupportedRx)
EntryId = 0x0000 (0)
Msb -> 0x00 (0) (HDMI_CEC)
Lsb -> 0x00 (0) (HDMI_CEC)
--------------------------------------------------------------------
<Tx> - RTI_GetAttributeCnf
Status = 0x00 (0) (Rti Success)
--------------------------------------------------------------------
<Rx> - RTI_SetAttributeReq
PairIndex = 0x01 (1)
AttrHeader
ProfileId = 0x03 (3) (ZRC20)
AttributeId = 0xC1 (193) (aplActionCodesSupportedTx)
EntryIdLsb = 0x00 (0)
Msb -> 0x00 (0) (HDMI_CEC)
Lsb -> 0x00 (0) (HDMI_CEC)
EntryIdMsb = 0x00 (0)
AttributeStatus= 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
AttributeLength= 0x20 (32)
Attribute Data
Data(0x)
0000:1F 22 00 00 00 00 03 00 06 00 00 00 00 38 00 00 ."...........8..
0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
--------------------------------------------------------------------
<Tx> - RTI_SetAttributeCnf
Status = 0x00 (0) (GDP_ATTR_RSP_SUCCESS)
--------------------------------------------------------------------
<Rx> - RTI_StartValidationInd
SrcIndex = 0x01 (1)
--------------------------------------------------------------------
Validation Started
--------------------------------------------------------------------
Validation Pin = 410
--------------------------------------------------------------------
<Rx> - RTI_GetValidationStatusInd
--------------------------------------------------------------------
<Tx> - RTI_GetValidationStatusRsp
Status = 0x01 (1) (GDP_CHECK_VALIDATION_STATUS_PENDING)
--------------------------------------------------------------------
<Rx> - (191): ReceiveDataInd
ZrcCmd = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
Action Record
Control = 0x03 (3) (ZRC_ACTION_CTRL_TYPE_ATOMIC)
ActPayloadLen = 0x00 (0)
ActionBank = 0x00 (0) (RTI_PROTOCOL_POLL)
ActionCode = 0x24 (36) (RTI_CERC_NUM_4)
KeyName = Num 4
KeyPress = Key Pressed
Key(s) Coming Up
KeyName = Num 4
KeyPress = Key Up
Data(0x)
0000:06 03 00 00 24 ....$
--------------------------------------------------------------------
<Rx> - (192): ReceiveDataInd
ZrcCmd = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
No Action Record
Data(0x)
0000:06 .
--------------------------------------------------------------------
<Rx> - RTI_GetValidationStatusInd
--------------------------------------------------------------------
<Tx> - RTI_GetValidationStatusRsp
Status = 0x01 (1) (GDP_CHECK_VALIDATION_STATUS_PENDING)
--------------------------------------------------------------------
<Rx> - RTI_GetValidationStatusInd
--------------------------------------------------------------------
<Tx> - RTI_GetValidationStatusRsp
Status = 0x01 (1) (GDP_CHECK_VALIDATION_STATUS_PENDING)
--------------------------------------------------------------------
<Rx> - RTI_GetValidationStatusInd
--------------------------------------------------------------------
<Tx> - RTI_GetValidationStatusRsp
Status = 0x01 (1) (GDP_CHECK_VALIDATION_STATUS_PENDING)
--------------------------------------------------------------------
<Rx> - (193): ReceiveDataInd
ZrcCmd = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
Action Record
Control = 0x03 (3) (ZRC_ACTION_CTRL_TYPE_ATOMIC)
ActPayloadLen = 0x00 (0)
ActionBank = 0x00 (0) (RTI_PROTOCOL_POLL)
ActionCode = 0x21 (33) (RTI_CERC_NUM_1)
KeyName = Num 1
KeyPress = Key Pressed
Data(0x)
0000:06 03 00 00 21 ....!
--------------------------------------------------------------------
<Rx> - RTI_GetValidationStatusInd
--------------------------------------------------------------------
<Tx> - RTI_GetValidationStatusRsp
Status = 0x01 (1) (GDP_CHECK_VALIDATION_STATUS_PENDING)
--------------------------------------------------------------------
<Rx> - (194): ReceiveDataInd
ZrcCmd = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
No Action Record
Data(0x)
0000:06 .
--------------------------------------------------------------------
<Rx> - RTI_GetValidationStatusInd
--------------------------------------------------------------------
<Tx> - RTI_GetValidationStatusRsp
Status = 0x01 (1) (GDP_CHECK_VALIDATION_STATUS_PENDING)
--------------------------------------------------------------------
<Rx> - (195): ReceiveDataInd
ZrcCmd = 0x06 (6) (ZRC_CMD_ID_ACTIONS)
Action Record
Control = 0x03 (3) (ZRC_ACTION_CTRL_TYPE_ATOMIC)
ActPayloadLen = 0x00 (0)
ActionBank = 0x00 (0) (RTI_PROTOCOL_POLL)
ActionCode = 0x20 (32) (RTI_CERC_NUM_0)
KeyName = Num 0
KeyPress = Key Pressed
Validation Pin Entry Successful
Data(0x)
0000:06 03 00 00 20 ....
--------------------------------------------------------------------
<Rx> - RTI_GetValidationStatusInd
--------------------------------------------------------------------
Validation Completed Successfully
--------------------------------------------------------------------
<Tx> - RTI_GetValidationStatusRsp
Status = 0x00 (0) (GDP_CHECK_VALIDATION_STATUS_SUCCESS)
--------------------------------------------------------------------
<Rx> - RTI_BindInd
Status = 0x00 (0) (Rti Success)
DestIndex = 0x01 (1)
--------------------------------------------------------------------
<Tx> - RTI_ReadItemEx
ProfileId = 0xFF (255) (RTI)
ItemNumber = 0xB0 (176) (RTI_SA_ITEM_PT_NUMBER_OF_ACTIVE_ENTRIES)
ItemLength = 0x01 (1)
--------------------------------------------------------------------
<Rx> - RTI_ReadItemEx
Status = 0x00 (0) (Rti Success)
Bound Device(s)= 0x02 (2)
Data(0x)
0000:02 .
--------------------------------------------------------------------
<Rx> - (196): ReceiveDataInd
<Error> - Unsupported Data Profile (0). Data Rejected
Invalid Data Information
SourceIndex = 0x01 (1)
ProfileId = 0x00 (0) (GDP)
VendorId = 0x83FF (33791)
RxLQI = 0x9E (158)
RxFlags = 0x02 (2)
DataLength = 3
Data(0x)
0000:49 00 00 I..
--------------------------------------------------------------------
<Rx> - (197): ReceiveDataInd
<Error> - Unsupported Data Profile (0). Data Rejected
Invalid Data Information
SourceIndex = 0x01 (1)
ProfileId = 0x00 (0) (GDP)
VendorId = 0x83FF (33791)
RxLQI = 0x9C (156)
RxFlags = 0x02 (2)
DataLength = 3
Data(0x)
0000:49 00 00 I..
--------------------------------------------------------------------
<Rx> - (198): ReceiveDataInd
<Error> - Unsupported Data Profile (0). Data Rejected
Invalid Data Information
SourceIndex = 0x01 (1)
ProfileId = 0x00 (0) (GDP)
VendorId = 0x83FF (33791)
RxLQI = 0x9E (158)
RxFlags = 0x02 (2)
DataLength = 3
Data(0x)
0000:49 00 00 I..
--------------------------------------------------------------------
<Rx> - (199): ReceiveDataInd
<Error> - Unsupported Data Profile (0). Data Rejected
Invalid Data Information
SourceIndex = 0x01 (1)
ProfileId = 0x00 (0) (GDP)
VendorId = 0x83FF (33791)
RxLQI = 0x9E (158)
RxFlags = 0x02 (2)
DataLength = 3
Data(0x)
0000:49 00 00 I..
--------------------------------------------------------------------
<Rx> - (200): ReceiveDataInd
<Error> - Unsupported Data Profile (0). Data Rejected
Invalid Data Information
SourceIndex = 0x01 (1)
ProfileId = 0x00 (0) (GDP)
VendorId = 0x83FF (33791)
RxLQI = 0x9E (158)
RxFlags = 0x02 (2)
DataLength = 3
Data(0x)
0000:49 00 00 I..
--------------------------------------------------------------------
<Rx> - (201): ReceiveDataInd
<Error> - Unsupported Data Profile (0). Data Rejected
Invalid Data Information
SourceIndex = 0x01 (1)
ProfileId = 0x00 (0) (GDP)
VendorId = 0x83FF (33791)
RxLQI = 0x9E (158)
RxFlags = 0x02 (2)
DataLength = 3
Data(0x)
0000:49 00 00 I..
--------------------------------------------------------------------
<Rx> - (202): ReceiveDataInd
<Error> - Unsupported Data Profile (0). Data Rejected
Invalid Data Information
SourceIndex = 0x01 (1)
ProfileId = 0x00 (0) (GDP)
VendorId = 0x83FF (33791)
RxLQI = 0xA0 (160)
RxFlags = 0x02 (2)
DataLength = 3
Data(0x)
0000:49 00 00 I..
--------------------------------------------------------------------
<Rx> - (203): ReceiveDataInd
<Error> - Unsupported Data Profile (0). Data Rejected
Invalid Data Information
SourceIndex = 0x01 (1)
ProfileId = 0x00 (0) (GDP)
VendorId = 0x83FF (33791)
RxLQI = 0x9A (154)
RxFlags = 0x02 (2)
DataLength = 3
Data(0x)
0000:49 00 00 I..
--------------------------------------------------------------------
<Rx> - (204): ReceiveDataInd
<Error> - Unsupported Data Profile (0). Data Rejected
Invalid Data Information
SourceIndex = 0x01 (1)
ProfileId = 0x00 (0) (GDP)
VendorId = 0x83FF (33791)
RxLQI = 0x9A (154)
RxFlags = 0x02 (2)
DataLength = 3
Data(0x)
0000:49 00 00 I..
we check the bind flow is same with your sdk.
And we cann't dig into the lib, so please give us some help or new lib to solve this problem
