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

Finding the BLE device name #40

Closed
claudiorrrr opened this issue Mar 30, 2022 · 4 comments
Closed

Finding the BLE device name #40

claudiorrrr opened this issue Mar 30, 2022 · 4 comments

Comments

@claudiorrrr
Copy link

This might be a silly question, but I'm not able to find the printer (Using MacOS). Is there any particular way to know what the name of the BLE device is?

@rbaron
Copy link
Owner

rbaron commented Mar 30, 2022

Hi @Claudioruiz. You can use any BLE Scanner for that (e.g.: https://github.com/jnross/Bluetility on macOS or nRFConnect on iOS/Android).

Alternatively, I just pushed a commit that causes the script to try and auto-discover printers. Consider giving it a try!

@rbaron rbaron closed this as completed Mar 30, 2022
@claudiorrrr
Copy link
Author

claudiorrrr commented Mar 30, 2022

Thanks about that! I'm afraid the issue I have is that for some reason my Macbook M1 is not able to detect the ble signal coming out from the printer. But using nRF Connect on iOS it does detect the signal and also the name of the device (in this case GB03), but I have had no luck with catprinter :(

Update: looking around on the internet it seems that the GB03 I have it's kind of a different model? Still, that doesn't answer the issue of not being detected by my mac.

@rbaron
Copy link
Owner

rbaron commented Mar 30, 2022

I added this comment on #2 with the decompiled code that scans printers by name. "GB03" seems to be valid.

I would suggest using nRF connect or some other app on your macOS to try and connect to it. I'm curious to see what you find out.

@claudiorrrr
Copy link
Author

This is quite odd indeed. I did install nRF Connect and it shows "No Devices Available", hence, I'm not able to scan anything. Yeah, bluetooth is active on the laptop. I'm really confused (not your fault, obviously!)

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