15 Commits
Author SHA1 Message Date
Chad Attermann 9289da1a19 Bump to version 0.2.7. 2026-03-01 12:45:35 -07:00
Chad Attermann 79b75bbd4e Replace string-concatenation logging with printf-style F-variants
Converted log calls across src/, examples/, and test/ to use DEBUGF/TRACEF/ERRORF/etc. macros instead of std::string + operator+. This eliminates temporary heap allocations on every log call, which matters on memory-constrained MCUs.
2026-03-01 10:59:33 -07:00
Chad Attermann e86481e121 Add announce table culling, fix use-after-free, and refactor build/log
- Add cull_announce_table() with OOM-safe min_element fallback, matching pattern from cull_path_table() and cull_known_destinations()
- Call cull immediately after every announce/path/known-destination insert
- Fix use-after-free: guard announce_entry access with announce_erased flag
- remove_path() now also deletes cached packet files
- Path table insert now removes existing entry first to prevent duplicates
- Rename env:mcu -> env:embedded; add env:native_debug and heltec_wifi_lora_32_V4
- Make TLSF buffer size configurable via RNS_TLSF_BUFFER_SIZE macro
- Refactor log macros to unified RNS::log() path; add doHeadLog with callback support
- Prefix all bad_alloc error messages with "bad_alloc -" for easier grepping
2026-02-28 19:54:15 -07:00
Chad Attermann d76bfce7ce Update test_main.cpp
Disabled `test_receipt_timeout_callback` test which is currently failing.
2026-02-24 13:24:29 -07:00
Dan BeardandClaude Opus 4.6 6a705bc582 Add transport and Bytes unit tests
Tests for Bytes::assignHex, appendHex, mid() edge cases, and
Transport receipt culling logic. 18 test cases covering the bugs
fixed in the previous commit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 23:46:39 -06:00
Chad Attermann 27433edb19 Updates for MCU builds broken by previous dev. 2026-02-09 13:52:13 -07:00
Chad Attermann 818782382a Enhance Bytes, fix for Lins, test/example updates
- Added convenience methods to Bytes class
- Fix for logic error in Link class compliments of @cobraPA
- Added unit tests
- Updated example apps
2026-01-21 12:38:13 -07:00
Chad Attermann b8be484624 WIP: Major refactor of unit and integration tests 2025-08-26 21:05:36 -06:00
Chad Attermann fe687d391b WIP: Migrated a few unit tests to Unity 2025-08-26 10:49:37 -06:00
Chad Attermann bac53b9e6d WIP: Integrated Unity test framework. 2025-08-25 14:42:15 -06:00
Chad Attermann 11155b5829 WIP: Completed but un-tested port of Link.
Link is now mostly ported from Python but as of yet un-tested.
Refactored Interface.
Orgnanized example apps.
2025-08-21 17:29:26 -06:00
Chad Attermann fcfda66365 WIP: General improvements in persistence efficiency 2024-08-14 21:59:23 -06:00
Chad Attermann f415b5e0b5 WIP: Enhancements to persistence 2024-06-03 08:13:45 -06:00
attermann 1b919a9489 WIP Update
Cleaned up and organized test functions.
Implemented Ed25519.
2023-10-07 01:03:15 -06:00
attermann eef5f1b326 Initial commit 2023-10-06 17:24:48 -06:00