Subversion Repositories HomeAutomation

Rev

Rev 1832 | Rev 1834 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1832 Rev 1833
Line 710... Line 710...
710
                }
710
                }
711
            }
711
            }
712
            break;
712
            break;
713
        }
713
        }
714
       
714
       
-
 
715
#if sns_irTransceive_PRONTO_SUPPORT==1
715
        /* TODO: add struct which stores pronto info:
716
        /* TODO: add struct which stores pronto info:
716
        channel, pronto receive state, buffer length of once burst pairs, buffer length of repeat burst pairs */
717
        channel, pronto receive state, buffer length of once burst pairs, buffer length of repeat burst pairs */
717
        case CAN_MODULE_CMD_IRTRANSCEIVE_IRPRONTOSTART: {
718
        case CAN_MODULE_CMD_IRTRANSCEIVE_IRPRONTOSTART: {
718
 
719
 
719
            uint8_t channel = rxMsg->Data[0]>>4;
720
            uint8_t channel = rxMsg->Data[0]>>4;
Line 843... Line 844...
843
 
844
 
844
            break;
845
            break;
845
        }
846
        }
846
 
847
 
847
/* TODO: In IR state machine add sending a response frame when ir stops sending, also implement pronto repeat */
848
/* TODO: In IR state machine add sending a response frame when ir stops sending, also implement pronto repeat */
-
 
849
#endif
848
#endif
850
#endif
849
       
851
       
850
        case CAN_MODULE_CMD_IRTRANSCEIVE_IRCONFIG: {
852
        case CAN_MODULE_CMD_IRTRANSCEIVE_IRCONFIG: {
851
            uint8_t channel = rxMsg->Data[0]>>4;
853
            uint8_t channel = rxMsg->Data[0]>>4;
852
            uint8_t config = rxMsg->Data[0] & 0x0f;
854
            uint8_t config = rxMsg->Data[0] & 0x0f;