Charles Crossan
2f779bfd37
improve blink; LED or SCREEN as POST Parameter
2020-12-20 18:24:48 -05:00
Charles Crossan
db2193b526
implement screen blink
2020-12-20 17:45:45 -05:00
Charles Crossan
7205e9a5b4
adjust LED timings; switch to HTTP/POST
2020-12-20 14:50:13 -05:00
Jm Casler
1ca83509dd
Blink the LED for one second on get of /json/blink
2020-12-20 11:32:49 -08:00
Jm Casler
fae9ea8b3b
Update for #571 (i forgot to set the mime type)
2020-12-19 12:18:08 -08:00
Jm Casler
b96ee7be72
New feature #571 - Report contents of spiffs in a json data structure.
2020-12-19 12:09:48 -08:00
Jm Casler
474e0e7158
Fixed bad copy/paste of http end points being used as default.
2020-12-13 14:59:56 -08:00
Jm Casler
86952c5456
Fixed #541 - Work around to bug in espressif softap event handler
2020-12-12 22:37:07 -08:00
Jm Casler
46781357df
remove hard coded network
2020-12-12 21:43:01 -08:00
Jm Casler
bb9abf2dca
#560 Forgot to switch back to application/json
2020-12-12 21:42:32 -08:00
Jm Casler
5249608dce
#561 Add escapes to strings
2020-12-12 21:35:21 -08:00
Jm Casler
17297db2b1
#561 - Add a scan for SSID
2020-12-12 20:50:41 -08:00
Jm Casler
e10b82c118
#560 Partial changes
2020-12-12 19:09:58 -08:00
Jm Casler
d82aaaa806
#560 - Partial work for Charles.
2020-12-12 18:33:52 -08:00
Jm Casler
26c9585c9d
#557 - Switch from GET to POST
2020-12-12 12:38:17 -08:00
Jm Casler
696255c1f7
#557 - Endpoint to restart device over http(s)
2020-12-12 12:36:16 -08:00
Jm Casler
e82752c777
#552 - Updated the 404 handler for / to refer to instructions for how to fix the problem.
...
#552 - Updated the 404 handler for / to refer to instructions for how to fix the problem.
2020-12-11 22:54:48 -08:00
Jm Casler
7d4c77abfd
Fix for #533 - deinitWifi() will de initialize the radio even if it was never initialized
2020-11-27 14:49:44 -08:00
Charles Crossan
49a19e26d5
Only issue ContentType header once; correctly.
2020-11-13 22:07:52 -05:00
Jm Casler
4204c494ae
fix poorly merged file
2020-11-06 22:41:26 -08:00
Jm Casler
84beae1001
Merge branch 'dev-https' into master
2020-11-06 22:29:03 -08:00
Jm Casler
951b4293c4
Set web cookie and web text editor.
2020-11-06 22:21:20 -08:00
Jm Casler
44aafd5b9c
Update to basic.js and add mime types.
2020-10-26 18:17:33 -07:00
Jm Casler
5981831bc0
Fixed typo. Updated js library. Update root file handler.
...
Typo fixed. I placed the latest javascript library files into the static folder. Updated the root file handler to be able to serve both compressed and uncompressed files.
2020-10-22 18:43:54 -07:00
Jm Casler
00eed206cb
Update typo, import from js library
2020-10-22 18:26:43 -07:00
Jm Casler
baa3d1dae4
Support for the SPIFFS
2020-10-21 20:57:44 -07:00
Jm Casler
ff20b29c3c
update case of meshhttpStatic.h
2020-10-18 21:44:55 -07:00
Jm Casler
d4df3f8a7e
mDNS server http://meshtastic.local
2020-10-18 21:39:02 -07:00
Jm Casler
a16c3af30a
Clarified debug message regardding the Web Server startup status.
2020-10-18 18:44:08 -07:00
Jm Casler
3061860dab
Update sleep timer for the CPU clock
2020-10-18 18:30:19 -07:00
Jm Casler
a371592ad9
Added instructions for David
2020-10-18 18:07:44 -07:00
Jm Casler
df2733a3b5
readded nodeScriptScriptsJS. it got lost in the transition to the new webserver
2020-10-17 20:28:19 -07:00
Jm Casler
7dd4ce32d2
Moved style.css into meshhttpStatic.h
...
Also created /data to store static files before they go into meshhttpStatic.h
2020-10-17 17:33:29 -07:00
Jm Casler
7f12af73d4
Updated to be host and protocol agnostic
2020-10-17 12:00:21 -07:00
Jm Casler
63113d57b3
Initial integration of meshtastic.js and sample code
2020-10-17 11:30:59 -07:00
Jm Casler
2901f773a4
Some cleanup and implement the X-Protobuf-Schema header
2020-10-16 23:33:50 -07:00
Jm Casler
5b4472ab56
fix case of HttpAPI class
2020-10-16 19:38:59 -07:00
Jm Casler
0d9481b6ea
add allow-headers
2020-10-16 18:00:28 -07:00
Jm Casler
8f0105ccd9
don't send content-type when options is set
2020-10-16 17:46:22 -07:00
Jm Casler
ba549d8fcd
Return OPTIONS when requested for toradio
2020-10-16 17:41:08 -07:00
Jm Casler
b9df2c00fa
fromradio all option
...
requesting fromradio will return one protobuf
4:56
requesting fromradio?all=true will give you all of them.
2020-10-16 17:07:35 -07:00
Jm Casler
8414f4a6a3
Added access-control-allow headers
2020-10-16 16:36:52 -07:00
Jm Casler
038ddb887f
Be a little smarter with setting the CPU frequency
...
in the event we have HTTPS and HTTP requests within close periods, let the speed set by the HTTPS request take presidence.
2020-10-15 19:28:20 -07:00
Jm Casler
3b2f5fa5e3
fromRadio now returns all the vailable protobufs. a request to http sets the cpu clock to 160mhz, https to 240mhz then will clock it back down after 2 minutes.
2020-10-14 20:24:19 -07:00
Jm Casler
97adb598b6
toRadio is functional
2020-10-14 16:17:12 -07:00
Jm Casler
02e3438d5e
Added a favicon.ico
2020-10-11 22:13:14 -07:00
Jm Casler
02b1ece6ac
Update meshhttp.cpp
2020-10-11 21:30:14 -07:00
Jm Casler
3d3f7869d4
Increase CPU frequency on HTTPS requests. Clock back down after a period of time.
2020-10-11 20:38:09 -07:00
Jm Casler
ca48079545
Merge pull request #15 from meshtastic/master
...
updated my branch from head
2020-10-10 22:29:09 -07:00
Kevin Hester
49b4ed2a89
coroutine: kinda works now
2020-10-10 18:03:45 +08:00