When I press a button on the remote control, a burst of data is shown in the logger:
Code:
12:57:09 [I] [remote.raw:028]
Received Raw: -575, 1186, -530, 1230, -501, 1257, -479, 1271, -474, 1284, -1328, 443, -434, 1312, -1314, 451, -426, 1318, -1311, 459, -417, 1335, -1295, 472, -398, 1351, -1289, 465, -412, 1327, -1305, 466, -1290, 480, -1283, 473, -406, 1340, -414, 1334,
12:57:09 [I] [remote.raw:041]
-1301, 463, -1296, 481, -1277, 483, -1280, 480, -400
12:57:09 [I] [remote.raw:028]
Received Raw: -583, 1178, -541, 1221, -502, 1259, -479, 1277, -464, 1289, -1332, 436, -440, 1313, -1313, 452, -426, 1321, -1309, 456, -420, 1327, -1305, 459, -419, 1334, -1298, 467, -412, 1332, -1300, 466, -1294, 468, -1292, 475, -404, 1352, -400, 1347,
12:57:09 [I] [remote.raw:041]
-1290, 469, -1294, 472, -1289, 474, -1287, 480, -397
12:57:09 [I] [remote.raw:028]
Received Raw: -573, 1190, -528, 1231, -505, 1253, -488, 1272, -465, 1291, -1332, 438, -436, 1312, -1317, 450, -426, 1320, -1310, 462, -415, 1333, -1302, 462, -415, 1329, -1305, 459, -418, 1338, -1296, 467, -1293, 472, -1289, 476, -402, 1342, -418, 1329,
12:57:09 [I] [remote.raw:041]
-1299, 483, -1282, 478, -1290
12:57:12 [I] [remote.raw:028]
Received Raw: -100, 1744, -69, 488, -110, 2420, -279, 377, -219, 4345, -106, 2566, -72, 4873, -348, 137, -258, 1868, -171, 103, -833, 1103, -242, 4393, -106, 1501, -60, 1132, -742, 224, -213, 123, -152, 155, -90, 192, -607, 576, -119, 202, -388, 515,
12:57:12 [I] [remote.raw:028]
-247, 301, -242, 1216, -205, 283, -622, 216, -216, 600, -312, 793, -190, 188, -130, 306, -164, 337, -227, 222, -101, 203, -78, 554, -548, 179, -401, 655, -186, 572, -620, 586, -700, 1260, -327, 503, -277, 218, -406, 529, -633, 480, -264, 399, -279,
12:57:12 [I] [remote.raw:028]
267, -62, 248, -319, 149, -109, 329, -99, 268, -458, 139, -552, 264, -369, 85, -627, 404, -171, 156, -58, 921, -79, 121, -809, 254, -496, 212, -213, 122, -440, 229, -214, 96, -941, 516, -169, 182, -854, 367, -451, 119, -51, 381, -168, 136, -107, 274,
12:57:12 [I] [remote.raw:028]
-132, 157, -560, 211, -4024, 90, -227, 267, -83, 146, -279, 102, -256, 139, -519, 160, -166, 203, -311, 601, -220, 293, -739, 403, -1731, 108, -585, 832, -259, 281, -414, 56, -181, 861, -1097, 87, -188, 104, -523, 257, -189, 128, -253, 238, -922, 134,
12:57:12 [I] [remote.raw:028]
-576, 477, -117, 148, -772, 173, -793, 63, -1316, 87, -731, 360, -628, 96, -278, 62, -584, 107, -351, 223, -516, 107, -340, 141, -1028, 139, -1286, 167, -848, 52, -472, 102, -588, 85, -1269, 105, -80, 149, -170, 242, -561, 99, -902, 55, -327, 127,
12:57:12 [I] [remote.raw:028]
-205, 119, -746, 110, -1196, 106, -1744, 52, -573, 115, -2030, 130, -859, 72, -390, 81, -454, 126, -578, 144, -509, 78, -371, 513, -315, 220, -125, 71, -1490, 103, -73, 102, -454, 85, -521, 344, -674, 99, -233, 369, -93, 114, -531, 175, -265, 189,
12:57:12 [I] [remote.raw:028]
-501, 141, -249, 98, -355, 196, -194, 330, -208, 163, -194, 118, -158, 86, -269, 365, -201, 150, -144, 114, -444, 177, -648, 131, -514, 73, -114, 222, -139, 174, -252, 66, -587, 103, -651, 198, -473, 294, -99, 133, -136, 76, -81, 194, -105, 687, -557,
12:57:12 [I] [remote.raw:041]
336, -455, 79, -412, 360, -197, 1029, -133, 996, -125, 603, -93, 98, -117, 459, -195, 51, -805, 118, -201, 111, -595, 197, -79, 353, -99, 59, -381, 219, -155, 92, -307, 55, -345, 135, -149, 52, -1978, 55, -606, 451, -88, 384
Pressing the same button again tI don't get the same data. How should I filter this flood of data? What is the unique piece of data relevant to each button?