It's not available right now, but will ship in December. Same API but it can do 'central' mode as well - so can initiate a connection to something else.
For GATT you have to pair (I think). Espruino implements a normal socket-style connection called 'Nordic UART' which it puts the JS REPL on (by default) - Nordic provide an Android app to use it, as do Adafruit, or you should find various different implementations of it around.
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.
The only BLE-capable board we do at the moment is Puck.js: https://www.kickstarter.com/projects/gfw/puckjs-the-ground-breaking-bluetooth-beacon
It's not available right now, but will ship in December. Same API but it can do 'central' mode as well - so can initiate a connection to something else.
In terms of BLE:
Advertising you don't need to pair. The easiest I've found it to use
noble
and node.js. Example program for reading data here: https://github.com/sandeepmistry/noble/blob/master/examples/advertisement-discovery.jsFor GATT you have to pair (I think). Espruino implements a normal socket-style connection called 'Nordic UART' which it puts the JS REPL on (by default) - Nordic provide an Android app to use it, as do Adafruit, or you should find various different implementations of it around.