-
Notifications
You must be signed in to change notification settings - Fork 20
/
PooledStrings.cpp
32 lines (28 loc) · 1.7 KB
/
PooledStrings.cpp
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
#include <pgmspace.h>
const char STR_EEPROM_DUMMY[] PROGMEM = "AAA";
const char STR_EEPROM_DEFAULT_WEBPASSWORD[] PROGMEM = "reprap";
const char STR_MIME_TEXT_HTML[] PROGMEM = "text/html";
const char STR_MIME_TEXT_PLAIN[] PROGMEM = "text/plain";
const char STR_MIME_APPLICATION_JSON[] PROGMEM = "application/json";
const char STR_OK[] PROGMEM = "ok";
const char STR_TRUE[] PROGMEM = "true";
const char STR_CONTENT_LENGTH[] PROGMEM = "Content-Length";
const char STR_JSON_ERR_0[] PROGMEM = "{\"err\":0}";
const char STR_JSON_BUFF_16[] PROGMEM = "{\"buff\":16}";
const char STR_JSON_ERR_404_NOT_FOUND[] PROGMEM = "{\"err\":\"ERROR 404: NOT FOUND\"}";
const char STR_JSON_ERR_UNSUPPORTED_OPERATION[] PROGMEM = "{\"err\":\"Unsupported operation :(\"}";
const char STR_JSON_ERR_500_NO_DATA_RECEIVED[] PROGMEM = "{\"err\":\"ERROR 500: NO DATA RECEIVED\"}";
const char STR_JSON_ERR_500_EMPTY_COMMAND[] PROGMEM = "{\"err\":\"ERROR 500: EMPTY COMMAND\"}";
const char STR_JSON_ERR_500_NOT_UPLOADING_FILES[] PROGMEM = "{\"err\": \"ERROR 500: NOT UPLOADING FILES\"}";
const char STR_JSON_ERR_500_NO_FILENAME_PROVIDED[] PROGMEM = "{\"err\": \"ERROR 500: NO FILENAME PROVIDED\"}";
const char STR_JSON_ERR_500_NO_DIR_NAME_PROVIDED[] PROGMEM = "{\"err\":\"ERROR 500: NO DIR NAME PROVIDED\"}";
const char STR_M117[] PROGMEM = "M117 ";
const char STR_M408_S[] PROGMEM = "M408 S";
const char STR_M20_S2_P[] PROGMEM = "M20 S2 P";
const char STR_M28[] PROGMEM = "M28 ";
const char STR_M29[] PROGMEM = "M29 ";
const char STR_M30[] PROGMEM = "M30 ";
const char STR_M32[] PROGMEM = "M32 ";
const char STR_M36[] PROGMEM = "M36 ";
const char STR_M575_P1_B115200_S0[] PROGMEM = "M575 P1 B115200 S0";
const char STR_M575_P1_B460800_S0[] PROGMEM = "M575 P1 B460800 S0";