cancel
Showing results for 
Search instead for 
Did you mean: 

BLE advertise manufacturer data and Service UUID

Lmali.1
Associate III

Hi,

I need to advertise free data, as I understand it is located in manufacturer data section.

When I advertise only the manufacturer data, with aci_gap_update_adv_data function, I can see with Application BLE Scanner, the data, as raw data.

But when I advertise the Service UUID, the data is different.

What I do wrong? What do I miss?

Thanks,

Lior

1 REPLY 1
Taxara
Associate III

I've found it quite hard to understand how to create a valid advertising packet. Try to start reading into that.

Remember that aci_gap_update_adv_data is limited to 31 bytes only, and all your data types should contain, length + data type value (link to types) + data in the right order.

Also take a look to your aci_gap_set_discoverable call, there you have probably set the length for the service UUIDs, perhaps you didnt set the correct length causing loss of data?

If this isnt the solution, then please extend the discription of the problem you are facing, "the data is different" isnt a lot to work with.