46b698b77d
Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App
2024-04-10 15:48:36 +02:00
89fc09a921
fix Web App API for long startup commands > 255 chars
2024-04-10 15:44:59 +02:00
f1c1894235
Add LittleFS for BL602 ( #1159 )
...
* Add little fs for bl602
* check for Lfs before creating file
2024-04-09 14:57:46 +02:00
d02008b7ca
MAIN page item added to HTML footer. ( #1115 )
2024-03-08 00:12:26 +01:00
231b87aea8
Warnings in OpenBK7231T_App fixed. ( #1098 )
...
* Warnings in AppT fixed.
* Remove ota include file added by mistake in drv_sm2235.
2024-02-23 08:45:28 +01:00
421466063a
add channels 2 to json
2024-02-20 11:25:33 +01:00
8ed822d284
Fix OTA for BL602 ( #1062 )
...
Change to erasing flash in smaller chunks, this avoids issues with http connection, because erasing seems to stop everything.
2024-02-05 05:14:20 +01:00
8bb382b1f2
rtos delay ( #1056 )
2024-02-04 12:53:27 +01:00
c5ad9acfb7
Implement full flash read for BL602 ( #1052 )
...
* Implement RSSI for BL602 (#5 )
Adds RSSI for BL602, looks ok, reports similar to what BK7231N reports in the same place
* Update rest_interface.c
* Update rest_interface.c
* Update rest_interface.c
* Update rest_interface.c
* Update rest_interface.c
* Update rest_interface.c
* Update rest_interface.c
* Update rest_interface.c
2024-01-29 17:59:05 +01:00
92af5a6eaa
OTA
2024-01-18 17:29:49 +01:00
2ba126b48b
LN882H ( #1022 )
...
* it compiles and links
* Update user_main.c
2024-01-08 21:07:55 +01:00
57bf618d6d
Start of LN882H platform definitions
2024-01-08 15:17:42 +02:00
95c30dd800
Add HTTP basic authentication ( #996 )
...
* add http basic auth
* add feature check for basic auth process
* fix http basic auth build for unsupported platforms (W800, W600)
* fix includes in http_basic_auth
* fix basic auth invocations when unavailable
* add http basic auth allow checks to http_fns
* remove unnecessary checks
* add my_strnicmp export
* silence warning
* update web password config ui
* update submodules
* add base64 lib to boufallo.mk for BL602
* add safe mode http basic auth bypass flag
* fix bl602 build with http auth bypass flag
* disable shared led driver
---------
Co-authored-by: Tester23 <openshwprojects@gmail.com >
2023-12-13 15:19:11 +01:00
08fc163286
rename loglevel to g_loglevel because it's global variable...
2023-11-26 12:17:11 +01:00
0fccb67580
cosmetic changes only, fixing compilation warnings
2023-11-20 14:54:05 +01:00
344251e9dd
reword and fix littlefs define
2023-09-29 20:08:01 +02:00
da227f233a
LFS rest interface should ignore GET arguments
2023-06-22 05:48:40 +02:00
604aa0ff76
rest interface for pins now also shows pin states, i will need it for pin doctor
2023-05-05 12:08:18 +02:00
4acaedaefe
api for short name
2023-04-29 15:51:01 +02:00
6e22209ee4
NTP_SendRequest: Unable to send message - retry quickly after reboot
2023-04-25 11:34:04 +02:00
52566ee6fb
expose flags and short comman
2023-03-18 17:19:52 +01:00
1e508c064d
led_map interface, allow getting command results in old post command api
2023-03-17 15:24:07 +01:00
c4d7b7131f
rest interface for channe ltypes
2023-02-20 17:03:52 +01:00
30f818a2e3
Web App will always now print automatically command result, because few commands missed confirmation and were confusing users
2023-02-18 15:08:39 +01:00
f119554969
misc fixes, snprintf, cmd gen
2023-02-10 15:03:27 +01:00
3c447fe2c2
rename LFS define to keep consistent naming convension, move LFS test commands to test commands file, clear up obk config h
2023-02-10 11:40:36 +01:00
0b62712e26
lfs commands for numbers, format fix, error print on lfs write fail, add debouncer stub, int lfs write self test
2023-02-02 09:56:53 +01:00
bb46fc4fcd
better ota - use with header
2023-01-22 15:02:56 +01:00
573a5d901d
bl602 unfinished
2023-01-22 00:43:06 +01:00
5b4bf0a630
Updating OTA status ( #596 )
...
* Updating OTA status
* Fixed build error
2023-01-15 15:39:17 +01:00
0a2e6a87c5
silence warnings by making W600-specific variables really W600-specific
2023-01-12 15:20:51 +01:00
57e8ee8d41
Trying to resolve BL602 build failure
2023-01-02 07:19:41 -06:00
d8043e5b42
Return supportsSSDP
2023-01-02 06:43:39 -06:00
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