function BluetoothSerialPort() {
        EventEmitter.call(this);
        this.inq = new DeviceINQ();

        var self = this;

        this.inq.on('found', function (address, name) {
            self.emit('found', address, name);
        });

        this.inq.on('finished', function () {
            self.emit('finished');
        });
    }
/**
     * Creates an instance of the bluetooth-serial object.
     * @constructor
     * @name Connection
     * @param rpcHandler The RPC handler.
     */
Creates an instance of the bluetooth-serial object.
@constructor
@name Connection
@param rpcHandler The RPC handler.
Creates an instance of the bluetooth - serial object . @constructor @name Connection @param rpcHandler The RPC handler .
function BluetoothSerialPort() {
        EventEmitter.call(this);
        this.inq = new DeviceINQ();
        var self = this;
        this.inq.on('found', function (address, name) {
            self.emit('found', address, name);
        });
        this.inq.on('finished', function () {
            self.emit('finished');
        });
    }
function BluetoothSerialPort ( ) { EventEmitter . call ( this ) ; this . inq = new DeviceINQ ( ) ; var self = this ; this . inq . on ( 'found' , function ( address , name ) { self . emit ( 'found' , address , name ) ; } ) ; this . inq . on ( 'finished' , function ( ) { self . emit ( 'finished' ) ; } ) ; }
Creates an instance of the bluetooth-serial object.
Creates an instance of the bluetooth - serial object .