Failing to connect from espruino command line #1969
Replies: 10 comments
-
Posted at 2017-01-29 by Ollie Only suggestions to check
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-29 by mozz100 Thanks for the super quick suggestion. I'm not connected from one while trying to connect from the other. And both Macs are running Sierra 10.12.2. Results unaffected by restarting all the devices |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-30 by ChristianW Interesting. But when lowering the advertising interval like
it seems to be found in all cases. Suppose this interval will not improve battery life, but may be a hint why it does not always work? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-30 by @gfwilliams @mozz100 how are you finding connecting using the Web IDE? Does that work fine? I think I have an issue open to try and improve the reliability of the command-line tool - it could definitely wait a little longer while scanning for devices to connect to. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-30 by mozz100 I am using the Mac Mini over ssh - don't really want to put Chrome on there to test the Web IDE, but I might resort to that. (From the laptop, the web IDE connects quite well and fairly quickly.) It's not about reliability, to be frank: on the mac mini, espruino command line very consistently fails to connect :-(, and when it does "see" the puck, it always reports "unknown" as the address. If it wasn't for the laptop I wouldn't even know what its MAC address was. So this is the failure I always see on the mac mini. It works about 1 in 2 from macbook.
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-31 by @gfwilliams Can you try updating
Which is a bit frustrating - I guess as you've never used the Web IDE on it, it wouldn't get reported. Try |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-01 by mozz100 OK well maybe I have to install Chrome and go through that. Before I do, I updated espruino (0.0.31) and noble (1.7.0). Console output:
So I think I'm talking to the correct device (" Thanks for the support. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-01 by @gfwilliams I'm afraid If |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-01 by mozz100 The puck isn't connected to the other computer, because that computer is next to me, switched off, and I'm about 5 miles away from the puck! The puck is a few feet away from the mac mini (houghton) into which I am sshing. I might be ready to accept defeat on this... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-01 by @gfwilliams Hmm - not sure how I can help... The I think if it was doing what it was doing originally then you'd actually be able to connect to it just fine now. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-01-29 by mozz100
On one Mac (recent Macbook pro), from the
espruino
command line tool, withnoble
installed, I can see/connect to puck.js about 50% of the time. (I updated the firmware recently to improve this). For example:On another Mac (Mac mini) in the same room, running the same software, I can't ever seem to connect, and I get this when scanning (see "unknown" below) with what feels like a less than 50% success rate:
Why is
espruino
on the mac mini able to "see" puck but not work out its address, or connect to it?I've had such limited success connecting to the thing, even with updated firmware, I'm starting to lose faith... can anyone help me understand how this might happen, and how I can fix it? I'd like to use the Mac mini (permanently on) to talk to the puck and have it control things in the real world...
Beta Was this translation helpful? Give feedback.
All reactions