14 Commits
Author SHA1 Message Date
scottp 560ea24f60 Battery monitor: "not available" values decode as NAN
Each battery monitor field has a reserved "not available" raw value:
voltage 0x7FFF, aux 0xFFFF, current 0x3FFFFF, consumed Ah 0xFFFFF and
SOC 0x3FF. The parser decoded them as readings, so an unsynchronised
shunt reported SOC 102.3 % and an unavailable current came out as
-0.001 A after sign extension. They are now NAN in the C core.
Time-to-go stays an integer, with 0xFFFF named VICTRONBLE_TTG_NA. The
Arduino wrapper maps the new NANs to 0, as it already did for aux.

Adds a host test vector with every field not available, and notes in
the README that a battery monitor has now been decoded live on Zephyr
(ESP32-S3, Heltec WiFi LoRa 32 V3).
2026-11-11 13:13:57 +11:00
scottp 318e221170 v0.7.1: rename C core header to victronble_core.h (fixes #2)
src/ held both VictronBLE.h and victronble.h. On case-insensitive
filesystems (Windows, macOS) extracting the library ZIP overwrote one
with the other and the Arduino build failed.

The core header is now victronble_core.h in include/ and src/, and every
include is updated. include/victronble.h stays as a deprecated forwarder
so 0.7.0 Zephyr and host code still builds; it is never in src/.

check_version.sh now fails if two tracked paths differ only in case.
2026-10-09 12:54:06 +11:00
scottp 22af47854d Examples and samples ready for Zephyr release 2026-08-26 00:58:57 +10:00
scottp abf0e414da Cleanup READMED and release notes 2026-06-05 00:00:25 +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 0791fd8cec Bug fixes for reported issues 2026-06-04 21:21:18 +10:00
scottp cd3e32abeb Improve readme ready for v0.4 release 2026-02-28 14:40:41 +11:00
scottp 4aa386a5da Keep v0.3.1 2026-02-12 18:10:35 +11:00
scottp 8ebe36c58e Fix notes on testing 2025-12-29 20:35:47 +11:00
scottp 76a0935518 Decoding working for MPPT 2025-12-29 20:22:41 +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