• Hi,

    Regarding this advertising behavior that does not work for me, I'm refering to this part of the documentation https://www.espruino.com/Reference#l_NRF_setServices
    It is said here

    Just creating a service doesn't mean that the service will be advertised. It will only be available after a device connects. To advertise, specify the UUIDs you wish to advertise in the advertise field of the second options argument. For example this will create and advertise a heart rate service:

    NRF.setServices({
      0x180D: { // heart_rate
        0x2A37: { // heart_rate_measurement
          notify: true,
          value : [0x06, heartrate],
        }
      }
    }, { advertise: [ '180D' ] })
    

    In my code (provided earlier in this post) I'm replicating exactly the same things but does not work

    What do I do wrongly ?

    Regards
    Vpl

About

Avatar for user94148 @user94148 started