Commit Graph
53 Commits
Author SHA1 Message Date
scottp 67ff8721c0 Zephyr: add watch mode (log every Victron advert heard)
victronble_watch_set(true) queues and logs adverts from any Victron
device — MAC, RSSI, record type, key-check byte, decode results — for
device discovery and key debugging at the bench.
2026-08-21 12:38:24 +10:00
scottp a4505019e8 Ignore compiled host test binary 2026-08-21 11:59:28 +10:00
scottp b390c0d579 v0.7.0: pure C core + Zephyr module
- Extract all decode/decrypt into a dependency-free C99 core
 (include/victronble.h, src/victronble_core.c): victronble_decode(),
 is_product_adv/key_matches pre-filters, NAN sentinels, LE accessors.
- AES-128-CTR behind a hook: weak-symbol bundled tiny-AES default,
 runtime override (victronble_set_aes_ctr) for PSA/mbedTLS/hardware.
- Arduino VictronBLE class becomes a thin wrapper over the core
 (registry + nonce dedup + rate limit); public C++ API unchanged,
 NAN converted back to the legacy 0 convention.
- Host test vectors (tests/vectors): openssl-generated ciphertext,
 independent of the bundled AES; all five payload shapes + negatives.
- Zephyr module: zephyr/module.yml + Kconfig (CONFIG_VICTRONBLE) +
 observer backend (victronble_zephyr.{h,c}) — scan cb pre-filters and
 queues, dedicated decode thread, listener callbacks, slow passive
 scan defaults, stats counters. docs/ZEPHYR_PORT.md records the plan.
- library.properties: fix URL (gitea, not the nonexistent GitHub).
2026-08-21 11:59:19 +10:00
scottp 617c240e02 check version before release 2026-06-08 17:14:39 +10:00
scottp 8e91bd7b83 Add a rak4631 board definition testing 2026-06-07 23:22:36 +10:00
scottp 96184d888b Fix chips supported 2026-06-07 19:27:12 +10:00
scottp 2505612f0b Working across ESP32 S3, ESP32 C3 and nRF52 2026-06-07 19:23:13 +10:00
scottp abf0e414da Cleanup READMED and release notes 2026-06-05 00:00:25 +10:00
scottp 865c8dc4d4 ignore pka file 2026-06-04 23:48:47 +10:00
scottp 6c30e0d01d Branch version ready for testing with nRF52 2026-06-04 23:47:55 +10:00
scottp cedef26f34 Update info 2026-06-04 22:55:40 +10:00
scottp c2c5441398 ignore local 2026-06-04 21:21:55 +10:00
scottp 0791fd8cec Bug fixes for reported issues 2026-06-04 21:21:18 +10:00
scottp 55b12ec837 Plans for part 2 - multiple bluetooth devices 2026-02-28 15:00:45 +11:00
scottp cd3e32abeb Improve readme ready for v0.4 release 2026-02-28 14:40:41 +11:00
scottp 3a0adfab82 Versions v0.4 ready for release 2026-02-28 14:38:30 +11:00
scottp c3ee3577e1 Fix to be non blocking without tasks 2026-02-28 14:31:42 +11:00
scottp 166bc003d0 Update notes 2026-02-28 13:52:16 +11:00
scottp 4c9819758f Single callback version - vastly simplified. 2026-02-28 13:34:20 +11:00
scottp 08417ec8f1 More planning 2026-02-28 12:31:04 +11:00
scottp 4e5e4c258d Forwarding code 2026-02-17 09:27:48 +11:00
scottp cdb94ff23d Work on receiver and sender 2026-02-15 19:20:03 +11:00
scottp a3cd309581 Repeater and Test code for ESP Now 2026-02-15 19:10:19 +11:00
scottp a49686087c New version with smaller memory footprint etc 2026-02-12 18:33:56 +11:00
scottp 4aa386a5da Keep v0.3.1 2026-02-12 18:10:35 +11:00
scottp 6ab8ae1618 Created new logging example 2026-02-12 18:04:02 +11:00
scottp 77d1545378 Examples todo 2025-12-30 20:54:04 +11:00
scottp 8ebe36c58e Fix notes on testing 2025-12-29 20:35:47 +11:00
scottp 0fb4e82801 Fix name 2025-12-29 20:31:07 +11:00
scottp 76a0935518 Decoding working for MPPT 2025-12-29 20:22:41 +11:00
scottp 66b24d9434 Finally working decode MPPT 2025-12-29 20:00:05 +11:00
scottp 53418b5889 work on better mac address 2025-12-29 19:26:32 +11:00
scottp 3acb14872e Cleaning up by using structs and reusing data blocks 2025-12-29 19:12:47 +11:00
scottp 14dfd41626 Experimental version 2025-12-29 13:38:47 +11:00
scottp c9d49336d4 Working serial on S3 too. Interesting... 2025-12-29 11:40:46 +11:00
scottp eb9e1261c8 Merge branch 'main' of https://gitea.sh3d.com.au/sh3d/VictronBLE 2025-12-29 11:16:43 +11:00
scottp 047e5c2580 Add core2 2025-12-29 11:16:41 +11:00
scottp 531b67263c Cleanup only 2025-12-29 11:09:33 +11:00
scottp 28dec5ce3d Improved structs 2025-12-28 23:35:27 +11:00
scottp 04a5c545fd Working C3 build 2025-12-28 23:27:40 +11:00
scottp 054dd01a71 Playing with debug 2025-12-19 12:46:28 +11:00
scottp 2d0f88fd0b Work on decoding using structs 2025-12-18 22:27:15 +11:00
scottp 3d09d234f0 Experimenting and decoding - seems some structs are wrong, check original code 2025-12-18 21:49:04 +11:00
scottp 425eb1a178 TODO and m5stick and debug 2025-12-18 20:43:10 +11:00
scottp f21b6008a1 Ignore builds 2025-12-18 18:26:27 +11:00
scottp f2adf5b462 Fix version for examples 2025-12-18 18:23:31 +11:00
scottp 44294e26c6 Fix library 2025-12-18 18:22:33 +11:00
scottp cd94b6dd08 Unsure name 2025-12-18 18:17:49 +11:00
scottp 340539275a Fix name 2025-12-18 18:10:05 +11:00
scottp bda096f245 Fix version 2025-12-18 18:08:08 +11:00
scottp d760e7d8dc Initial version only 2025-12-18 17:53:39 +11:00
scottp b8c5f948fe Copyright etc 2025-12-18 17:48:55 +11:00
scottp a89cef3c89 Initial readme up 2025-12-18 17:39:13 +11:00