aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorBernhard Guillon <Bernhard.Guillon@begu.org>2024-12-25 00:34:42 +0100
committerBernhard Guillon <Bernhard.Guillon@begu.org>2024-12-29 19:54:53 +0100
commit1762c56956bafd6fc0636516b494dfa935ff8aec (patch)
tree5b693c0c70400b71c982401fd9693a48991d3c23 /README.md
parent40404fb81dfad3f5c5cf567bb053796a9135165e (diff)
downloadwb3s-ble-nebula-galaxy-1762c56956bafd6fc0636516b494dfa935ff8aec.tar.gz
wb3s-ble-nebula-galaxy-1762c56956bafd6fc0636516b494dfa935ff8aec.zip
space_light: first version
TODO: pwm initialization is currently best guess could be wrong active low|high TODO: implement pairing TODO: implement timer TODO: use the button for something TODO: implement a better client
Diffstat (limited to 'README.md')
-rw-r--r--README.md51
1 files changed, 51 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5cde2c6..fe71512 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,57 @@ Build the BLE example:
make
```
+# Dump complete flash and get config
+
+```bash
+pipx install "bk7231tools[cli]"
+bk7231tools read_flash -d /dev/ttyUSB0 -s 0 -l 0x200000 dumpv2.bin
+bktools dissect_dump -e -O dump_extract_dirv2 dumpv2.bin
+```
+
+interesting output is this config
+
+```json
+{
+ "Jsonver": "1.1.0",
+ "b_lv": 0,
+ "b_pin": 26,
+ "brightmax": 100,
+ "brightmin": 10,
+ "c_lv": 0,
+ "c_pin": 8,
+ "cmod": "rgbcw",
+ "colormax": 100,
+ "colormin": 10,
+ "ctrl_lv": 0,
+ "ctrl_pin": 7,
+ "cwmaxp": 100,
+ "cwtype": 0,
+ "defbright": 80,
+ "defcolor": "b",
+ "deftemp": 100,
+ "dmod": 0,
+ "g_lv": 0,
+ "g_pin": 24,
+ "module": "WB3S",
+ "onoffmode": 1,
+ "pmemory": 1,
+ "pwmhz": 1000,
+ "r_lv": 0,
+ "r_pin": 9,
+ "rstbr": 80,
+ "rstcor": "b",
+ "rstmode": 0,
+ "rstnum": 3,
+ "rsttemp": 100,
+ "title20": 0,
+ "w_lv": 1,
+ "w_pin": 6,
+ "wfcfg": "spcl"
+}
+```
+
+
# Flashing
I followed the original authors and used the outdated "hid_download_py".