Rev 1715 | Rev 1874 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1715 | Rev 1837 | ||
|---|---|---|---|
| Line 316... | Line 316... | ||
| 316 | //We have to remove the last time since that would bring us to a high signal again. |
316 | //We have to remove the last time since that would bring us to a high signal again. |
| 317 | *len=*len-1; |
317 | *len=*len-1; |
| 318 | buf[*len]=0; |
318 | buf[*len]=0; |
| 319 | } |
319 | } |
| 320 | 320 | ||
| 321 | proto->modfreq= |
321 | proto->modfreq=IR_RC5_F_MOD; |
| 322 | proto->timeout=IR_RC5_TIMEOUT; |
322 | proto->timeout=IR_RC5_TIMEOUT; |
| 323 | proto->repeats=IR_RC5_REPS; |
323 | proto->repeats=IR_RC5_REPS; |
| 324 | return IR_OK; |
324 | return IR_OK; |
| 325 | } |
325 | } |
| 326 | 326 | ||
| Line 489... | Line 489... | ||
| 489 | buf[1] = IR_NEC_ST_PAUSE/2; |
489 | buf[1] = IR_NEC_ST_PAUSE/2; |
| 490 | buf[2] = IR_NEC_HIGH; |
490 | buf[2] = IR_NEC_HIGH; |
| 491 | proto->timeout=IR_NEC_ST_TIMEOUT; |
491 | proto->timeout=IR_NEC_ST_TIMEOUT; |
| 492 | *len = 3; |
492 | *len = 3; |
| 493 | } |
493 | } |
| 494 | proto->modfreq= |
494 | proto->modfreq=IR_NEC_F_MOD; |
| 495 | proto->repeats=IR_NEC_REPS; |
495 | proto->repeats=IR_NEC_REPS; |
| 496 | return IR_OK; |
496 | return IR_OK; |
| 497 | } |
497 | } |
| 498 | 498 | ||
| 499 | 499 | ||
| Line 588... | Line 588... | ||
| 588 | } |
588 | } |
| 589 | } |
589 | } |
| 590 | 590 | ||
| 591 | *len = 67; |
591 | *len = 67; |
| 592 | 592 | ||
| 593 | proto->modfreq= |
593 | proto->modfreq=IR_SAMS_F_MOD; |
| 594 | proto->timeout=IR_SAMS_TIMEOUT; |
594 | proto->timeout=IR_SAMS_TIMEOUT; |
| 595 | proto->repeats=IR_SAMS_REPS; |
595 | proto->repeats=IR_SAMS_REPS; |
| 596 | return IR_OK; |
596 | return IR_OK; |
| 597 | } |
597 | } |
| 598 | 598 | ||
| Line 707... | Line 707... | ||
| 707 | //make sure that we finish high by removing the last zero if needed |
707 | //make sure that we finish high by removing the last zero if needed |
| 708 | if (*len%2 == 0){ |
708 | if (*len%2 == 0){ |
| 709 | *len = *len - 1; |
709 | *len = *len - 1; |
| 710 | } |
710 | } |
| 711 | 711 | ||
| 712 | proto->modfreq= |
712 | proto->modfreq=IR_MARANTZ_F_MOD; |
| 713 | proto->timeout=IR_MARANTZ_TIMEOUT; |
713 | proto->timeout=IR_MARANTZ_TIMEOUT; |
| 714 | proto->repeats=IR_MARANTZ_REPS; |
714 | proto->repeats=IR_MARANTZ_REPS; |
| 715 | return IR_OK; |
715 | return IR_OK; |
| 716 | } |
716 | } |
| 717 | 717 | ||
| Line 818... | Line 818... | ||
| 818 | } |
818 | } |
| 819 | } |
819 | } |
| 820 | 820 | ||
| 821 | *len = 99; |
821 | *len = 99; |
| 822 | 822 | ||
| 823 | proto->modfreq= |
823 | proto->modfreq=IR_PANA_F_MOD; |
| 824 | proto->timeout=IR_PANA_TIMEOUT; |
824 | proto->timeout=IR_PANA_TIMEOUT; |
| 825 | proto->repeats=IR_PANA_REPS; |
825 | proto->repeats=IR_PANA_REPS; |
| 826 | return IR_OK; |
826 | return IR_OK; |
| 827 | } |
827 | } |
| 828 | 828 | ||