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
8a726552f7
Map print3d log level 'info' to firmware level 'warn' to reduce amount of logging under normal circumstances.
2016-01-06 15:01:01 +01:00
Wouter R
f51e63e06a
Add new settings key 'system.log.level' with print3d log levels.
...
Change uci-defaults script to make sure the new setting exists in UCI and the old one is removed.
Read new log level key in firmware and map it to firmware log level.
2016-01-06 13:23:25 +01:00
peteruithoven
eedc6d3c6b
Update network status after boot when no action was needed
...
When it already was connected to a WiFi network or it already was a
access point.
2015-06-16 16:49:18 +02:00
peteruithoven
067689d64b
WiFi related logging
2015-06-12 14:46:38 +02:00
Wouter R
ca25ab0487
Fix issue where autowifi would associate with ssid equal to locally known AP ssid.
2014-05-01 16:14:36 +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
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
8fda75664c
Merge branch 'develop' of https://github.com/Doodle3D/doodle3d-firmware into develop
...
Conflicts:
src/rest/api/api_config.lua
2013-12-23 14:47:51 +01:00
peteruithoven
bd1409b6a6
Better uci error handling
2013-12-23 14:35:03 +01:00
Wouter R
fc9460fc82
Add license header to source files.
2013-12-20 16:29:46 +01:00
peteruithoven
8dc3be6199
Log firmware version in wifibox.log
2013-12-13 14:23:31 +01:00
peteruithoven
5ccbf68362
Unsilencing network connection attempts
2013-12-09 21:15:02 +01:00
Wouter R
48b9a4a8e1
Documentation.
...
Untrack TODO.md.
2013-11-08 18:54:57 +01:00
Wouter R
0e5726ee04
Documentation.
2013-11-05 01:46:32 +01: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
8991845427
Add extra 'tools' to wifibox devel install. Improve logging.
2013-10-08 16:55:50 +02:00
peteruithoven
37783f3f06
Fixed boot wifi connection issues by adding sleep
2013-10-04 16:29:53 +02:00
peteruithoven
b042be5405
Signin every hour
2013-09-27 18:39:24 +02:00
Wouter R
c5fd097b79
Replace URL decoder with a simpler implementation.
2013-09-20 23:38:20 +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
1d9801b314
Remove openap hack from uci-defaults; minor fixes to bootstrap logging etc; remove debug print statement.
2013-08-23 02:10:25 +02:00
Wouter R
3de992c5b7
Add uhttpd configuration for lua handler; add interface to get/set 'system settings'; add configurable logging to file, with configurable level as well.
2013-08-23 01:25:09 +02:00
Wouter R
0730b442ac
Finish autowifi function.
2013-08-22 18:29:08 +02:00
Wouter R
dc327ea420
Adapt Lua code so it can be run from uhttpd-mod-lua (log functionality still missing, uhttpd configuration not adapted yet).
2013-08-22 12:18:22 +02:00
Wouter R
d59d2da938
Fix request initialization to handle autowifi command-line invocation correctly; fix installation and execution of openwrt init script; partially implement autowifi switching; fixes to package (de-)installation.
2013-08-21 13:39:10 +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
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
3726063b99
Change split function so it also returns empty fields; add API access control; support returning http status codes; changes towards support for running as uhttp embedded lua module.
2013-07-17 08:18:47 +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
6caa7d244e
Move request handling to request object; update and combine todo items to TODO.md; improve test api.
2013-07-09 01:56:21 +02:00
Wouter R
4847b59378
Update TODO
2013-07-08 21:45:21 +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
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