You are reading a single comment by @Mark_M and its replies. Click here to read the full conversation.
  • Hi all,
    I am trying to connect to Android phone (there is GATT server) while debugging in Chrome IDE.
    Getting ERR 0x12 (CONN_COUNT).

    var gatt;
    NRF.requestDevice({ filters: [{ name:'Pixel 4a' }] }).then(function(device) {
      console.log("found device");
      return device.gatt.connect();
    }).then(function(g) {
      gatt = g;
      console.log("connected");
      return gatt.startBonding();
    }).then(function() {
      console.log("bonded", gatt.getSecurityStatus());
      gatt.disconnect();
    }).catch(function(e) {
      console.log("ERROR",e);
    });
    
    =Promise: {  }
    found device
    ERROR ERR 0x12 (CONN_COUNT)
    

    If "one central and one peripheral connection", what is a central and peripheral in my case?
    My understanding B2 acts as service, so it should be peripheral. Am I correct? Then why it does not allow to connect to Android service as central?

About

Avatar for Mark_M @Mark_M started