Useing BLE, connecting to my HC-06 module


im new to ionic 2 and im trying to understand how to use ionic 2 plugins but the documentation is very vague on how i actually implement them.

my ultimate goal is to connect to my HC-06 device/(or any Bluetooth module). then simple tell it small commands and revive a response. through the use of buttons.

any help to get me started in the right direction would be very welcomed. thank you in advance for your time and patience.

here is what my code in my home.ts file looks so far. i haven’t changed anything else from my generated Blank template

import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import {BLE} from '@ionic-native/ble';

  selector: 'page-home',
  templateUrl: 'home.html',
  Observable: 'any'
export class HomePage {

  constructor(private ble: BLE, public navCtrl: NavController) { }

    Observable = this.ble.scan([], 10);



doesnt work at all of course :stuck_out_tongue: