davidkernell / ribsu

Automatically exported from code.google.com/p/ribsu
GNU General Public License v2.0
0 stars 0 forks source link

Output doesn't work #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
usbuirt
mac mini 2010 snow lepoard
xcode 3.2.5

all complies work
programs work

type 21 or 24, press enter, use a remote to send signals...

but i never get 36 output...only pronto?? and i swapped the 'output' and 
'output_pronto' functions to try to get 36 numbers and did, but they don't send 
out to my knowledge. 

is there a way to output the pronto codes out from ribsu to my usbuirt?
any ideas why i was getting pronto instead of '36' output?

anymore ideas would be very helpful. thanks.

Original issue reported on code.google.com by WBagay...@gmail.com on 14 Mar 2011 at 3:51

GoogleCodeExporter commented 8 years ago
I've solved this. you can remove if wanted.

Original comment by WBagay...@gmail.com on 15 Mar 2011 at 4:06

GoogleCodeExporter commented 8 years ago
how did you solve?

Original comment by brandtda...@gmail.com on 23 Aug 2011 at 6:12

GoogleCodeExporter commented 8 years ago
I know it's been over four years, but I just ran into the same thing and spent 
way too long trying to figure it out.

TL;DR If you get a pronto code (starts with a 0000 block), you can just paste 
that into ribsu and it'll send it.

For example:
$ ./ribsu
21
21

[press button on the remote]
0000 006B 0000 [...]

Then:
$ echo "0000 006B 0000 [...]" | ./ribsu

And it'll send the code.

You may need to make the change in stdin_read_callback referenced by one of the 
other issues (change the while loop to "while ((c = fgetc(fin)) != '\n' &&  c 
!= EOF  &&  n < hex->max)" )

Original comment by ja...@jamesthorne.ca on 3 Mar 2015 at 3:54