0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-06-29 12:41:22 +02:00
Commit Graph

48 Commits

Author SHA1 Message Date
peteruithoven
ac46c183ac Disable boot mode for access point 2014-01-20 15:06:57 +01:00
peteruithoven
c621c618bd Start access point network services on boot instead of reload 2014-01-10 11:14:17 +01:00
peteruithoven
39621b215f Small comments and log fixes 2014-01-10 11:13:26 +01:00
peteruithoven
4d782681df Implemented signin attempts system and signing response check 2014-01-09 21:11:49 +01:00
peteruithoven
af00c17652 Make sure network services are started on boot, instead of just reloaded
(removed wireless_reload request)
2014-01-08 17:18:09 +01:00
peteruithoven
491e6021e9 Wait 1 second manually for the network association to finish 2014-01-08 14:50:53 +01:00
Wouter R
fc9460fc82 Add license header to source files. 2013-12-20 16:29:46 +01:00
peteruithoven
021ec46e79 Don't log network password 2013-12-11 17:30:16 +01:00
Wouter R
48b9a4a8e1 Documentation.
Untrack TODO.md.
2013-11-08 18:54:57 +01:00
peteruithoven
beb7f39471 Set signin status to idle after failed signin 2013-10-30 21:29:17 +01:00
peteruithoven
f246252e53 Goto access point mode before update 2013-10-30 21:20:45 +01:00
peteruithoven
80dda36421 Skipping signin when already running 2013-10-28 13:51:56 +01:00
peteruithoven
3e8fe104c9 url encode wifiboxid for signin 2013-10-26 01:29:34 +02:00
Wouter R
5c199eca94 Merge branch 'feature/printerdriver' of github.com:Doodle3D/doodle3d-firmware into feature/printerdriver
Conflicts:
	src/network/netconfig.lua
2013-10-21 13:49:45 +02:00
Wouter R
b5d980c52e More work on updater module (WIP): mainly added state and fixed bugs. 2013-10-18 16:02:22 +02:00
peteruithoven
1425d5ef90 More network logging 2013-10-17 12:08:03 +02:00
peteruithoven
f4babb5c20 More API:network/openap logs 2013-10-16 20:32:31 +02:00
peteruithoven
2010c634c6 Signin timeout and num attempts limitation 2013-10-16 17:16:01 +02:00
Wouter R
9d86ed2aac Add option to create protected access point. 2013-10-14 14:01:22 +02:00
peteruithoven
7060f864aa small fix logs 2013-10-10 13:04:14 +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
e7db73a09b signing returns success boolean 2013-10-02 14:41:15 +02:00
peteruithoven
aab27a9768 less logging 2013-10-01 12:36:51 +02:00
peteruithoven
6a4879c7b2 added localip to /d3dapi/network/status (centralized captureCommandOutput and getLocalIP) 2013-09-30 18:08:02 +02:00
peteruithoven
b042be5405 Signin every hour 2013-09-27 18:39:24 +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
3c59322cf7 First attempt to add a post response function queue 2013-09-02 15:01:16 +02:00
Wouter R
c915906395 Fix URL redirection in captive portal mode (also client submodule update); add stresstest script (WIP); add commented line in d3dapi wrapper to use strace. 2013-08-26 16:15:45 +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
56f6815bc1 Minor fixes. 2013-08-16 21:44:54 +02:00
Wouter R
eddb7f7d0d Fixes to getMacAddress() and to adding gcode. 2013-07-29 19:22:09 +02:00
Wouter R
6ee8b0193e Better response to invalid request method in rest api; fix creation of DHCP pool. 2013-07-29 12:21:08 +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
d4b9c39d60 Split debug flags into DEBUG_PCALLS and DEBUG_API; fix more quotation style and import naming. 2013-07-24 18:49:07 +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
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
915d1cd900 Move and clean up utils.lua. 2013-07-08 13:43:59 +02:00
Wouter R
ef87b18ed9 More fixes to changed paths and names. 2013-07-05 16:44:49 +02:00
Wouter R
0b298b5e46 Change require statements in code to reflect new structure; rename autowifi -> wifibox everywhere. 2013-07-04 17:26:13 +02:00
Wouter R
f298fbf0db Extract logger to separate module; update code and package Makefile to reflect new structure; rename wfcf to d3dapi; add dependency on usb ACM driver (required for communication with arduino). 2013-07-04 17:24:06 +02:00
Wouter R
cf0f7f594d Code restructure. 2013-06-28 13:47:45 +02:00