Just removing the advertise, the Ruuvi doesn't crash anymore and now my webapp can see and connect to it.
Altought I read the documentation and other forum posts about the same topic, I couldn't really understand what advertise does. Is it necessary for my purpose?
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.
@Robin thanks for the links, they're very useful to me, the one about UUID particularly.
@Gordon thanks for the correction.
After some days trying on it, I could make it work just deleting the advertising.
setServices is now
Just removing the advertise, the Ruuvi doesn't crash anymore and now my webapp can see and connect to it.
Altought I read the documentation and other forum posts about the same topic, I couldn't really understand what advertise does. Is it necessary for my purpose?