Unable to start advertising using HCI UART project

Hi,

I started a new project where a nRF52840 DK is used in controller mode to advertise sensor data. The board is flashed with the HCI UART project found in the Zephyr SDK.

I executed successfully most of the HCI commands (i.e. scan), but I'm unable to start advertising: I always get the error 0x12 (Invalid HCI Command Parameters).

Here is the command I send:

0x010a200101

And the response I get:

0x040e04010a2012

I also tried to use the Bluez on Linux and I get the same issue, using hcitool or btmgmt.

Any suggestion ? Is there any feature to enable first ?

Thanks in advance for your support,
Gerald

Related