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

BLE5 advData length

Hi,

I'm working with nRF52832 chip following the example "ble_app_beacon". I see the advertising packet is limited to 31 bytes only. However, I'd like to take an advantage of BLE 5 spec and increase the size to 255 bytes. Is it possible? I tried to modify:

/**@brief Maximum size of advertising data in octets. */
#define BLE_GAP_ADV_MAX_SIZE            (255)

in "ble_gap.h", but it seems to have no effect.

Can somebody advise please?

Many thanks

Related