home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
IR Server Suite (IRSS)
Why CIRClass can't work ?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="DDR" data-source="post: 344382" data-attributes="member: 85839"><p>Everybody:</p><p> Who could help me about CIRClass problem?</p><p> I am coding CIR driver , but now I've got a problem. Is CIRClass receive data</p><p> format RLC code ? How to assign the IR_RECEIVE_PARAMS structure value?</p><p> Is the length of RLC data always fixed? If it does, how long?</p><p> ex: RLC data:</p><p> 2664,-888,444,-444,444,-444,444,-888,444,-888,1332,</p><p> -888,444,-444,444,-444,444,-444,444,-444,444,-444,</p><p> 444,-444,444,-444,444,-444,444,-444,444,-444,888,-444,</p><p> 444,-444,444,-444,444,-444,444,-888,444,-444,444,-444,</p><p> 444,-444,888,-888,444,-444,444,-444,444,-444,444,-444,</p><p> 888,-888,444,-444,444,-444,444,-444,444,-444,444,</p><p> -6350,-6350,-6350,-6350,-6350,-6350,-6350,-6350,-6350,-6350, //0x7f</p><p> -6350,-6350,-6350,-6350,-6350,-2500, //0x7f</p><p> 0x9f,0x14,0x01,0x9f,0x15,0,0,0x80</p><p></p><p> Step1: </p><p> 1st IR_RECEIVE_PARAMS :</p><p> 1st.DataEnd=0;</p><p> 1st.ByteCount=0x10;</p><p> 1st.Data[1]=0x0000A886; //2664</p><p> 1st.Data[2]=0xFFFFFC88; //-888</p><p> 1st.Data[3]=0x000001BC; //444</p><p> 1st.Data[4]=0xFFFFFE44; //-444</p><p> Step2:</p><p> 2st IR_RECEIVE_PARAMS :</p><p> 1st.DataEnd=0;</p><p> 1st.ByteCount=0x10;</p><p> 1st.Data[1]=0x000001BC; //444</p><p> 1st.Data[2]=0xFFFFFE44; //-444</p><p> 1st.Data[3]=0x000001BC; //444</p><p> 1st.Data[4]=0xFFFFFC88; //-888</p><p> .............</p><p> .............</p><p> Last setp:</p><p> last IR_RECEIVE_PARAMS : // Is here need set "0x9f 0x15 0x00 0x00 0x80" data?</p><p> last .DataEnd=1;</p><p> last .ByteCount=0x14;</p><p> last .Data[1]=0x0000009f; </p><p> last .Data[2]=0x00000015; </p><p> last .Data[3]=0x00000000; </p><p> last .Data[4]=0x00000000; </p><p> last .Data[5]=0x00000080;</p><p> </p><p> And which value should I assign in Data[0]?</p><p> Is the flow correct? or who can point me out the mistake? </p><p> Thakns a lot! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p> </p><p> </p><p>Here's my test envirnment:</p><p>(1)OS:Vista 32</p><p>(2)Interface:LPC</p></blockquote><p></p>
[QUOTE="DDR, post: 344382, member: 85839"] 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! :thx: Here's my test envirnment: (1)OS:Vista 32 (2)Interface:LPC [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
IR Server Suite (IRSS)
Why CIRClass can't work ?
Contact us
RSS
Top
Bottom