Commit Graph

451 Commits

Author SHA1 Message Date
KatAst
c8aab7611b Set Station parameters if defined
To allow changes both in STA or AP settings, they should be active.
Opmode is set to 3 few lines above, so changes allowed in both STA and
AP.
Because the above opmode set, this “if” is useless.
2016-01-02 13:01:42 +01:00
KatAst
6f4cead199 Changed to Macro debug 2016-01-02 12:53:21 +01:00
KatAst
8adfcb6e60 Reduced to essential
It was to much code to such a tiny task
2016-01-02 12:51:35 +01:00
KatAst
5f8da7e2b0 Redundant
Added an if statement to APs scans cgi to avoid scan in AP mode.
Reduced to one set of warnings and add a fourth line to cover the only
AP mode option in Soft-AP setting´s page
2016-01-02 12:49:59 +01:00
KatAst
d1152588a8 Changed to standard os_memset(), instead of memset() 2016-01-02 12:46:12 +01:00
KatAst
4d09a0088a After test it results useless, so removed 2016-01-02 12:44:55 +01:00
KatAst
5787fcf8a4 Added to avoid possible hiccup when opmode already 1 2016-01-02 12:43:52 +01:00
KatAst
b3ed6e8588 Back to original config
I forgot to restore to original
2016-01-02 12:25:39 +01:00
KatAst
e268db7e84 Soft-AP server side variables check
Proper check of Soft-AP setting’s variables values on server side.
Only alphanumeric values and underscore are allowed in SSID and
Password. Now you can set Soft-AP as OPEN AP with custom SSID.
2015-12-28 18:38:31 +01:00
KatAst
d6dae6888a Disable configWipe 2015-12-28 18:30:40 +01:00
KatAst
58ece6b452 Auth_Mode var in numbers instead of string 2015-12-28 18:29:15 +01:00
KatAst
a7b6358bae New function to check string
If there are only alphanumeric chars (including underscore) return 1
else return 0
2015-12-28 18:28:05 +01:00
KatAst
793506fdd1 Small changes 2015-12-27 23:10:07 +01:00
KatAst
887c5a66cc Compiler error
Even if I use the same compiler those errors show up. I had to change
some bool to uint8_t to make it works
2015-12-27 13:11:59 +01:00
KatAst
896693b5b2 Soft-AP Settings
Added Soft-AP settings support both in Makefile and web interface
2015-12-27 13:11:03 +01:00
KatAst
ff5a74b20a Added SOFTAP hard-coded settings
Set the values of SOFTAP config straight in the Makefile
2015-12-24 14:03:15 +01:00
Thorsten von Eicken
59d4bdf99e fix makefile; update readme 2015-12-13 09:22:43 -08:00
Thorsten von Eicken
88e580c6ee Makefile tweak 2015-12-13 09:01:14 -08:00
Thorsten von Eicken
60d3dbfa33 Merge pull request #72 from brunnels/master
Thank you!
2015-12-13 08:35:00 -08:00
Benjamin Runnels
391481dc43 replaced the other srcElement too 2015-12-10 15:21:34 -06:00
Benjamin Runnels
a4816a7b72 Switched from event.srcElement to event.target for better browser compatibility 2015-12-10 09:44:43 -06:00
Benjamin Runnels
f8eb8b33e0 Fix for services page syslog filter select list
Fix for a couple compiler errors when cycling the different undef and define options in user_config.h
2015-12-10 06:44:52 -06:00
Benjamin Runnels
a6a8866bfe Fixed mdns settings bug 2015-12-09 08:15:43 -06:00
Benjamin Runnels
ac04cc58a8 removed syslog_enable functionality and config
reordered config settings
2015-12-09 07:24:12 -06:00
Benjamin Runnels
a895128c9f Fixed bug with services page submitting on field click
Fixed bug with Makefile when COMPRESS_W_HTMLCOMPRESSOR = no
2015-12-09 06:59:27 -06:00
Benjamin Runnels
3eccd26e76 Normalized Wifi to WiFI.
Fixed button spacing on console clear and log reset buttons
Renamed cgiReboot method to cgiReset and called the proper reset method
Normalized whitespace in cgiflash.c
2015-12-08 15:55:17 -06:00
Benjamin Runnels
ebda951769 Removed unused mdns files 2015-12-07 12:54:48 -06:00
Benjamin Runnels
bfee1cf694 fixes for services 2015-12-07 07:03:10 -06:00
Benjamin Runnels
13bc8019c6 Merge branch 'master' of https://github.com/jeelabs/esp-link
Added services page and moved some things around
2015-12-05 18:06:31 -06:00
Thorsten von Eicken
e97b38ae67 re-insert fixed STA config into Makefile 2015-12-03 22:45:53 -08:00
Thorsten von Eicken
91b35f3488 Merge pull request #73 from susisstrolch/syslog
Thank you!
2015-12-03 22:44:20 -08:00
Thorsten von Eicken
fb90ac5457 enable mdns; tweak wifi info POST 2015-12-03 22:43:32 -08:00
Benjamin Runnels
59eb02daa9 Added in sntp update 2015-12-03 23:43:19 -06:00
Benjamin Runnels
e39ee808c9 DOH! missing semicolon 2015-12-01 15:26:11 -06:00
Benjamin Runnels
b8567ad2ef Updated DBG macros as suggested by susisstrolch 2015-12-01 15:20:20 -06:00
Benjamin Runnels
25ef0e1578 Fixed bug where callbacks were not getting called if the CMD MQTT client called connect while the ESP MQTT client was connected or disconnected. 2015-11-29 09:16:30 -06:00
Benjamin Runnels
a0451b2b7b renamed debug command for consistancy 2015-11-29 09:02:47 -06:00
Benjamin Runnels
26339962bf Updates for SDK 1.5 2015-11-29 08:05:02 -06:00
Benjamin Runnels
5935a30f03 Started adding in standalone mdns implementation 2015-11-26 06:41:29 -06:00
susisstrolch
30ff23c0e2 espmissingincludes.h
encapsulate os_printf macro with do/while to avoid
unwanted side effects during macro expansion
2015-11-24 15:48:52 +01:00
susisstrolch
538e79f1dc fixes/changes after pull request
- changed defaults for Flashconfig
  - SNTP-Server: empty
  - Syslog-Server: empty
  - hostname: reverted to esp-link

- heavy cleanup in syslog.c
  - removed debug messages
  - add local syslog_compose function
2015-11-24 14:06:25 +01:00
susisstrolch
f3dd7368d0 fix rebase / merge errors
- missing LOG_xxx macros in syslog.h
- fixed tag (esp-link) in LOG_xxx macro
2015-11-23 23:45:59 +01:00
susisstrolch
e84900dbc7 syslog - a simple syslog client
syslog UDP messages are send via
syslog(uint8_t facility, uint8_t severity, const char tag[], const char message[], ...);

the syslog function queues any msg on system heap. If heap reaches a minimum size (8kB),
syslog stops queuing.
As soon as Wifi connectivity is available, syslog will send out all queued messages.
Queuing will be reenabled after all pending messages are sent.
2015-11-23 22:37:31 +01:00
susisstrolch
9ec3a30c87 syslog - a simple syslog client 2015-11-23 21:21:37 +01:00
susisstrolch
0cb217046d simple handler for system_os_task/system_os_post
we wrap both functions in much easier ones (register_usr_task, post_usr_task).
register_usr_task requires an os_task_t parameter (the task itself) and returns a
task number (0...MAXUSRTASKS) which is later on used by "post_usr_task".
register_usr_task is self-initializing. no static arrays - malloc only...
2015-11-23 20:47:10 +01:00
susisstrolch
65f22d5dcf merge from origin 2015-11-23 19:46:39 +01:00
Benjamin Runnels
b7ae39ae8d Moved to debug macro for SLIP_DBG and fixed an error when SLIP_DBG was defined
Removed unnecessary stuff
Switched VS project to use sdk 1.4.0 sources for intellisense
2015-11-23 08:01:26 -06:00
Benjamin Runnels
8a93a5eebe Fixed WINDOWS.md 2015-11-22 19:32:13 -06:00
Benjamin Runnels
ed9b11186c MQTT define bugfix
Possilbe mDNS bugfix
Switched to DBG method instead of multiple ifdef in httpd
2015-11-22 11:52:38 -06:00
Thorsten von Eicken
cb75396552 extend reset for esp8266 v2.1.beta6 v2.1.7 2015-11-18 22:17:49 -08:00