0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-11-16 18:47:57 +01:00
Commit Graph

36 Commits

Author SHA1 Message Date
Peter Uithoven
a1edf05bc7 Merge pull request #63 from Doodle3D/feature/always-available
Feature/always available
2016-05-25 11:07:17 +02:00
olijf
d3d8ebdeda Changed method from GET to POST 2016-04-12 12:22:14 +02:00
olijf
2b097996e0 Added LUA API call
Added Lua API call to reset the network configuration.
2016-04-12 12:05:01 +02:00
olijf
0d9684bfca seems the removeConfig needs to be called twice 2016-03-30 11:23:27 +02:00
olijf
c6b01a3cf7 switched responsibilities
moved the Open Acces point code to the  rest API because we dont wish to change setting during boot. (other issues arise now eg: what to do when someone changes his wifi password? box does nog connect but also does not open AP)
2016-03-30 11:10:44 +02:00
Wouter R
65062207ff Logging:
- log only one line when signing in;
- change level of UCI/init.d changes from info to verbose;
- change log level of network:getStatus message from info to verbose.
2016-02-23 17:36:17 +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
peteruithoven
e4b2e605ed Removed network configuration boot mode and starting wifibox init after uhttpd and dnsmasq 2014-03-12 18:23:10 +01:00
peteruithoven
19892f0917 Removed debug ssid retrieval from info/alive 2014-02-24 15:33:58 +01:00
peteruithoven
c621c618bd Start access point network services on boot instead of reload 2014-01-10 11:14:17 +01:00
Wouter R
d254beb1ab Do not generate error when printer device exists without accompanying server. Fixes https://github.com/Doodle3D/doodle3d-client/issues/139. 2013-12-20 17:11:58 +01:00
Wouter R
fc9460fc82 Add license header to source files. 2013-12-20 16:29:46 +01:00
peteruithoven
556b587059 Logging ssid to debug network connection issues 2013-10-26 01:31:06 +02: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
d49b1bbd94 better network connect feedback
control access managment
start of api:info/status
2013-10-10 12:11:21 +02:00
peteruithoven
37783f3f06 Fixed boot wifi connection issues by adding sleep 2013-10-04 16:29:53 +02:00
peteruithoven
d083ee70dd new server api url, returning signin response, alive api 2013-10-03 18:07:58 +02:00
peteruithoven
9a2e8910f4 Added signin api call (mostly for debugging) 2013-10-02 14:42:27 +02:00
peteruithoven
6a4879c7b2 added localip to /d3dapi/network/status (centralized captureCommandOutput and getLocalIP) 2013-09-30 18:08:02 +02:00
peteruithoven
524d41e39b Access point can now be made on start up and the activated network config is always moved to the top so it's picked on startup 2013-09-04 19:23:51 +02:00
peteruithoven
a341739336 Reenabling associate action 2013-09-02 18:05:02 +02:00
peteruithoven
3c59322cf7 First attempt to add a post response function queue 2013-09-02 15:01:16 +02:00
Wouter R
0730b442ac Finish autowifi function. 2013-08-22 18:29:08 +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
Wouter R
1608875891 Report failure if wlan associate fails; Fix setting/unsetting boolean config key through API. 2013-07-29 13:48:56 +02:00
Wouter R
efaf58c880 Fix outdated configuration key names; add API function to get all configuration keys at once; remove logging of request arguments to prevent printing large blocks of gcode. 2013-07-27 00:25:43 +02:00
Wouter R
781c3f9ff1 Add kmod-usb-serial-ftdi as package dependency for FTDI-based 3D printers; fix MAC address lookup; fix dhcp configuration when switching to AP mode; rename api functions in network module; minor fixes and changes. 2013-07-25 01:11:46 +02:00
Wouter R
f988c13dfa Many changes, mostly a new configuration interface:
* change API access control to use function name suffixes
* implement settings interface with baseline configuration
* make AP properties configurable
* AP SSID can now contain partial MAC address
* update more quotation style and documentation
* remove captive directory change from network mode switcher.
2013-07-17 23:01:01 +02:00
Wouter R
9a8ac55b8f Add simple unit test framework and various other improvements/changes:
* Move logger.lua;
* update quotation style in several files;
* add proposed configuration key layout to conf_defaults.lua;
* move dump function to utils.lua;
* implement (very) basic unit testing environment;
* fix bugs in various functions in utils.lua;
* checkin of preliminary REST API test code.
2013-07-17 13:44:54 +02:00
Wouter R
9dd2928755 Change REST API to obtain module/function arguments from URL path; move several network settings to config.h. 2013-07-11 10:39:49 +02:00
Wouter R
1ac3f130ff Fix response sending when init() fails; create config.lua to contain global configuration; improve API function resolution; improve API code structure. 2013-07-10 01:23:16 +02:00
Wouter R
e2127797de Fix problem where 'wlan0' device disappears (code now falls back to 'radio0'); fix symlink path for captive portal www; minor fixes. 2013-07-08 19:02:20 +02:00
Wouter R
b861f43e11 Fix wlan state information (and add a number of extra fields). 2013-07-08 18:12:05 +02:00
Wouter R
115e6a7eff Refactor all code to new API; several minor changes/bug fixes. 2013-07-08 16:53:45 +02:00
Wouter R
ea8100ab60 Logging now prints to stderr, which is redirected to a log file; cgi handler always responds with json; test API implemented; several bug fixes. 2013-07-08 13:37:19 +02:00