javl / InstaxBLE

MIT License
54 stars 6 forks source link

RPI5 squarelink issue, win10 wide link issue #19

Closed pangjeffa closed 1 month ago

pangjeffa commented 1 month ago

I have a wide link and square link and I'm getting connection issues depending on the platform i'm using to connect to them.

RPI5

Issues connecting with the instax SQUARE

(instaxble) ubuntu@ubuntu:~/photoprintapp/packages$ python3 InstaxBLE/InstaxBLE.py --device-address FA:AB:BC:XX:XX:XX
RuntimeError /home/ubuntu/photoprintapp/packages/InstaxBLE/InstaxBLE.py 514
[CHG] Device FA:AB:BC:XX:XX:XX Connected: yes
[CHG] Device FA:AB:BC:XX:XX:XX Connected: no
[CHG] Device FA:AB:BC:XX:XX:XX Connected: yes
[CHG] Device FA:AB:BC:XX:XX:XX Connected: no
[CHG] Device FA:AB:BC:XX:XX:XX Connected: yes
[CHG] Device FA:AB:BC:XX:XX:XX Connected: no
[CHG] Device FA:AB:BC:XX:XX:XX Connected: yes
[CHG] Device FA:AB:BC:XX:XX:XX Connected: no
[CHG] Device FA:AB:BC:XX:XX:XX Connected: yes
[CHG] Device FA:AB:BC:XX:XX:XX Connected: no

Windows 10

Issues connecting to instax WIDE I've tried python .\InstaxBLE\InstaxBLE.py --device-address FA:AB:BC:XX:XX:XX, the bluetooth connection window opens and device fails to connect.

I tried the https://instax-link-web.vercel.app/ link. It sees both instax printers, and is able to pair with the square. For the instax WIDE it gets stuck in a loop. WIndows notifies me to pair with a bluetooth device but pair fails.

pangjeffa commented 1 month ago

Seems like the issue was due to a limitation on ble connections and windows. Issue was resolved by manually removing perviously paired device.

Package verified working with rpi4 and 5, running ubuntu server. Caveat is there is some package dependence. I attempted to install instaxble on a second rpi, but the installation ran into issues.