feat: Update project version to 11 and enhance BLE packet logging with RSSI and SNR information

This commit is contained in:
Janez T
2025-10-16 14:20:40 +02:00
parent 9ae3acb3dc
commit 9c1922b4fd
10 changed files with 35 additions and 18 deletions

View File

@@ -392,10 +392,12 @@ class BleResponseHandler {
final entropy = uniqueBytes / rawPacketData.length;
final isLikelyEncrypted = entropy > 0.7;
// Create decoded info for packet log
// Create decoded info for packet log (includes SNR and RSSI)
final logRxDataInfo = LogRxDataInfo(
entropy: entropy,
isLikelyEncrypted: isLikelyEncrypted,
snrDb: snrDb,
rssiDbm: rssiDbm,
);
// Update the most recent packet log entry