Why CIRClass can't work ? (1 Viewer)

DDR

New Member
December 17, 2008
1
0
Everybody:
Who could help me about CIRClass problem?
I am coding CIR driver , but now I've got a problem. Is CIRClass receive data
format RLC code ? How to assign the IR_RECEIVE_PARAMS structure value?
Is the length of RLC data always fixed? If it does, how long?
ex: RLC data:
2664,-888,444,-444,444,-444,444,-888,444,-888,1332,
-888,444,-444,444,-444,444,-444,444,-444,444,-444,
444,-444,444,-444,444,-444,444,-444,444,-444,888,-444,
444,-444,444,-444,444,-444,444,-888,444,-444,444,-444,
444,-444,888,-888,444,-444,444,-444,444,-444,444,-444,
888,-888,444,-444,444,-444,444,-444,444,-444,444,
-6350,-6350,-6350,-6350,-6350,-6350,-6350,-6350,-6350,-6350, //0x7f
-6350,-6350,-6350,-6350,-6350,-2500, //0x7f
0x9f,0x14,0x01,0x9f,0x15,0,0,0x80

Step1:
1st IR_RECEIVE_PARAMS :
1st.DataEnd=0;
1st.ByteCount=0x10;
1st.Data[1]=0x0000A886; //2664
1st.Data[2]=0xFFFFFC88; //-888
1st.Data[3]=0x000001BC; //444
1st.Data[4]=0xFFFFFE44; //-444
Step2:
2st IR_RECEIVE_PARAMS :
1st.DataEnd=0;
1st.ByteCount=0x10;
1st.Data[1]=0x000001BC; //444
1st.Data[2]=0xFFFFFE44; //-444
1st.Data[3]=0x000001BC; //444
1st.Data[4]=0xFFFFFC88; //-888
.............
.............
Last setp:
last IR_RECEIVE_PARAMS : // Is here need set "0x9f 0x15 0x00 0x00 0x80" data?
last .DataEnd=1;
last .ByteCount=0x14;
last .Data[1]=0x0000009f;
last .Data[2]=0x00000015;
last .Data[3]=0x00000000;
last .Data[4]=0x00000000;
last .Data[5]=0x00000080;

And which value should I assign in Data[0]?
Is the flow correct? or who can point me out the mistake?
Thakns a lot! :D


Here's my test envirnment:
(1)OS:Vista 32
(2)Interface:LPC
 

Users who are viewing this thread

Top Bottom