You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • That looks great!

    It's hard to know what might be the issue with the communications I'm afraid. It's not something that I've heard of before with other Espruino nRF52832 devices communicating with each other, so I guess it could be an older firmware/softdevice on the DSD6?

  • my bad, I wrote puck.js, I meant http://www.puck-js.com/puck.js, the script for communications you offer.

    there is a loop locking problem for sure, I have verified it using espruino 2.14 on the p8 watch, I will try to explain better.

    when using the code on this example* for communicating from a web page to an espruino device, two way comms, say sending from the device to a web page a string 40(so that the info gets split on 2 or more packets) characters long every 200ms, all is fine as long as the signal is strong. When the bt signal goes low or near lost, the espruino device reboots. You can verify it very easily, just have a led blink on every loop on the device, and force a bad signal on the phone running the web page. You will notice that the led blinks slower as signal gets worse, and eventually a reboot will follow.

    I used characteristics and all is ok for me now, just reporting it in case you want to test.

    *(https://github.com/espruino/EspruinoDocs/blob/master/tutorials/Web%20Bluetooth%20Dashboard.md#realtime-dashboard)

About

Avatar for Gordon @Gordon started