-
-
Notifications
You must be signed in to change notification settings - Fork 167
/
esp32-ble-jk04-example-faker.yaml
26 lines (25 loc) · 2.19 KB
/
esp32-ble-jk04-example-faker.yaml
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
<<: !include esp32-ble-jk04-example-debug.yaml
interval:
- interval: 5s
then:
- lambda: |-
const uint8_t cell_info_frame[300] = {
0x55, 0xAA, 0xEB, 0x90, 0x02, 0x4B, 0xC0, 0x61, 0x56, 0x40, 0x1F, 0xAA, 0x56, 0x40, 0xFF, 0x91, 0x56, 0x40,
0xFF, 0x91, 0x56, 0x40, 0x1F, 0xAA, 0x56, 0x40, 0xFF, 0x91, 0x56, 0x40, 0xFF, 0x91, 0x56, 0x40, 0xFF, 0x91,
0x56, 0x40, 0x1F, 0xAA, 0x56, 0x40, 0xFF, 0x91, 0x56, 0x40, 0xFF, 0x91, 0x56, 0x40, 0xFF, 0x91, 0x56, 0x40,
0xFF, 0x91, 0x56, 0x40, 0x1F, 0xAA, 0x56, 0x40, 0xE0, 0x79, 0x56, 0x40, 0xE0, 0x79, 0x56, 0x40, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7C, 0x1D, 0x23, 0x3E, 0x1B, 0xEB,
0x08, 0x3E, 0x56, 0xCE, 0x14, 0x3E, 0x4D, 0x9B, 0x15, 0x3E, 0xE0, 0xDB, 0xCD, 0x3D, 0x72, 0x33, 0xCD, 0x3D,
0x94, 0x88, 0x01, 0x3E, 0x5E, 0x1E, 0xEA, 0x3D, 0xE5, 0x17, 0xCD, 0x3D, 0xE3, 0xBB, 0xD7, 0x3D, 0xF5, 0x44,
0xD2, 0x3D, 0xBE, 0x7C, 0x01, 0x3E, 0x27, 0xB6, 0x00, 0x3E, 0xDA, 0xB5, 0xFC, 0x3D, 0x6B, 0x51, 0xF8, 0x3D,
0xA2, 0x93, 0xF3, 0x3D, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x03, 0x95, 0x56, 0x40, 0x00, 0xBE, 0x90, 0x3B, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF,
0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x66,
0xA0, 0xD2, 0x4A, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 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, 0x53, 0x96,
0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x22, 0x40, 0x00, 0x13
};
id(bms0).assemble(cell_info_frame, sizeof(cell_info_frame));