• Hello,
    I want to scan and save a list of my devices around me
    this is what I get :

    [
      BluetoothDevice: {
        "id": "16:81:e2:2a:3a:21",
        "rssi": -84,
        "data": new Uint8Array([30, 255, 6, 0, 1, 9, 32, 2, 50, 141, 254, 49, 137, 64, 152, 204, 169, 29, 27, 46, 84, 132, 252, 5, 163, 119, 196, 51, 11, 17, 122]).buffer,
        "manufacturer": 6,
        "manufacturerData": new Uint8Array([1, 9, 32, 2, 50, 141, 254, 49, 137, 64, 152, 204, 169, 29, 27, 46, 84, 132, 252, 5, 163, 119, 196, 51, 11, 17, 122]).buffer
       },
      BluetoothDevice: {
        "id": "19:28:83:ac:a2:12",
        "rssi": -88,
        "data": new Uint8Array([30, 255, 6, 0, 1, 9, 32, 2, 42, 141, 40, 247, 194, 40, 168, 87, 141, 136, 125, 152, 127, 146, 236, 253, 134, 225, 51, 85, 107, 62, 248]).buffer,
        "manufacturer": 6,
        "manufacturerData": new Uint8Array([1, 9, 32, 2, 42, 141, 40, 247, 194, 40, 168, 87, 141, 136, 125, 152, 127, 146, 236, 253, 134, 225, 51, 85, 107, 62, 248]).buffer
       },
      BluetoothDevice: {
        "id": "6f:00:ce:b4:2c:8b",
        "rssi": -90,
        "data": new Uint8Array([2, 1, 26, 2, 10, 12, 10, 255, 76, 0, 16, 5, 81, 28, 74, 203, 201]).buffer,
        "manufacturer": 76,
        "manufacturerData": new Uint8Array([16, 5, 81, 28, 74, 203, 201]).buffer
       }
     ]
    

    so I see that I have 3 devices around me

    I have sevral queesion about it :

    1. why I don't see the name of the device "david-Iphone", "My-computer" ? like I see when I scan using my phone?
    2. I have try to add time using

      getTime()
      

      but he gave me

      821.90802001953

    the MDBT42Q doesn't have an internal clock? , can I add to it RTC devcie to get the time?
    or maybe there is another device that already have rtc inside of it?
    4.is there any way I can save the data as text\json ? and then upload it to my device ?

    1. after I save the wanted devcies after scan , is there any way to know how much free space I got left on the devcie?

    Thanks ,

About