Repository navigation
Feature/killerbee integration - #2
Merged
Merged
Conversation
The finally block called kb.sniffer_off()/kb.close() unguarded; since sniffer_off() sends a real protocol command it can raise (e.g. device disconnected or sniffer_on failed before RX started), which would override an already-chosen [FAIL]/exit-code path with a raw traceback. Wrap each cleanup call in its own try/except so failures are swallowed and close() still runs even if sniffer_off() raises. Also mirror smoke_phy4_ieee154.py's except chain (ConnectionError/ TimeoutError/FeralRFError -> 3/4/5) ahead of the generic except Exception -> 6 catch-all, instead of collapsing every error into the generic case.
…re ts, ValueError, edge tests
…EE PHY state Guards against a stale PHY (e.g. stick left in BLE) breaking the first 802.15.4 session (FeralRF f9-partial: IEEE<->BLE needs a reset between modes). Reset is best-effort (swallows failure when no RP2040 shell port) and can be disabled with reset_on_init=False. +3 tests.
…re -> KillerBee -> attack)
…d SDK path Bench-validated on real hardware (2026-07-02): the reset_device() boot/exit cycle disrupts the CC1352 on the stock RP2040 passthrough and the following init() times out; a plain init works reliably. Make reset opt-in. Also: firmware/cc1352 CMakeLists hardcoded the dev's $HOME/ti path for the prebuilt libs; default TI_SDK_FULL to TI_SDK_PATH (portable) + document the installer requirement.
…2nd RF_Object JAM_CONTINUOUS failed because RadioIF_startJamSession did RF_open(&s_jam_rf_object) — a 2nd RF_Object, which returns NULL per the one-RF_Object rule (ARCHITECTURE §5). Reuse s_rf_handle via switchRfMode, exactly like the working TX path (RadioIF_executeTxCommand). Built + flashed + RX-verified on hardware 2026-07-02.
…LE PHY + ll_manager)
Remove BLE protocol layer (keep BLE PHY for raw capture)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.