HTC ONE M8 IR Blaster after Lollipop Update not working

后端 未结 5 1278
清酒与你
清酒与你 2020-12-19 14:26

I need to use the infrared transmitter on an HTC One device. Before the lolipop update I could do this no problem, but now my code does not work.

    Consume         


        
5条回答
  •  情书的邮戳
    2020-12-19 14:59

    My experience on HTC One M7: 1) KitKat 4.4.3 the ConsumerIRManager code worked fine, passing an array of microseconds.

    2) Updated to Lolipop 5.0.2 and there was no transmission at all from the IR Led, the no-op problem. I refactored my code to use the HTC API, which requires the waveform in "clock ticks" instead of direct microseconds. All is working now.

    It seems we cannot use the ConsumerIRManager on HTC One except for very specific versions, i.e. 4.4.3.

提交回复
热议问题