0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-06-26 03:21:22 +02:00
Commit Graph

67 Commits

Author SHA1 Message Date
olijf
40a25789e2 changed log level on removeConfig 2016-03-30 15:57:00 +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
olijf
fa91ace160 Fixed wifi issue
Different approach different solution. Instead of using the API to govern whether or not connection  was succesful the netconfig.lua figurers this out.
2016-03-23 13:33:14 +01: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
4e1a7157ed Merge branch 'feature/chunk-checking' into feature/fixups-unify-log+chunk-checking 2016-02-05 15:39:33 +01:00
Wouter R
b6ab64d1f2 Fix invalid log function calls. 2016-02-05 15:23:40 +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
52c9435534 Fixups after cherry-picking commits from unify-logging+chunk-checking branch:
- add missing log module arguments,
- remove temporary log level mapping.
2016-01-08 16:59:59 +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
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