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

31 Commits

Author SHA1 Message Date
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
b6ab64d1f2 Fix invalid log function calls. 2016-02-05 15:23:40 +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
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
4d782681df Implemented signin attempts system and signing response check 2014-01-09 21:11:49 +01:00
Wouter R
fc9460fc82 Add license header to source files. 2013-12-20 16:29:46 +01:00
peteruithoven
37783f3f06 Fixed boot wifi connection issues by adding sleep 2013-10-04 16:29:53 +02:00
peteruithoven
6a4879c7b2 added localip to /d3dapi/network/status (centralized captureCommandOutput and getLocalIP) 2013-09-30 18:08:02 +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
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
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