Could you explain setAdvertising interval option ?
I would like to save battery and decided to advertise data providing {interval:10000} the maximum possible, but in that time the device disappars and appears in the WebIDE, should I provide discoverable: true in order to be able always visible and connect to it?
Which is the default value for the interval option? When should I prefer the minimum and maximum values ?
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.
Hi @Gordon,
Could you explain setAdvertising interval option ?
I would like to save battery and decided to advertise data providing {interval:10000} the maximum possible, but in that time the device disappars and appears in the WebIDE, should I provide discoverable: true in order to be able always visible and connect to it?
Which is the default value for the interval option? When should I prefer the minimum and maximum values ?