Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Questions regarding using scan response to advertise full device name

Hi, I'm working on a BLE peripheral project using nRF52840 with nRF5SDK version 17.0.2 and softdevice S140 version 7.2.0

We are considering to increase our full device name from 10 bytes to 14 bytes. However, this cannot fit into our current adverting packet. Our current advertising packet looks like this:

- Flags => 1 + 1 + 1 = 3 bytes

- Attributes => 1 + 1 + 2 = 4 bytes

- Manufacturer specific data => 1 + 1 + 2 + 8 = 12 bytes

- Full device name (old) => 1 + 1 + 10 => 12 bytes

Therefore, we are considering to move full device name from advertising packet into scan response packet instead. So the new packet will look like this:

Advertising packet:

- Flags => 1 + 1 + 1 = 3 bytes

- Attributes => 1 + 1 + 2 = 4 bytes

- Manufacturer specific data => 1 + 1 + 2 + 8 = 12 bytes

Scan response packet:

- Full device name (new) => 1 + 1 + 14 => 16 bytes

However, our team has some concerns on this design and we would like your help to confirm these points if possible.

1.) Will there be any impact to our already existing BLE service and characteristics ID from this change alone? We have some concerns that if this changes affects the existing service and characteristics ID then it will be a big change on both firmware and our application side.

2.) If we implement this way, do we need to update any RAM configuration for softdevice?

3.) We will use our device with mostly PC and mobile phone (both iOS & Androids) so are there any known compatibility issues of using scan response packet for sending device full name? We have tested with a couple of iOS and android devices on our hands and they seems to work fine however we'd also like to know if there are such cases where compatibility issues might arises.

Parents
  • Hello,

    Will there be any impact to our already existing BLE service and characteristics ID from this change alone? We have some concerns that if this changes affects the existing service and characteristics ID then it will be a big change on both firmware and our application side.

    No, there won't be any impact on the existing BLE service or characteristic IDs. As long as these services and characteristics stay the same in your firmware, you don’t need to change the IDs or adjust any application logic connected to them.

    If we implement this way, do we need to update any RAM configuration for softdevice?

    Moving the device name from the advertising packet to the scan response packet doesn’t require a change in SoftDevice RAM configuration. If RAM or Flash size changes were needed, the build log would indicate this.

    We will use our device with mostly PC and mobile phone (both iOS & Androids) so are there any known compatibility issues of using scan response packet for sending device full name? We have tested with a couple of iOS and android devices on our hands and they seems to work fine however we'd also like to know if there are such cases where compatibility issues might arises.

    Using the scan response packet to broadcast the full device name is generally compatible with most BLE-capable devices, including PCs, iOS, and Android devices. So, the answer to this question is No; there are no known compatibility issues that might arise

    Kind Regards,

    Abhijith

  • Thank you for the detailed response! That really helps clear things up for us.

Reply Children
No Data
Related