UNPKG

bluetooth-hci-socket

Version:
16 lines (11 loc) 378 B
var events = require('events'); var binding = require('../build/Release/binding.node'); var BluetoothHciSocket = binding.BluetoothHciSocket; inherits(BluetoothHciSocket, events.EventEmitter); // extend prototype function inherits(target, source) { for (var k in source.prototype) { target.prototype[k] = source.prototype[k]; } } module.exports = BluetoothHciSocket;