This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Failure to broadcast 32-bit UUID!

Dear All,

I am trying to broadcast a 32-bit UUID. But I fail. I am using my won custom made array for the 31 bytes of the advertisement package.

I am though able to successfully broadcast a 16 bit UUID with the following array:

static uint8_t m_hardcode_enc_advdata[BLE_GAP_ADV_SET_DATA_SIZE_MAX] =
{
        0x03, 0x02, 'a', 'b',// 'c', 'd',
        0x1A, 0xFF,
};

But the array:

static uint8_t m_hardcode_enc_advdata[BLE_GAP_ADV_SET_DATA_SIZE_MAX] =
{
        0x05, 0x04, 'a', 'b', 'c', 'd',
        0x17, 0xFF,
};

Returns 6 (NRF_ERROR_NOT_SUPPORTED).

I am using SDK 15.3

So my question is this?

Can I use a 32-bit UUID? If yes, what am I missing?

Related