Git Product home page Git Product logo

Comments (6)

PeterStaev avatar PeterStaev commented on June 1, 2024

@MrGibbage, not sure what do you mean to limit COM ports only to the outgoing. For me It shows just the COM ports on the computer. Also I do not think there is any designation for incoming/outgoing ports. At least the plugin communicates both in and out packets on a single COM port.

from lego-spikeprime-mindstorms-vscode.

MrGibbage avatar MrGibbage commented on June 1, 2024

On our WIndows 10 computers, once I have connected a hub to a computer over bluetooth using the Spike app, if you go into the windows settings, "More Bluetooth Options", you can see the COM ports for each hub. Each hub will have two ports associated with it: an incoming port and an outgoing port. It's the outgoing port that we need in VS code to upload our code. But, when I am in VS code and I click on "Disconnected", we are presented with a list of all COM ports available, including the incoming ports, which can never be used to connect a hub. My suggestion is to not show the incoming ports at all if they cannot be used.

I'll post some screen shots later today.

And thanks @PeterStaev !!!

from lego-spikeprime-mindstorms-vscode.

PeterStaev avatar PeterStaev commented on June 1, 2024

Really strange, I'm also using Win10 and I never have seen 2 COM ports for a single hub.

from lego-spikeprime-mindstorms-vscode.

MrGibbage avatar MrGibbage commented on June 1, 2024

I have seen this on ten different laptops

2023-05-15

2023-05-15 (1)

2023-05-15 (2)

In VS Code we know to always use the outgoing port to connect and upload our programs.

VS Code COM ports

from lego-spikeprime-mindstorms-vscode.

Strohgelaender avatar Strohgelaender commented on June 1, 2024

I have the same issue. When using the extension, I get multiple ports presented where I have no idea which one is the right to choose. I just go through the list until one worked:
grafik

Thanks to the previous post I also looked into the settings and found incoming and outcoming ports:
grafik

Would it maybe be possible to show the names and incoming / outcoming just like Windows does in this popup? This would eliminate the guessing and allows you to directly choose the right port.

from lego-spikeprime-mindstorms-vscode.

PeterStaev avatar PeterStaev commented on June 1, 2024

Sadly, currently I do not see a way to pull the direction of the port nor the name associated.

from lego-spikeprime-mindstorms-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.