Wouter R
6a26cf3005
Include sequence_number and sequence_total in printer/progress as well as printer/print (to improve client recovery on unstable networks).
2016-04-19 00:27:10 +02:00
Wouter R
ca45f15151
Improve printer/print logging, partial fix for https://github.com/Doodle3D/doodle3d-firmware/issues/58 .
2016-03-18 17:04:20 +01:00
Wouter R
260fac9cd4
Log more information when printer/* endpoint operations fail.
2016-03-11 15:58:35 +01:00
Wouter R
03e34f2676
'printer/print' API call: change 'first' parameter to 'clear' and deprecate old name.
2016-02-14 00:38:31 +01:00
Wouter R
de16721b85
Accept argument 'total_lines' in printer/print API request.
2016-02-13 17:17:57 +01:00
Wouter R
f3e9ebf26e
Report current and maximum size in bytes of gcode buffer in getProgress functions.
2016-02-12 15:40:07 +01:00
Wouter R
c3756f5348
Fix return values in printer api.
...
Pass along chunk metadata in printer api.
Move wifi station mode check from main.lua to signin.lua so it is always run past.
Only log postresponsequeue if it is not empty.
Conflicts:
src/rest/api/api_printer.lua
2016-01-08 22:26:36 +01:00
Wouter R
9fd96740a3
Remove unnecessary require.
...
Change backup log file name in d3dapi script.
2016-01-08 22:03:52 +01:00
Wouter R
1439bd0434
Change levels and improve consistency in log statements.
2016-01-08 14:53:05 +01:00
Wouter R
5f59e5e2c9
Add logging module/facility support.
...
Change log message format to match with that in print3d logger.
2016-01-08 14:52:39 +01:00
Wouter R
2459cda0ac
Reorder and rename log levels to match those in print server.
...
Fix typo in regex in getLocalIp function.
Conflicts:
src/script/wifibox.uci.config
2016-01-08 13:48:24 +01:00
Wouter R
0b6de9adba
Return "connecting" state if printer is connected but server has not started yet; other calls will fail just like if no printer exists.
2014-03-09 02:12:36 +01:00
Wouter R
fc9460fc82
Add license header to source files.
2013-12-20 16:29:46 +01:00
Rick Companje
34491670b8
added printer/listall to API
2013-12-05 17:31:44 +01:00
peteruithoven
92628c660f
Removing endcode variables comment
2013-10-30 15:29:46 +01:00
peteruithoven
23d077c4ca
API:printer/stop doesn't automatically send endcode, you have to specify it trough a gcode argument
2013-10-28 17:13:26 +01:00
Wouter R
628f05b682
Deny API access to operations that can/will interrupt printing (updating, reconfiguring network, change settings).
2013-10-23 17:38:54 +02:00
peteruithoven
78a71ca625
Bed temperatures
2013-10-22 16:00:37 +02:00
peteruithoven
8ab87312b3
Replacing variables in endcode on API:printer/stop
2013-10-22 13:51:02 +02:00
peteruithoven
a818dbcc55
API:printer/print changed argument last to start
2013-10-11 15:34:57 +02:00
peteruithoven
e0c4c81d75
Merge branch 'feature/printerdriver' of https://github.com/Doodle3D/doodle3d-firmware into feature/printerdriver
...
Conflicts:
src/rest/api/api_info.lua
src/rest/api/api_printer.lua
2013-10-10 17:55:35 +02:00
peteruithoven
0667dfe070
Handle errors in api:info/status. Use Disconnected state when there is no printer driver
2013-10-10 17:51:14 +02:00
Wouter R
0e8a08594a
Update info/logfiles API call to collect print3d logs instead of ultifi logs. Change printer/getProgress to return current, buffered and total gcode lines. Remove unused constants from printer api.
2013-10-10 17:00:16 +02:00
peteruithoven
d49b1bbd94
better network connect feedback
...
control access managment
start of api:info/status
2013-10-10 12:11:21 +02:00
Wouter R
2f04bbb35d
www submodule update to printerdriver branch; fix heatup config names.
2013-09-27 18:25:16 +02:00
Wouter R
2e43ae9897
Continued adaptation of printer api.
2013-09-25 12:00:50 +02:00
Wouter R
d7dc69a7dd
Continued adaptation of printer api.
2013-09-20 11:30:36 +02:00
Wouter R
8a7162330b
Initial API replacement to use new printer driver (limited functionality).
2013-09-17 00:14:42 +02:00
Wouter R
6f431942cc
Fix dhcp address serving in AP mode; small fix in printer API.
2013-08-20 21:53:36 +02:00
peteruithoven
659315a2c8
Adding new line to warmup command, to be sure
2013-08-20 10:53:56 +02:00
peteruithoven
9ae54ecd8d
using file size instead of file to check isBusy
2013-08-16 19:26:23 +02:00
Wouter R
016d18c93a
Create combined gcode file in printer-specific directory; add mass-flashing script (WIP).
2013-08-12 17:36:07 +02:00
peteruithoven
633fc86551
Adding progress to rest api
2013-08-09 22:15:58 +02:00
peteruithoven
ba1ca3e322
less debug
2013-08-07 20:37:05 +02:00
peteruithoven
395ac53497
Fixed last_mod
2013-08-07 18:30:58 +02:00
peteruithoven
b8e0acb16b
Supporting M109 temp format. Also returning last modified time using LuaFileSystem library.
2013-08-07 17:50:30 +02:00
Wouter R
77723fb000
Support print cancellation in api (untested!)
2013-08-04 11:26:47 +02:00
Wouter R
b971be33d1
Fix post-install script for 'Y' inlusion in openwrt images; fix small bug in request.lua.
2013-08-01 16:29:17 +02:00
Wouter R
eddb7f7d0d
Fixes to getMacAddress() and to adding gcode.
2013-07-29 19:22:09 +02:00
Wouter R
0f4b938444
preliminary printing support (through ultifi).
2013-07-27 00:22:55 +02:00