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

42 Commits

Author SHA1 Message Date
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
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
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
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
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
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
peteruithoven
f246252e53 Goto access point mode before update 2013-10-30 21:20:45 +01: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
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
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
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
915d1cd900 Move and clean up utils.lua. 2013-07-08 13:43:59 +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