Compare commits
2 Commits
fa74832fb9
...
d31bff14c3
Author | SHA1 | Date | |
---|---|---|---|
d31bff14c3 | |||
150f92484a |
54
.vscode/settings.json
vendored
54
.vscode/settings.json
vendored
@ -1,54 +0,0 @@
|
|||||||
{
|
|
||||||
"files.associations": {
|
|
||||||
"algorithm": "cpp",
|
|
||||||
"vector": "cpp",
|
|
||||||
"cmath": "cpp",
|
|
||||||
"array": "cpp",
|
|
||||||
"atomic": "cpp",
|
|
||||||
"*.tcc": "cpp",
|
|
||||||
"bitset": "cpp",
|
|
||||||
"cctype": "cpp",
|
|
||||||
"clocale": "cpp",
|
|
||||||
"cstdarg": "cpp",
|
|
||||||
"cstddef": "cpp",
|
|
||||||
"cstdint": "cpp",
|
|
||||||
"cstdio": "cpp",
|
|
||||||
"cstdlib": "cpp",
|
|
||||||
"cstring": "cpp",
|
|
||||||
"ctime": "cpp",
|
|
||||||
"cwchar": "cpp",
|
|
||||||
"cwctype": "cpp",
|
|
||||||
"deque": "cpp",
|
|
||||||
"unordered_map": "cpp",
|
|
||||||
"unordered_set": "cpp",
|
|
||||||
"exception": "cpp",
|
|
||||||
"functional": "cpp",
|
|
||||||
"iterator": "cpp",
|
|
||||||
"map": "cpp",
|
|
||||||
"memory": "cpp",
|
|
||||||
"memory_resource": "cpp",
|
|
||||||
"numeric": "cpp",
|
|
||||||
"optional": "cpp",
|
|
||||||
"random": "cpp",
|
|
||||||
"regex": "cpp",
|
|
||||||
"string": "cpp",
|
|
||||||
"string_view": "cpp",
|
|
||||||
"system_error": "cpp",
|
|
||||||
"tuple": "cpp",
|
|
||||||
"type_traits": "cpp",
|
|
||||||
"utility": "cpp",
|
|
||||||
"fstream": "cpp",
|
|
||||||
"initializer_list": "cpp",
|
|
||||||
"iomanip": "cpp",
|
|
||||||
"iosfwd": "cpp",
|
|
||||||
"istream": "cpp",
|
|
||||||
"limits": "cpp",
|
|
||||||
"new": "cpp",
|
|
||||||
"ostream": "cpp",
|
|
||||||
"sstream": "cpp",
|
|
||||||
"stdexcept": "cpp",
|
|
||||||
"streambuf": "cpp",
|
|
||||||
"cinttypes": "cpp",
|
|
||||||
"typeinfo": "cpp"
|
|
||||||
}
|
|
||||||
}
|
|
25
src/api.cpp
25
src/api.cpp
@ -12,31 +12,6 @@ struct SendToApiParams {
|
|||||||
String updatePayload;
|
String updatePayload;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
// Spoolman Data
|
|
||||||
{
|
|
||||||
"version":"1.0",
|
|
||||||
"protocol":"openspool",
|
|
||||||
"color_hex":"AF7933",
|
|
||||||
"type":"ABS",
|
|
||||||
"min_temp":175,
|
|
||||||
"max_temp":275,
|
|
||||||
"brand":"Overture"
|
|
||||||
}
|
|
||||||
|
|
||||||
// FilaMan Data
|
|
||||||
{
|
|
||||||
"version":"1.0",
|
|
||||||
"protocol":"openspool",
|
|
||||||
"color_hex":"AF7933",
|
|
||||||
"type":"ABS",
|
|
||||||
"min_temp":175,
|
|
||||||
"max_temp":275,
|
|
||||||
"brand":"Overture",
|
|
||||||
"sm_id":
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
JsonDocument fetchSingleSpoolInfo(int spoolId) {
|
JsonDocument fetchSingleSpoolInfo(int spoolId) {
|
||||||
HTTPClient http;
|
HTTPClient http;
|
||||||
String spoolsUrl = spoolmanUrl + apiUrl + "/spool/" + spoolId;
|
String spoolsUrl = spoolmanUrl + apiUrl + "/spool/" + spoolId;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user