• great
    thank you
    I think you can post the code you post here as an easy to understand example
    or even first code jsut flahs it
    much more easy to understand ....

    so see I understand it correct:

    NRF.setAdvertising([
    require("ble_eddystone").get("http://www­.david.com"),
    {
    
    //this part is all the data I want to show using Hex , 
    // can take examples from here https://www.bluetooth.com/specifications­/gatt/characteristics/ - //right?
       0x180F : [NRF.getBattery()],
       0x1809 : [Math.round(E.getTemperature())]
      } 
    ],
    //this is the default setting I can cahnge - right ? this is the only setting I can change from here 
    {
       name  : "David",
       showName: true,
       discoverable : true,
       connectable : false,
       scannable : true,
       interval:100
    });
    

    so now:
    I can see the device in bluetooth normal scan (see the name only and can't connect to it because of connectable : false)
    I can see the data from "NRF-connect". which is what I want

    Thank you so so much for this!


    1. I'm tryin to play with this , and send more data
      just for the test I want to test this Hex(Got this from https://www.bluetooth.com/specifications­/gatt/characteristics/)

    Age org.bluetooth.characteristic.age 0x2A80 GSS
    and add this to the code:

      {//here I put the HEX data -https://www.bluetooth.com/specification­s/gatt/characteristics/
       0x180F : [NRF.getBattery()],
       0x1809 : [Math.round(E.getTemperature())],
       0x2A80 : "15"
      } 
    

    in the NRF I can see battery\temp but not age -jsut Service Data without name - why?
    just 20x2A80 0x31 0x35 (which is 15)
    is it standart?

    1. also can I set the time of the ble_eddystone for showing 2 websites?
      I did this

      require("ble_eddystone").get("http://www­.david1.com"),
      require("ble_eddystone").get("http://www­.Danny1.com"),
      

      if I want to make 1 min for website1 and 2 min for website 2?
      and meanwhile it will send data every 1 sec ?
      or I need to write a more complicated code for this ?

    2. also the battery shown 3%
      is it because I'm connecting using USB to the V+ (5V) and not to the battery input?
      can I know what the voltage I'm using ? beacuse I saw it can be power on

      will work off of 2.5 to 16 volts
      can I measure the input?

    Thanks,

About