feat(repeater/analyzer): pktfeed ring + pktlog cmd — raw frames for the community observer feed
Small sibling ring to rxlog (PKTFEED_SIZE=32, ~8.6 KB) that keeps the FULL raw frame bytes: staged pre-parse in logRxRaw, committed post-parse in logRx (radio garbage never enters). Paged `pktlog [cursor]` mirrors rxlog paging; the bridge derives route/type/payload and the MeshCore SHA packet hash (analyzer correlation key) from raw, so the radio hot path stays SHA-free. No 'always emit >=1' here: a ~550 B record line would overflow the 150 B mesh-CLI budget — there the reply degrades to a bare trailer. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
91f827cede
commit
c5fb0fb4ce
3 files changed
+138
-1
No files matched your search
@@ -94,6 +94,11 @@ build_flags =
|
||||
; neighbour advert period even on inversion evenings.
|
||||
-D MAX_HEARD_NODES=128
|
||||
-D RXLOG_SIZE=512
|
||||
; PKTFEED_SIZE 32 (~268 B/rec, 8.6 KB): observer feed ring -- like rxlog but
|
||||
; with full raw frame bytes (`pktlog` cmd) for the meshcoretomqtt-compatible
|
||||
; community analyzer feed. 32 records ≈ 4+ min of typical traffic between
|
||||
; 5 s bridge polls; drop detection via the E-trailer catches any overflow.
|
||||
-D PKTFEED_SIZE=32
|
||||
; -D MESH_PACKET_LOGGING=1
|
||||
build_src_filter = ${SenseCap_Solar.build_src_filter}
|
||||
+<../examples/simple_repeater/*.cpp>
|
||||
|
||||
Reference in new issue
Block a user