fix(sat): pass PLUTO_URI env var to Docker container#14
Open
hubble-art wants to merge 1 commit intomainfrom
Open
fix(sat): pass PLUTO_URI env var to Docker container#14hubble-art wants to merge 1 commit intomainfrom
hubble-art wants to merge 1 commit intomainfrom
Conversation
On macOS, Docker Desktop cannot pass through USB devices, so the PlutoSDR must be accessed over Ethernet. The SDR container reads PLUTO_URI to know where to connect, but start_container() was not forwarding it. Add pluto_uri parameter to start_container() and scan() that gets passed as the PLUTO_URI environment variable to the container. Made-with: Cursor
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.
Summary
pluto_uriparameter tostart_container()andscan()that gets passed as thePLUTO_URIenvironment variable to the SDR containerpluto_uri="ip:192.168.2.1")Usage
Test plan
scan()withoutpluto_uristill works (USB-attached PlutoSDR on Linux)scan(pluto_uri="ip:192.168.2.1")works on macOS with Ethernet-connected PlutoSDRMade with Cursor