- startbit_pulse_len = GRUNDIG_BIT_LEN;\r
- startbit_pause_len = GRUNDIG_PRE_PAUSE_LEN;\r
- pulse_1_len = GRUNDIG_BIT_LEN;\r
- pause_1_len = GRUNDIG_BIT_LEN;\r
- pulse_0_len = GRUNDIG_BIT_LEN;\r
- pause_0_len = GRUNDIG_BIT_LEN;\r
- has_stop_bit = GRUNDIG_STOP_BIT;\r
- complete_data_len = GRUNDIG_COMPLETE_DATA_LEN;\r
- n_frames = GRUNDIG_REPETITION_CNT; // 2 frames\r
- repetition_pause = GRUNDIG_REPETITION_LEN; // 20msec pause\r
+ startbit_pulse_len = GRUNDIG_OR_NOKIA_BIT_LEN;\r
+ startbit_pause_len = GRUNDIG_OR_NOKIA_PRE_PAUSE_LEN;\r
+ pulse_len = GRUNDIG_OR_NOKIA_BIT_LEN;\r
+ pause_len = GRUNDIG_OR_NOKIA_BIT_LEN;\r
+ has_stop_bit = GRUNDIG_OR_NOKIA_STOP_BIT;\r
+ complete_data_len = GRUNDIG_COMPLETE_DATA_LEN;\r
+ n_auto_repetitions = GRUNDIG_FRAMES; // 2 frames\r
+ auto_repetition_pause_len = GRUNDIG_AUTO_REPETITION_PAUSE_LEN; // 20m sec pause\r
+ repeat_frame_pause_len = GRUNDIG_OR_NOKIA_FRAME_REPEAT_PAUSE_LEN; // 117 msec pause\r
+ irsnd_set_freq (IRSND_FREQ_38_KHZ);\r
+\r
+ break;\r
+ }\r
+#endif\r
+#if IRSND_SUPPORT_NOKIA_PROTOCOL == 1\r
+ case IRMP_NOKIA_PROTOCOL:\r
+ {\r
+ startbit_pulse_len = GRUNDIG_OR_NOKIA_BIT_LEN;\r
+ startbit_pause_len = GRUNDIG_OR_NOKIA_PRE_PAUSE_LEN;\r
+ pulse_len = GRUNDIG_OR_NOKIA_BIT_LEN;\r
+ pause_len = GRUNDIG_OR_NOKIA_BIT_LEN;\r
+ has_stop_bit = GRUNDIG_OR_NOKIA_STOP_BIT;\r
+ complete_data_len = NOKIA_COMPLETE_DATA_LEN;\r
+ n_auto_repetitions = NOKIA_FRAMES; // 2 frames\r
+ auto_repetition_pause_len = NOKIA_AUTO_REPETITION_PAUSE_LEN; // 20 msec pause\r
+ repeat_frame_pause_len = GRUNDIG_OR_NOKIA_FRAME_REPEAT_PAUSE_LEN; // 117 msec pause\r
+ irsnd_set_freq (IRSND_FREQ_38_KHZ);\r
+ break;\r
+ }\r
+#endif\r
+#if IRSND_SUPPORT_SIEMENS_PROTOCOL == 1\r
+ case IRMP_SIEMENS_PROTOCOL:\r
+ {\r
+ startbit_pulse_len = SIEMENS_BIT_LEN;\r
+ startbit_pause_len = SIEMENS_BIT_LEN;\r
+ pulse_len = SIEMENS_BIT_LEN;\r
+ pause_len = SIEMENS_BIT_LEN;\r
+ has_stop_bit = SIEMENS_STOP_BIT;\r
+ complete_data_len = SIEMENS_COMPLETE_DATA_LEN - 1;\r
+ n_auto_repetitions = 1; // 1 frame\r
+ auto_repetition_pause_len = 0;\r
+ repeat_frame_pause_len = SIEMENS_FRAME_REPEAT_PAUSE_LEN;\r