4 Commits
Author SHA1 Message Date
Joey Leake df72e95603 Document set_path_hash_mode / get_path_hash_mode in README
Both commands already existed in commands/device.py but had no entry in
the README's command reference table, so users had no way to discover
them (reported as "missing"). Add rows under Advanced Configuration
explaining that mode controls how many bytes of each hop's node ID are
stored per hop in advertised/logged paths (bytes per hop = mode + 1),
matching the plen >> 6 / hash_mode + 1 logic in reader.py and
commands/base.py.

Fixes #84
2026-08-31 13:25:01 -04:00
Joey Leake 9163efa4f3 Stop configuring the root logger on import
logging.basicConfig() at import time in __init__.py silently clobbered the
embedding application's own logging setup. Replace it with a NullHandler so
the library stays silent by default without touching global config.

Also stop MeshCore.__init__ from unconditionally forcing the "meshcore"
logger to INFO when neither debug= nor only_error= is passed - only set a
level when the caller explicitly asks for one, otherwise leave whatever the
app already configured alone.

Document the idiomatic logging setup for consumers in README.md.

Fixes #58
2026-08-31 13:18:23 -04:00
Joey Leake 42627f09c6 Fix serial fd leak in SerialConnection.connect() on timeout
Fixes #95
2026-08-31 13:04:59 -04:00
Joey Leake 585833690d Fix BLE reconnect leaving stale notification registration (Fixes #97) 2026-08-31 12:42:10 -04:00