Commit Graph

59 Commits

Author SHA1 Message Date
9a0a3a5435 Update usage to ClientId 2022-09-04 22:14:45 +02:00
5d27296474 Revert "Status information auto-updates, tweaked HTML" 2022-09-02 19:47:55 +02:00
cfe69edfdc Refactored start / end of HTML into functions 2022-09-01 23:26:21 +02:00
2ae0d2ff1d Adjusted tryGetTokenString to get successful build 2022-08-24 21:57:10 -05:00
ada84a1d92 Accepting integer as flag 2022-08-23 21:28:11 -05:00
24fe10fdc8 Handle client device database 2022-08-23 03:39:09 -05:00
c35a3578bd slightly better tasmota commands support 2022-07-30 13:53:37 +02:00
b6e28c00f8 w800 port p1 2022-07-11 10:49:39 +02:00
d5c0525df3 fix missing truncate for LFS for web app..... 2022-06-04 14:10:03 +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
e95d4695e0 introduce command flags system, mark command sources, warning fixes 2022-05-05 23:04:18 +02:00
d2f3f6fda5 theosoft bugfix as pointed on Elektroda forum (pin counts for App) 2022-04-20 17:42:11 +02:00
9a7d59ec3d bk7231n flash vars hals fixes 2022-04-17 18:13:33 +02:00
997c1eeaee bl602 boot counter - this breaks other paltforms 2022-04-17 17:40:00 +02:00
ec1458aea1 prevent stack overflow by saving always in main loop; fix PWM for BL602; fix GPIO indices 2022-04-17 11:41:02 +02:00
eeba31415f 2KB main config structure (NET_PARAM is 4096 so 2048 bytes left free) 2022-04-17 00:30:45 +02:00
429d3f6218 bl602 testing 2022-04-15 22:58:11 +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
e8e5e61d49 hal main 2022-04-15 15:07:07 +02:00
61871a753a reorganize, reboot xr809 2022-04-15 14:39:46 +02:00
73f4fb879d reorganize p1 2022-04-15 11:52:36 +02:00
9c6d09845d BL0942 support with calibration 2022-04-12 13:48:21 +02:00
0be787713f N version OTA fix 2022-04-11 16:11:23 +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
8b67c09839 initialise g_commands
debug in exec.
fix a logging bug.
add commands: logtype direct|all, logdelay <ms>
2022-03-05 15:02:48 +00:00
6fa8049892 add command POST at api/cmnd 2022-03-04 21:27:04 +00:00
0dfe8bee4d fix LFS.
Add rest folder read - returns JSON of folder.
2022-03-02 09:23:30 +00:00
85324135ef littlefs tweaks:
1/ initiliase at startup, but don't create if mount fails.
2/ unmount and re-mount on FS block upload.
3/ don't create on file read if not mounted. (favicon)
4/ allow format of non-existant LFS on file upload.
2022-03-01 09:11:56 +00:00
5688fb5aec implement boot counting and boot complete for BK7231.
4 boots of < 30s -> AP mode.  leave booted for >30s, and it will return to normal mode.
2022-02-27 13:25:50 +00:00
40e98527f6 rest: channel setting bugfixes 2022-02-20 10:16:16 +00:00
ca04abc987 Merge remote-tracking branch 'origin/main' into mods
# Conflicts:
#	src/httpserver/rest_interface.c
2022-02-19 20:13:03 +00:00
c36514c892 move http_rest_get and http_rest_post to top of file for clarity.
hash out test_config function (dangerous).
Add http_rest_get_channels, http_rest_post channels - so we can control device over rest API
2022-02-19 20:09:50 +00:00
cdf15801f4 BK7231N OTA support - not tested yet (the OTA address seems different) 2022-02-19 15:47:15 +01:00
25553af26a json bugfix 2022-02-18 09:08:53 +00:00
ed189a0f07 bugfix for POST /api/pins 2022-02-18 09:03:25 +00:00
9090951f40 add GET /api/flash/<hexstart>-<hexend> to read any part of flash
e.g. http://192.168.1.176/api/flash/1e0000-1000
reads RF setup table
add POST /api/flash/<hex addr> to WRITE anywhere after 0x132000
2022-02-17 07:57:52 +00:00
44e09f42d3 fix webapp url cfg save! 2022-02-16 19:48:19 +00:00
4efe96af49 Merge remote-tracking branch 'origin/main' into mods 2022-02-16 18:54:33 +00:00
271ea04778 add more in /api/info 2022-02-16 18:51:59 +00:00
e827202693 restart button, fix windows build 2022-02-16 16:58:49 +01:00
819628ef39 add obktype in app html - in case we need the webapp to adapt....
Add a link to webapp in native cfg
2022-02-16 09:12:35 +00:00
6dfcaa85b6 convert to new flash_config functions. add webapp config. 2022-02-13 22:16:21 +00:00
43f3c635f7 Merge remote-tracking branch 'origin/main' into mods 2022-02-13 19:24:48 +00:00
9b3ae23e75 start of flash_config 2022-02-13 19:24:39 +00:00
2cedcab2c5 fix btsimonh #define to exclude LittleFS 2022-02-13 16:08:10 +01:00
785d190689 add GET /api/info -> JSON {"uptimes":n, "build":"build time"} 2022-02-13 08:46:58 +00:00
bdf2b4c1e0 remove malloc logs 2022-02-12 17:47:06 +00:00
3edb0a8b72 lfs file endpoints - POST /api/lfs/folder/filename to write a file. GET /api/lfs/folder/filename to read/serve a file.
add reboot POST /api/reboot
add OTA POST /api/ota
add fs backup GET /api/fsblock
add fs flash POST /api/fsblock
2022-02-12 11:11:23 +00:00