You are reading a single comment by @DanDyse and its replies. Click here to read the full conversation.
  • Me again ... I am trying to add some services to let my puck look like an AirTag, without actually implementing the function behind them. I have set one like this:

    NRF.setServices(undefined, {uart:false, advertise: ['7dfc9000-7d1c-4951-86aa-8d9728f8d66c']­});

    Works okay, the UUID gets displayed when I scan around. But I probably need to add three more and tried this:

    NRF.setServices(undefined, {uart:false, advertise: ["7dfc9000-7d1c-4951-86aa-8d9728f8d66c",­"7dfc8000-7d1c-4951-86aa-8d9728f8d66c","­7dfc7000-7d1c-4951-86aa-8d9728f8d66c","7­dfc6000-7d1c-4951-86aa-8d9728f8d66c"]});­

    This doesn't seem to work, the device will not show up anymore ... what am I doing wrong?

    I am also setting a custom advertisement, maybe these collide??

    const adv = [ 0x1e, 0xff, 0x4c, 0x00, 0x12, 0x19, 0x08, key[6], key[7], key[8], key[9], key[10], key[11], key[12], key[13], key[14], key[15], key[16], key[17], key[18], key[19], key[20], key[21], key[22], key[23], key[24], key[25], key[26], key[27], key[0] >> 6, key[5]];
    NRF.setAdvertising([adv, {}],{interval:1000,name:ble_name,showNam­e:true,discoverable:true,connectable:tru­e,scannable:true});

Avatar for DanDyse @DanDyse started