• Hello Everyone!!

    I have been trying to get advertisement data from a custom ble device(with nRF52832 chip) that has been advertising ambient pressure every 5 minutes.

    When I use the below code snippet ,

    // Start scanning
    packets=10;
    NRF.setScan(function(d) {
      packets--;
      if (packets<=0)
        NRF.setScan(); // stop scanning
      else
        console.log(d); // print packet info
    });
    
    I could get the following
    
    BluetoothDevice: {
      "id": "90:6d:0f:4b:89:b4 public",
      "rssi": -76,
      "data": new Uint8Array([x, x, x, xx, x, x, x, x, x, x, xxx, xxx, xx, xxx, xxx, xx, xxx, x, xx, xxx, xx, x, x, xx, xx, xx, xx, xx, xx, xx, xx]).buffer,
      "shortName": "xxxxxxxx",
      "services": [
        "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
       ]
     }
    

    But I could not get the manufacturerData that has been advertised, which can be seen in "nRF Connect" mobile application.

    Simply I could not get the manufacturerData of 30 bytes, which is again shown in Raw data: part in mobile app.

    Any help is greatly appreciated

    Thanks in advance!!

About

Avatar for rln22 @rln22 started