Commit Graph

78 Commits

Author SHA1 Message Date
9c02c1e9b1 Logging on LOG_FEATURE_OTA 2022-12-28 06:53:38 -06:00
c1b4c70818 Fixed BL602 build failure 2022-12-26 07:10:23 -06:00
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
ea59c22153 Merge pull request #414 from iprak/shortcut_icon
Shortcut icon
2022-11-11 13:06:58 +01:00
4b8a47e844 Reverted escaping 2022-11-11 04:45:35 -06:00
ba6f0a9483 add REST interface function for LFS file removal 2022-11-10 13:29:24 +01:00
8ec8d6ffc8 final win32 port adjustments 2022-11-08 16:29:46 +01:00
0bb4677a31 Created poststr_escaped 2022-11-07 06:31:21 -06:00
f7510a301e Using sizeof 2022-11-06 19:08:39 -06:00
a5769a5db0 Added shortcut icon, Escaped deviceName at some places 2022-11-04 19:41:55 -05:00
f74a49c08d Make LFS size adjustable. Breaking change as default is 0x8000 (16Kbytes).
New commands:
lfssize - log size
lfssize 0x10000 - configure size
lfsunmount
lfsmount
lfsformat - reformat at current size
lfsformat 0x18000 - configre size and format lfs.

lfs size is stored in devcie config.
The main benefit of this is if a small LFS is used, it does not get overwritten when doing OTA.
Also, if it DOES, you can still backup and restore, which will be faster with a smaller area.
You still have the option for up to 0x80000 - 512 kbytes.
2022-11-01 07:42:53 +00:00
2970ec62fd Replace hprintf128 with hprintf255 in all files 2022-10-25 06:31:11 +01:00
6516205d37 Chore: replace many sprintf with snprintf. Only one was doubtful - 5 x %f into a small string? 2022-10-25 06:19:23 +01:00
fd4aaeef13 Formatted 2022-10-14 21:08:38 -05:00
07b545e1a1 Fixed pins for W600 and W800 2022-10-02 11:25:34 -05:00
29dfec611c Added PLATFORM_W600 2022-09-29 18:45:42 -05:00
94dae0cf3c Merge branch 'main' into fix184 2022-09-08 12:45:50 +02:00
9a0a3a5435 Update usage to ClientId 2022-09-04 22:14:45 +02:00
a738605a11 re-merging changes from last commit 2022-09-04 00:10:12 +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