Differences between infrared transmission with Android 5.0 and 5.1

I am trying to develop a remote control app on Android. I tested the app with my Samsung Galaxy S5 running Android 5.0 and it worked as intended. However, I ran into problems when testing on the edges of a Samsung Galaxy S6 running Android 5.1.

I am trying to send a template:

new int[] {8700, 4320, 560, 520, 560, 500, 560, 500, 560, 520, 540, 1600, 560, 520, 540, 520, 560, 500, 560, 1600, 560, 1600, 560, 1600, 560, 1600, 560, 500, 560, 1600, 560, 1600, 560, 1600, 560, 1640, 520, 1600, 560, 1600, 560, 1600, 560, 1600, 560, 500, 560, 500, 560, 520, 560, 500, 560, 500, 560, 500, 560, 520, 540, 520, 560, 1600, 560, 1600, 560, 1600, 560, 39080, 8660, 2140, 560, 39080}

      

Here is the readout from arduino:

Actual remote:

{8700, 4320, 580, 480, 560, 500, 580, 480, 560, 520, 540, 1600,...}

      

Samsung S5 (5.0):

{8720, 4260, 600, 460, 580, 420, 620, 460, 500, 540, 560, 1560,...} 

      

Edge Samsung S6 (5.1):

{8300, 4180, 500, 560, 460, 500, 500, 520, 500, 540, 480, 1600, ...}

      

Based on the readings, I noticed that the On pulse is shorter and the Off pulse is much longer.

So, is there a difference in how the ConsumerIrManager transfer method works between Android 5.0 and 5.1? Does anyone know why there is a discrepancy between Samsung S5 and S6 gears?

+3
java android infrared


source to share


No one has answered this question yet

Check out similar questions:

5641
What is the difference between "px", "dip", "dp" and "sp"?
3545
Differences between HashMap and Hashtable?
2956
What is the difference between public, secure, batch and private in Java?
1873
What's the difference between @Component, @Repository and @Service annotations in Spring?
1498
Difference between StringBuilder and StringBuffer
1270
How to pass data between activities in an Android app?
1177
What is the difference between match_parent and fill_parent?
1152
Difference between gravity and layout_gravity on Android
1147
Difference between wait () and sleep ()
713
Difference between HashMap, LinkedHashMap and TreeMap



All Articles
Loading...
X
Show
Funny
Dev
Pics