Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Legacy advertising channels do not support 251 byte PDUs.
The configuration CONFIG_BT_CTLR_DATA_LENGTH=y, you are setting is only valid for data connections. The beacon sample is only a broadcaster hence the Kconfig warns about the feature being disabled due to connection support dependency.
If you are looking for broadcasting 251 byte PDUs, LE advertising extensions feature is not yet supported in the Zephyr upstream master repository.
From: users@... [mailto:users@...] On Behalf Of swapnil
Sent: Tuesday, April 24, 2018 12:33 PM
Subject: [Zephyr-users] payload 251 byte with beacon sample
i am new to zephyr. and trying to send a message with 251 byte payload. how can I set the controller.?
i am using following configuration:
CONFIG_BT_CTLR = y
CONFIG_BT_CONN = y
CONFIG_BT_LL_SW = y
BT_CTLR_DATA_LENGTH_MAX = y
CONFIG_BT_HCI = y
CONFIG_SOC_SERIES_NRF52X = y
CONFIG_BT_CTLR_ADVANCED_FEATURES = y
but it throws following warnings:
/home/swap/zephyr/samples/bluetooth/beacon/prj.conf:15: warning: attempt to assign the value " y" to the undefined symbol SOC_SERIES_NRF52X
/home/swap/zephyr/samples/bluetooth/beacon/prj.conf:17: warning: attempt to assign the value " y" to the undefined symbol BT_CTLR_ADVANCED_FEATURES
/home/swap/zephyr/samples/bluetooth/beacon/prj.conf:20: warning: attempt to assign the value " y" to the undefined symbol BT_CONN
/home/swap/zephyr/samples/bluetooth/beacon/prj.conf:21: warning: attempt to assign the value " y" to the undefined symbol BT_LL_SW
/home/swap/zephyr/samples/bluetooth/beacon/prj.conf:23: warning: attempt to assign the value " y" to the undefined symbol BT_HCI
Parsing Kconfig tree in /home/swap/zephyr/Kconfig
Using /home/swap/zephyr/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig as base
warning: BT_CTLR_DATA_LENGTH was assigned the value "y" but got the value "n" -- check dependencies
warning: BT_CTLR_DATA_LENGTH_MAX was assigned the value "251" but got the value "" -- check dependencies
what could be the correct configurations to enable 251 byte payload?
Thank you in advance,