Native App on Win 10 - Can't connect

Posted on
  • I am attempting to program my Puck through the native app on Win 10.

    I have paired and connected my Puck (DfuTarg) in Settings.

    When I try and connect the Puck in the native app, it only shows Com1 and Com3, non of which are the DfuTarg.

    I have upgraded the firmware, done hard resets, but still can't access the Puck.

    Ideas?

  • Thr 2018.08.02

    Hello @Terrence7

    I have had a similar issue that keeps creeping up on me also, once paired can't connect. I may not have an immediate answer, but others will need more information to assist here.

    As I understand it, there are three flavors of the WebIDE and I also find this a bit confusing.
    This link indicates to use the native flavor, which is what appears may be the one you are using.

    http://www.espruino.com/Quick+Start+BLE#­windows

    "Install the Espruino Native IDE application instead (recommended for now)"

    On Windows10 this is the nw.exe file found in (on my PC) C:\Program Files\EspruinoIDE

    but, . . . . that didn't render the correct connection list, as I believe this is what you are not seeing either.


    I then tried this flavor:
    http://www.espruino.com/Web+IDE

    "Just follow this link to the Online Web IDE"

    https://www.espruino.com/ide/

    On my PC this variant allowed the 'Web Bluetooth' connection modal dialog to appear, not 'Com1' 'Com2'. But I am using a BT dongle. Not sure if that matters.

    See if the online variant renders a different connection dialog.

    Other than that, have had trouble with getting the Chrome variant running.
    Version 68.0.3440.84
    http://forum.espruino.com/conversations/­315493/

    So, hopefully with your response to this suggestion, others may be able to pin-point what is going on.

  • Hi @Terrence7,

    You need to start the Puck outside of bootloader mode by adding the battery without holding the button down (so no LEDs stay lit). It should advertise itself as Puck.js abcd (where abcd is the last 4 digits of its MAC address), not DfuTarg - then try pairing with that and see if it appears.

    @Robin - can you just post a new thread rather than commenting on other ones, and include a copy of the console messages from the Native IDE (in settings)? The Native IDE is the one you want. The Chrome App and https://www.espruino.com/ide won't work on Windows until Web Bluetooth is fixed by Chrome. I'll update the docs to be super explicit here as I've had a few people getting confused.

  • Ok, I finally got connected on native to the puck.

    It was confusing that I did not need to go into pairing mode to connect to the device when I was in settings/add Bluetooth device.

    Who knew that a Bluetooth device could be paired without going into pairing mode?

    Thank you for your help Gordon....now I can start asking some programming questions :)

    ==>Is there any harm in storing the battery upside down while not in use so it does not drain?

  • Great - glad it's sorted!

    Who knew that a Bluetooth device could be paired without going into pairing mode?

    You mean the bootloader mode with the LED lit up? That's just there so that you can update to the latest version of Espruino - it's not really for pairing at all.

    Is there any harm in storing the battery upside down while not in use so it does not drain?

    If it's outside the battery holder, not at all! I tend to stick mine in the plastic case with the Puck on top, and then put the silicone cover back on to hold it all in place. It bulges a bit, but it's nice and safe and easy.

    Don't put the battery back in the Puck's battery holder upside-down though!

  • Ok, thanks for the good info.

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

Native App on Win 10 - Can't connect

Posted by Avatar for Terrence7 @Terrence7

Actions