summaryrefslogtreecommitdiff
path: root/src/static_patterns.h
blob: e91c219e1a9851991db264d2b95dd9c1ef22fc04 (plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*
 * Copyright (C) 2016 by Daniel Friesel
 *
 * License: You may use, redistribute and/or modify this file under the terms
 * of either:
 * * The GNU LGPL v3 (see COPYING and COPYING.LESSER), or
 * * The 3-clause BSD License (see COPYING.BSD)
 *
 */

#ifndef STATIC_PATTERNS_H_
#define STATIC_PATTERNS_H_

#include <avr/pgmspace.h>

/*
 * Note: Static patterns must not be longer than 128 bytes (headers excluded)
 */

const uint8_t PROGMEM shutdownPattern[] = {
	0x20, 0x40,
	0x01, 0x0f,
	0xff, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xff,
	0x7e, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x7e,
	0x3c, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x3c,
	0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18,
	0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00,
	0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x00, 0x00,
	0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x00,
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};

const uint8_t PROGMEM flashingPattern[] = {
	0x20, 0x10,
	0x06, 0x00,
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
	0x00, 0x00, 0x07, 0x33, 0x55, 0x98, 0x00, 0x00
};

#ifdef LANG_DE
const uint8_t PROGMEM emptyPattern[] = {
	0x10, 0x29,
	0x20, 0x00,
	' ',   1, ' ', 'B', 'l', 'i', 'n', 'k', 'e', 'n', 'r', 'o', 'c', 'k', 'e',
	't', ' ', 'v', '0', '.', '9', ' ', '-', ' ', 'S', 'p', 'e', 'i', 'c', 'h',
	'e', 'r', ' ', 'i', 's', 't', ' ', 'l', 'e', 'e', 'r'
};
#else
const uint8_t PROGMEM emptyPattern[] = {
	0x10, 0x28,
	0x20, 0x00,
	' ',   1, ' ', 'B', 'l', 'i', 'n', 'k', 'e', 'n', 'r', 'o', 'c', 'k', 'e',
	't', ' ', 'v', '0', '.', '9', ' ', '-', ' ', 'S', 't', 'o', 'r', 'a', 'g',
	'e', ' ', 'i', 's', ' ', 'e', 'm', 'p', 't', 'y'
};
#endif

#ifdef LANG_DE
const uint8_t PROGMEM timeoutPattern[] = {
	0x10, 0x16,
	0x20, 0x00,
	' ',   2, ' ', 'U', 'e', 'b', 'e', 'r', 't', 'r', 'a', 'g', 'u', 'n', 'g',
	's', 'f', 'e', 'h', 'l', 'e', 'r'
};
#else
const uint8_t PROGMEM timeoutPattern[] = {
	0x10, 0x15,
	0x20, 0x00,
	' ',   2, ' ', 'T', 'r', 'a', 'n', 's', 'm', 'i', 's', 's', 'i', 'o', 'n',
	' ', 'e', 'r', 'r', 'o', 'r'
};
#endif

#endif /* STATIC_PATTERNS_H_ */