• Hello. I have been an avid user of my Bangle JS 1 for over a year now and I love it. over the past few months, my Bangle has been unable to work with the store. I can connect to the IDE just fine, but when trying to upload apps, the uploading freezes and kicks me out. Tonight though, it froze, disconnected, and when I rebooted, said my storage was corrupt, and erased itself.

    Looking in the console, the error before the disconnect goes as follows: SEND ERROR: NotSupportedError: GATT operation failed for unknown reason.

    I get this error on my phone, my computer, and multiple browsers. I have rebooted everything, toggled bluetooth, etc. But no matter what, I cannot get my Bangle to even erase apps and get the bootloader. I have even reflashed the firmware over NRF.

    If there's anything else I can try, please let me know.

  • Hi - which firmware are you on? 2v12?

    when trying to upload apps, the uploading freezes and kicks me out

    This is most likely because some app on the Bangle was creating a bunch of error messages, and these interfered with the app upload.

    The freezing/reboot could have happened from a bug in 2v12 I fixed a week or two ago (it's fixed in cutting edge, or in 2v13 when I do a release) - when Storage gets totally full it automatically compacts, and in that case it can cause corruption. It's likely not any kind of hardware issue.

    SEND ERROR: NotSupportedError: GATT operation failed for unknown reason.

    When I've seen this it's usually a PC bluetooth issue and means your PC needs a reboot.

    Please can you just try:

    • Reboot the Bangle without loading any code so just the Bangle.js logo is shown - https://www.espruino.com/Bangle.js#resetting-without-loading-any-code
    • Reboot your PC/phone/whatever and try and connect with the App Loader, then do 'install default apps'
    • Watch out for a '-> Bluetooth' message on the Bangle before you managed to connect - if this happens it's a sign that a PC/phone is trying to automatically connect (could be that the Bangle is paired from the OS's bluetooth menu) and that could likely explain all your problems
  • I am on 2v12, yes.

    Alright. I have rebooted with no code, PC is rebooted. I have no -> Bluetooth on the watch when booted. It comes up with a different error first, then I need to reconnect. It connects, and when I press Install default apps, it goes for a bit, then disconnects me.


    1 Attachment

    • Capture.PNG
  • Ok, well that looks promising. It's actually connecting to the Bangle enough to sent/receive data and find out the firmware version and apps installed.

    Did you definitely leave the web browser running in the foreground while it was doing the upload/erase? I know if you switch tabs and it gets put in the background, Chrome can basically just 'pause' the tab and it breaks it.

    It looks like the app loader is failing when it's trying to issue the erase command. So maybe you could try just connecting from the top-right and then trying to manually install apps one by one and see if that helps?

    Do you see anything happening on the Bangle.js screen when the error occurs? Like does it appear to reboot, or show a <- Bluetooth line (which means disconnected) or anything?

    Also what OS is that running on? And are you sue the exact same thing happens on your phone too?

    Because if the Bangle isn't actually rebooting/disconnecting, that NotSupportedError really does feel like an Operating System error - it could have been an OS update that broke something on your main PC.

    One final thing - I've seen iOS devices with recent OS updates being really picky about bluetooth connections - like it feels like sometimes if there's an issue pairing they will automatically disconnect. It might be worth making sure you check in your OS's bluetooth settings and if the Bangle is listed at all, ensuring you unpair/remove/forget it

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Bangle.JS Failing to connect to the appstore. - GATT operation failed for unknown reason.

Posted by Avatar for YoshiFan501 @YoshiFan501

Actions