Skip to content

mafintosh/ble-swarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Experimental swarm over bluetooth low energy

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published