Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control Hub functionality #49

Open
NoahAndrews opened this issue May 16, 2023 · 4 comments
Open

Control Hub functionality #49

NoahAndrews opened this issue May 16, 2023 · 4 comments

Comments

@NoahAndrews
Copy link
Member

Depend on https://github.com/heineiuo/isomorphic-ws for WebSocket functionality. To use the Control Hub library from node.js, applications will also need to depend on https://github.com/websockets/ws.

We'll also have a peerDependency declared on @u4/adbkit (though I'm considering publishing our own fork, since my PR has not gotten any attention). If adbkit is present, consumers of our library will also be able to discover Control Hubs connected via USB, and not just Wi-Fi.

Speaking of which, Control Hubs connected over Wi-Fi can be found at http://192.168.43.1:8080 and ws://192.168.43.1:8081.

@LandryNorris
Copy link
Contributor

LandryNorris commented May 16, 2023

Based on the .1, I would assume this is when a control hub is hosting the network. Do we plan to support the ability to connect a control hub to an existing network? If so, what happens if multiple control hubs are connected to the same network?

@UrielCh
Copy link

UrielCh commented May 23, 2023

merge in progress.

@UrielCh
Copy link

UrielCh commented May 23, 2023

4.1.19 is out
https://www.npmjs.com/package/@u4/adbkit

@NoahAndrews
Copy link
Member Author

Thanks @UrielCh!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants