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

Python API equivalent of reconnect ? #51

Open
vivinano opened this issue Dec 22, 2021 · 3 comments
Open

Python API equivalent of reconnect ? #51

vivinano opened this issue Dec 22, 2021 · 3 comments

Comments

@vivinano
Copy link

so I was playing around with the methods of using the nxbt

so

sudo nxbt macro -c "text.txt" -r
works really well in terms of connecting to my switch even tho it exits after running and has to reconnect

I was looking for the python API to reconnect and have trouble finding it as using the example to press B i think get stuck at creating and finding my device

@ayunami2000
Copy link

Bump

@ayunami2000
Copy link

Ok I just downloaded the bluez.py file so that I could use it, then I used this:
image

It seems to show up on the switch

@ayunami2000
Copy link

NEVER MIND!! You don't need to add the bluez.py file at all! Just use this lmao (sorry!):
image

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

2 participants