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

58 Commits

Author SHA1 Message Date
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
peteruithoven
cb6ddf9900 Fixed concatenation of empty unformattedSsid 2015-06-15 17:08:09 +02:00
peteruithoven
4ca599e962 ID generation logging 2015-06-15 10:37:51 +02:00
peteruithoven
067689d64b WiFi related logging 2015-06-12 14:46:38 +02:00
peteruithoven
d1e35c1a69 Fixed scan error handling issue
The getScanInfo could return a false, which wasn’t handled properly
resulting in a error and the box sticking into connecting mode.
2014-05-14 16:52:18 +02: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
00340cb253 Not specifying bssid in wireless config and removing previous configs with same ssid 2014-02-27 15:14:30 +01:00
peteruithoven
8f6fc9dc99 Remove all wireless configs with ssid instead of only the first 2014-02-24 16:37:30 +01:00
peteruithoven
d5f2ec85d3 Check a few times if associating to network succeeded, otherwise fail 2014-02-24 16:33:51 +01:00
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