ESP32.enableBLE ⇒
Call type:
ESP32.enableBLE(enable)
Parameters
enable - switches Bluetooth on or off
Description
Switches Bluetooth off/on, removes saved code from Flash, resets the board, and on restart creates jsVars depending on available heap (actual additional 1800)
Note: This is only available in devices with Bluetooth LE capability
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.
It showed up only recently, but probably is in 1v99 for sure:
http://www.espruino.com/Reference#ESP32