0.0.4 • Published 12 years ago

rfcomm v0.0.4

Weekly downloads
18
License
-
Repository
github
Last release
12 years ago

RFCOMM (Serial Bluetooth) communication for Node.js

This node module lets you communicate with Bluetooth devices in Node.js. The goal is have an easy to use API. This module is great for communicating with Bluetooth enabled Arduino devices.

Limitations

  • Only tested on Linux
  • Only available on Linux and BSD like systems
  • Not available for Windows and Mac OS X

Install

npm install rfcomm

Documentation

Basic usage

var rfcomm = new require('rfcomm').RFCOMM();

rfcomm.connect(bluetoothAddress, function() {
	console.log('connected');
	
	rfcomm.write('my data');
	
	rfcomm.on('data', function(data) {
		console.log(data);
	});
}, function () {
	console.log('cannot connect');
});
0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago