-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig_pcap.c
More file actions
50 lines (48 loc) · 2.38 KB
/
Copy pathconfig_pcap.c
File metadata and controls
50 lines (48 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* Sensor configuration blob, as observed on the wire
*
* Copyright (C) 2026 Benjamin Allègre (https://github.com/Sigfrodr)
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/* Config capteur (trame 19 du pcap wireshark-goodix) — ouvre le gate. */
#include <glib.h>
const gsize CONFIG_PCAP_LEN = 256;
const guint8 CONFIG_PCAP[256] = {
0x18,0x11,0x6c,0x7d,0x24,0xa1,0x24,0xc5,0x10,0xd5,0x10,0xe5,
0x00,0xe5,0x00,0xe5,0x00,0x04,0x02,0x00,0x00,0x08,0x00,0x11,
0x11,0xba,0x00,0x01,0x80,0xca,0x00,0x07,0x00,0x84,0x00,0xbe,
0xb2,0x86,0x00,0xc5,0xb9,0x88,0x00,0xb5,0xad,0x8a,0x00,0x9d,
0x95,0x8c,0x00,0x00,0xbe,0x8e,0x00,0x00,0xc5,0x90,0x00,0x00,
0xb5,0x92,0x00,0x00,0x9d,0x94,0x00,0x00,0xaf,0x96,0x00,0x00,
0xbf,0x98,0x00,0x00,0xb6,0x9a,0x00,0x00,0xa7,0xd2,0x00,0x00,
0x00,0xd4,0x00,0x00,0x00,0xd6,0x00,0x00,0x00,0xd8,0x00,0x00,
0x00,0x50,0x00,0x01,0x05,0xd0,0x00,0x00,0x00,0x70,0x00,0x00,
0x00,0x72,0x00,0x78,0x56,0x74,0x00,0x34,0x12,0x20,0x00,0x10,
0x40,0x12,0x00,0x03,0x04,0x2a,0x01,0x02,0x00,0x22,0x00,0x01,
0x20,0x24,0x00,0x32,0x00,0x80,0x00,0x01,0x00,0x5c,0x00,0x80,
0x00,0x56,0x00,0x34,0x2c,0x58,0x00,0x01,0x00,0x32,0x00,0x2c,
0x02,0x82,0x00,0x7f,0x0c,0x2a,0x01,0x82,0x03,0x22,0x00,0x01,
0x20,0x24,0x00,0x14,0x00,0x80,0x00,0x01,0x00,0x5c,0x00,0x00,
0x01,0x56,0x00,0x08,0x2c,0x58,0x00,0x03,0x00,0x32,0x00,0x08,
0x04,0x82,0x00,0x80,0x14,0x2a,0x01,0x08,0x00,0x5c,0x00,0x80,
0x00,0x62,0x00,0x0a,0x04,0x64,0x00,0x18,0x00,0x2a,0x01,0x08,
0x00,0x5c,0x00,0x00,0x01,0x52,0x00,0x08,0x00,0x54,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x12,0x9a,
};