643311d9b9
Increased stack size, added printf
2022-12-26 06:21:02 -06:00
2bcb79989b
OTA support
2022-12-25 13:20:39 -06:00
dc00837cbc
IDLE MUST RUN!!!
...
Added idle counter to 1s timer.
Added rtos_delay_milliseconds in 1s timer, inside OTA, and in http tcp server and client threads.
Reason: During OTA, it could get to a state where the IDLE thread got no time.
The problem with this is that the tcp_client thread stack never got released, and so during this time, the heap was reduced by 8k for each call, resulting in no more heap, and death (hang).
2022-10-25 12:31:24 +01:00
ef019647cf
increase http client stack size; add LFS read file to buffer function; make sure events are clear
2022-10-23 05:27:03 +02:00
fd4aaeef13
Formatted
2022-10-14 21:08:38 -05:00
fcffa95dca
BL0937 - implemented energy counter. TODO: save to flash.
...
http server - buffer size change, added MQTT status information.
MQTT - connect event counter for debug purpose.
MQTT - debug outputs.
MQTT - ERR-ISCONN result bug fix.
MQTT - Wifi connection check added.
MQTT - connect/reconnect patch
Formatting changes. Reading code was sometimes hard.
bug fix new device.
bug fix http server
2022-10-03 09:45:23 +02:00
89254bb461
RGB set api, silent the tcp message
2022-09-10 18:47:32 +02:00
03a29f4882
EXPERIMENT: buffer tcp chunks up to 1kb and send them as about 1kb chunks, it seems to fix http server unresponsive in some rare cases. TODO: check on more cases if it really helps in general
2022-08-23 00:58:33 +02:00
1706a296a6
xr809 mac change fix/hack as requested by ahkashinobi from Elektroda com
2022-08-09 17:31:58 +02:00
9c913dd99e
leave option to use old multithreaded http server
2022-08-09 16:34:33 +02:00
d05551b07d
try lower http buffer size, it seemingly makes http smoother (larger packets are split)
2022-08-01 18:47:36 +02:00
7fbcd110f9
fixing compile warnings etc
2022-07-31 20:20:13 +02:00
1c808cb785
EXPERIMENT: avoid memory allocation per TCP client (will help recover device if a memory problem occurs, will help avoid heap fragmentation and frequent malloc/free)
2022-07-17 10:21:54 +02:00
8f657f57a2
that was not needed
2022-07-16 22:36:53 +02:00
82424db897
w800 config and mqtt works
2022-07-11 14:22:53 +02:00
f156c5fecd
fix EOL whitespace
2022-05-29 09:32:47 -04:00
fdbf665cfc
fix line endings
2022-05-29 09:32:14 -04:00
62a7d676c7
not needed header
2022-05-13 22:42:09 +02:00
9b88617fa0
corrrect names for threads
2022-04-16 02:09:58 +02:00
7ffa51c003
clear up reduntant headers
2022-04-15 20:49:49 +02:00
04f48ac886
bl602 port p1
2022-04-15 20:31:43 +02:00
db603b1ae4
gi, comments
2022-04-15 12:10:20 +02:00
c1c5757574
ports logs and javascript app to xr809, clear up logging from duplicate log functions
2022-03-07 14:01:15 +01:00
ba7aba3cb9
xr809 build logging.c
2022-03-07 09:55:00 +01:00
6fa8049892
add command POST at api/cmnd
2022-03-04 21:27:04 +00:00
94f4a8f600
Newlines all changed to Windows style
2022-02-27 23:21:09 +01:00
50332533da
xr809 functional config save, mqtt working, pins save, wifi save, mqtt save
2022-02-15 00:23:04 +01:00
ccc2f92f6e
xr809 support - initial version
2022-02-12 23:31:57 +01:00
b4115b9019
Merge remote-tracking branch 'origin/main' into littlefs
2022-02-12 17:58:32 +00:00
7da9528431
XR809 tcp port - not tested
2022-02-12 17:32:16 +01:00
cff74553fa
Add HTTP response code support plus other tweaks to help in responding
2022-02-12 11:08:20 +00:00
dd25a5a993
Logging update to include level and feature codes.
2022-02-10 21:07:38 +00:00
62fb793019
working json, plus some bugfixes
2022-02-08 18:45:31 +00:00
6a66798f9d
add json parser?
2022-02-08 17:27:40 +00:00
25580f7367
Base http server on 'http_request' structure. It holds everything needed by a respondant to a request.
2022-02-07 18:35:02 +00:00
97142ea969
http server return bugfix
2022-02-06 20:25:19 +00:00
80e8e7f13a
All warnings eliminated, 1 bug sorted.
2022-02-02 17:34:03 +00:00
e370b47f41
fix some warnings
2022-02-02 09:14:45 +00:00
a4bd510392
SYNC btsimonh changes
2022-02-01 12:28:09 +01:00