3 * Identifies event, but does not attempt to decrypt rolling code...
5 * Copyright (C) 2015 Tommy Vestermark
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
14 static int valeo_callback(bitbuffer_t *bitbuffer) {
15 bitrow_t *bb = bitbuffer->bb;
18 unsigned bits = bitbuffer->bits_per_row[0];
20 && (bb[0][1] == 0xe8) && (bb[0][2] == 0xe8) // Check a couple of preambles
22 fprintf(stdout, "Valeo Car Key:\n");
23 fprintf(stdout, "Rolling code = ");
24 for (unsigned n=49; n<(49+9); ++n) {
25 fprintf(stdout, "%02X", bb[0][n]);
27 fprintf(stdout, "\n");
35 .name = "Valeo Car Key",
36 .modulation = OOK_PULSE_MANCHESTER_ZEROBIT,
38 .long_limit = 0, // Not used
40 .json_callback = &valeo_callback,