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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# This template is used to create test fixtures for each supported firmware
#
# If you have an unsupported firmware you can help by copying this template and
# filling in the values you get back from your from your 3D printer for each scenario
# (eg. Use Octoprint to send a "M115" and record the response under firmware: m115_firmware_info).
#
# These test fixtures are linked by adding a test to tests/mod.rs. If your unsure how to do this
# that's ok, just having the fields completed in this file should help a bunch!
[]
# "N14 M115*19\n" - Note: this response has been split into multiple lines for readability
= """\
"""
[]
# Start the printer with an SD card inserted
= """\
"""
# Start the printer without any SD card
= """\
"""
[]
# "N27 m23 file.txt*119\n" (using a lowercase m is an invalid MCode)
= """\
"""
# Common GCodes and MCodes
# #############################
[]
# "N1822 G1 X1*88\n"
= ""
# "N1581 G28 X*86\n"
= ""
# "N1825 G90*46\n"
= ""
# "N1820 G91*42\n"
= ""
[]
# "N582 M105*40\n"
= """\
"""
# "N583 M114*41\n"
= """\
"""
# "N3 M155 S0.5*121\n"
= ""
[]
# "N1044 M109*26\n"
= """\
"""
# SD Card
# #############################
[]
# "N187 M20*31\n"
= """\
"""
# "N3 M20*18\n"
= """\
"""
[]
# "N2448 M21*42\n"
= """\
"""
# "N44 M21*32\n"
= """\
"""
[]
# "N40 M23 file.txt*86\n"
= """\
"""
# "N19 M23 /teg.gcode*23\n"
= """\
"""
[]
# "N47 M24*38\n" (after streaming a G28, M114 and M105 to the file and opening it)
= """\
"""
# "N56 M24*38\n"
= """\
"""
[]
# "N389 M28 file.txt *75\n" (after an M21)
= """\
"""
# "N125 M28 teg.gcode*13\n" (same response as m23_no_sd_card)
= """\
"""
[]
# "N18 M29*33\n"
= """\
"""
# "N24 M29*46\n"
= ""
[]
# "N59 M30 file.txt*92\n"
= """\
"""
# "N109 M30 /teg.gcode*37\n"
= """\
"""