ble-swarm

1.0.3 • Public • Published

ble-swarm

Experimental swarm over bluetooth low energy

npm install ble-swarm

Usage

var swarm = require('ble-swarm')
var sw = swarm({
  uuid: '13333333333333333333333333333337' // must be a 16 bytes hex string
})
 
sw.on('peer', function (peer) {
  console.log('discovered new peer over bluetooth')
  process.stdin.pipe(peer).pipe(process.stdout)
})

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i ble-swarm

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • mafintosh
  • maxogden