Commit Graph

70 Commits

Author SHA1 Message Date
e0d9b38101 show device type, loglevel tool 2022-02-17 19:49:16 +01: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
f309859cc8 config setting error checking 2022-02-17 02:05:28 +01:00
e896a81e0a check result of mac change operation because it might fail if somebody has random data in flash config memory 2022-02-16 23:14:43 +01: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
0385520eaa Merge branch 'main' into main 2022-02-16 02:03:20 +01:00
d3fda21f9f Add Quickconfig for Smart-PFW02-G 2022-02-15 21:47:32 +02:00
abbc131a50 Emax EDU8774 SmartPlug config 2022-02-15 17:46:02 +02:00
c0312d21ea Emax EDU8774 SmartPlug config 2022-02-15 17:41:11 +02:00
29088ab658 New quickconfigs for Nedis WIFIP130FWT and WIFIPO120FWT devices 2022-02-15 10:17:30 +02:00
3cb88a8560 mac address change (only works on xr809?) 2022-02-15 02:58:12 +01:00
13929de580 misc fixes, hint for HA users, display mac 2022-02-15 02:28:19 +01:00
50332533da xr809 functional config save, mqtt working, pins save, wifi save, mqtt save 2022-02-15 00:23:04 +01:00
740fffbc96 fixes 2022-02-14 19:35:56 +01:00
9a611171a4 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2022-02-14 13:18:47 +01:00
d753719293 support xr809 flash read HTTP api 2022-02-14 13:18:35 +01: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
a5df554e42 xr809 configurator for digital io works - prototype 2022-02-13 17:44:46 +01: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
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
bdf2b4c1e0 remove malloc logs 2022-02-12 17:47:06 +00:00
7da9528431 XR809 tcp port - not tested 2022-02-12 17:32:16 +01:00
d6278bae7d support compilation on XR809 platform - part 1 2022-02-12 15:25:12 +01: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
cff74553fa Add HTTP response code support plus other tweaks to help in responding 2022-02-12 11:08:20 +00:00
4a75ab0518 Merge pull request #18 from talltechdude/feat/mqtt-availability
feat: add MQTT will and availability topic
2022-02-11 19:39:19 +01:00
84d49df64d feat: add MQTT will and availability topic 2022-02-11 12:29:00 +00:00
104b445d4a Add littlefs (https://github.com/littlefs-project/littlefs)
Add obk_config.h as a General build control include.
2022-02-11 08:39:20 +00:00
8b8e8e5990 Merge branch 'logging2' into logging3
# Conflicts:
#	src/httpserver/new_http.c
#	src/user_main.c
2022-02-10 22:15:10 +00:00
570702dc05 rest API for logconfig, also post to /api/pins should now work (untested). 2022-02-10 22:07:30 +00:00
04f28b3d6e http - add hprint128 - to simplify printing and sending to http response... 2022-02-10 22:06:46 +00:00
4ca5fd9ac2 Show uptime (formatted string) on HTML panel; fix Windows test build 2022-02-10 22:49:21 +01:00
dd25a5a993 Logging update to include level and feature codes. 2022-02-10 21:07:38 +00:00
92ef5b3c0a ability to list available WiFi networks from HTTP panel; some misc clear up 2022-02-10 13:49:52 +01:00
f18a026567 update app address 2022-02-09 08:58:02 +00:00
dd5e31888a enabe webapp without hardcoding device IP 2022-02-08 20:31:08 +00:00
62fb793019 working json, plus some bugfixes 2022-02-08 18:45:31 +00:00
4174b08997 merge fixup 2022-02-08 17:31:50 +00:00
6a66798f9d add json parser? 2022-02-08 17:27:40 +00:00
602b82b943 add remote app ('rest_interface.c') 2022-02-07 22:29:39 +00:00
ca3ffbcbbc bugfix 2022-02-07 19:11:01 +00:00
f3069ac78d Merge branch 'btimonh4' into btsimonh5
# Conflicts:
#	src/httpserver/new_http.c
#	src/win_main.c
2022-02-07 18:46:54 +00:00