-
• #2
Yes - using the relay ide - I don't have the link handy -
-
• #4
Info on the relay here: http://forum.espruino.com/conversations/300770/
You may struggle running nRF connect and the relay at the same tine though.
After starting this, I switched to my mobile phone and started nRF connect, but puck was not found.
Puck appeared on my mobile only after disconnecting puck from WebIDE.This is just the way it works. Devices can only have one connection at a time. They advertise when they are not connected to another device. When they are connected, advertising stops.
However, you can still connect via serial: http://www.espruino.com/Puck.js#serial-console
If you do that you can use the standard IDE that you use for USB devices, and you have none of the messing around with connections.
-
• #5
This is just the way it works. Devices can only have one connection at a time. They advertise when they are not connected to another device. When they are connected, advertising stops.
Not having immersed myself much into Bluetooth/BLE, this question popped-up for me:
Can a device scan between (individual) advertisements? I know that the purpose of advertising is to say I can be connected to... and that would be not possible while a device is scanning and I know that scanning is a comparably time-consuming / lengthy / power-consuming.
-
• #6
Can a device scan between (individual) advertisements?
Yes, I believe so. However it'll obviously miss some advertisements if they come at the same time as it is transmitting.
Thanks to Gordon, I now have a puck for testing.
It took some time to figure out, how to connect WebIDE from windows 10 puck.
Chrome or webpage did not work, but installation of local WebIDE application made it
At the end this is my way today:
After switching off power from puck, all steps need to be done again.
Next step was to setup puck as server
After starting this, I switched to my mobile phone and started nRF connect, but puck was not found.
Puck appeared on my mobile only after disconnecting puck from WebIDE.
Is there a way to have puck connected to WebIDE and see it in my mobile ?
Otherwise testing would be difficult.