So I wonder if the inconsistency we see is with the puck originating the connection, and not so much with the puck accepting the connection.
I'm wondering the same thing. I also wonder if caching the connection makes it less reliable. Will make a quick test and see.
I've got the EspruinoHub up and running with some changes I made to it. Connecting to a puck seems very fast and reliable.
I actually saw your cloned repo, and I'm testing that right now. One thing I noticed is when you look at the history of the files you modified you can't see the actual changes you made since the whole file seems to be different- due to formatting changes, maybe. I think it would be good if you contributed back your changes upstream, but I personally wouldn't accept a PR in the current state. Just my 2c.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm wondering the same thing. I also wonder if caching the connection makes it less reliable. Will make a quick test and see.
I actually saw your cloned repo, and I'm testing that right now. One thing I noticed is when you look at the history of the files you modified you can't see the actual changes you made since the whole file seems to be different- due to formatting changes, maybe. I think it would be good if you contributed back your changes upstream, but I personally wouldn't accept a PR in the current state. Just my 2c.