• Ahh, ok. So it's what I'd mentioned above about the scan response packet (which is an extra advertising packet that can be requested in a 'active' scan). Espruino sticks advertised service UUIDs in there because usually there's not enough space in the main packet.

    So to work around it, I'm afraid you'll have to manually specify the advertising data:

    NRF.setAdvertising([
      [
    0x02,0x01,0x06,
    0x11,0x07,0xab,0xcd,0xab,0xcd,0xab,0xcd,0xab,0xcd,0xab,0xcd,0xab,0xcd,0xab,0xcd,0xab,0xcd,
    0x08,0x09,0x50,0x75,0x63,0x6b,0x2e,0x6a,0x73,
    ]]); 
    

    But that will likely work perfectly for you. In fact you wouldn't even have to stop the UART.

  • So to work around it, I'm afraid you'll have to manually specify the advertising data:

    Thank you, that was the missing piece I needed to figure out the rest, and I got it working now!

    Thanks for all your help so far! I'm learning a lot!

    If I have any other questions on this I'll follow up here.

About

Avatar for user113948 @user113948 started