Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Bluetooth Serial. How to know what device is actual connected

$
0
0

@madbyte wrote:

Hi,

I have page with a list of bluetooth devices. After choosing one and the connection is successfully I change to another page making this:

  BTConectado(){
    this.bluetoothSerial.isConnected().then(() => {
      console.log("BT Conectado");
      this.navCtrl.setRoot(MonitorPage);
      //this.navCtrl.push(MonitorPage);
    }, () => {console.log("BT No conectado");});
  }

When MonitorPage is loaded I want to know what device is connected (its address). I was reading BluetoothSerial Docs but seems that is not possible know that information.

I’m wrong?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>