Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52810 Advertising data location

Hi Nordic

I am porting an application from the EM9304 SoC to the nRF52810.

In the old application it was possible to send 26 bytes of manufacturer specific data (plus field ID and length) plus a 10 character name and a two byte service UUID.

Data captured bu a BLE scanner:
{
  kCBAdvDataIsConnectable = 1;
  kCBAdvDataLocalName = Candymaker;
  kCBAdvDataManufacturerData = <00000100 ffeeddcc bbaa0200 ffeeddcc bbaa0300 ffeeddcc bbaa>;
  kCBAdvDataServiceUUIDs = (
    1802
  );
}

Quick calculation tells us that it takes more that 31 bytes. That meens that it cannot be included i a single advertising packet.

But how is it solved on the EM9304? Is the Scan Responce packet used for the manufacturer specific data?

I have tried to change the location of the manufacturer specific data (Changeing the ble_advertising_init function) but the softdevice returns "wrong parameter".

Do you have any clues?

BR

Kasper

TekPartner

Related