• BLE seems to support multiple of the same UUID for services and characteristics, for example you could use the automation IO service with 4 digital characteristics. With Espruino, specifying the services as an object seems to prevent that as the keys won't be unique, ie:

    NRF.setServices({
      0x1815: { // automation
        0x2A56: { // digital
          readable: true,
          value : 1,
        },
        0x2A56 { // digital --> gets ignored as it's a duplicate key
          readable: true,
          value: 0
        }
      }
    });
    

    Is there any way around this?

About

Avatar for the1laz @the1laz started