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)
[FIXED] Help irss + winlirc
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="mrmojo666" data-source="post: 1068990" data-attributes="member: 18095"><p>I found a solution :</p><p></p><p>the winlirc plugin have 3 bugs:</p><p></p><p>1. the field "Password" in ir command file is not a password but it has to be filled with winlirc command "SEND_ONCE"</p><p></p><p>the command file should like to :</p><p></p><p></p><p>2. In the composition of command there is a bug in the file WinLircCommand.cs</p><p>Wrong: [CODE]public WinLircCommand(string data) : this()</p><p> {</p><p> string[] dataElements = data.Split(' ');</p><p></p><p> _repeats = Int32.Parse(dataElements[1], NumberStyles.HexNumber);</p><p> _button = dataElements[2];</p><p> _remote = dataElements[3];</p><p> }[/CODE]</p><p>Correct: </p><p>[CODE]public WinLircCommand(string data) : this()</p><p> {</p><p> string[] dataElements = data.Split(' ');</p><p> </p><p> _remote = dataElements[1];</p><p> _button = dataElements[2];</p><p> _repeats = Int32.Parse(dataElements[3], NumberStyles.HexNumber);</p><p> </p><p> }[/CODE]</p><p>3. Also in WinLircServer.cs there is a bug, it doesn't manage the answer "SUCCESS"</p><p></p><p>Wrong:</p><p>[CODE] private void ProcessData(string data)</p><p> {</p><p> // Ignore commands we do not need (like the startup message)</p><p> if (data.Equals("BEGIN", StringComparison.OrdinalIgnoreCase) ||</p><p> data.Equals("END", StringComparison.OrdinalIgnoreCase) ||</p><p> data.Equals("SIGHUP", StringComparison.OrdinalIgnoreCase))</p><p> return;[/CODE]</p><p></p><p>Correct: </p><p>[CODE] private void ProcessData(string data)</p><p> {</p><p> // Ignore commands we do not need (like the startup message)</p><p> if (data.Equals("BEGIN", StringComparison.OrdinalIgnoreCase) ||</p><p> data.Equals("END", StringComparison.OrdinalIgnoreCase) ||</p><p> data.Equals("SIGHUP", StringComparison.OrdinalIgnoreCase) ||</p><p> data.Equals("SUCCESS", StringComparison.OrdinalIgnoreCase))</p><p> return;[/CODE]</p><p></p><p>i'm going to attach built files and code files </p><p>to make irss .62 or .82 working just substitute both dlls</p></blockquote><p></p>
[QUOTE="mrmojo666, post: 1068990, member: 18095"] I found a solution : the winlirc plugin have 3 bugs: 1. the field "Password" in ir command file is not a password but it has to be filled with winlirc command "SEND_ONCE" the command file should like to : 2. In the composition of command there is a bug in the file WinLircCommand.cs Wrong: [CODE]public WinLircCommand(string data) : this() { string[] dataElements = data.Split(' '); _repeats = Int32.Parse(dataElements[1], NumberStyles.HexNumber); _button = dataElements[2]; _remote = dataElements[3]; }[/CODE] Correct: [CODE]public WinLircCommand(string data) : this() { string[] dataElements = data.Split(' '); _remote = dataElements[1]; _button = dataElements[2]; _repeats = Int32.Parse(dataElements[3], NumberStyles.HexNumber); }[/CODE] 3. Also in WinLircServer.cs there is a bug, it doesn't manage the answer "SUCCESS" Wrong: [CODE] private void ProcessData(string data) { // Ignore commands we do not need (like the startup message) if (data.Equals("BEGIN", StringComparison.OrdinalIgnoreCase) || data.Equals("END", StringComparison.OrdinalIgnoreCase) || data.Equals("SIGHUP", StringComparison.OrdinalIgnoreCase)) return;[/CODE] Correct: [CODE] private void ProcessData(string data) { // Ignore commands we do not need (like the startup message) if (data.Equals("BEGIN", StringComparison.OrdinalIgnoreCase) || data.Equals("END", StringComparison.OrdinalIgnoreCase) || data.Equals("SIGHUP", StringComparison.OrdinalIgnoreCase) || data.Equals("SUCCESS", StringComparison.OrdinalIgnoreCase)) return;[/CODE] i'm going to attach built files and code files to make irss .62 or .82 working just substitute both dlls [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
IR Server Suite (IRSS)
[FIXED] Help irss + winlirc
Contact us
RSS
Top
Bottom