Bluetooth: Controller: Implement direct addr type in ext adv report

Implement setting the correct directed advertisers address
type in the Extended Advertising Report.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2021-09-22 08:58:24 +05:30 committed by Carles Cufí
commit 4d01637926
4 changed files with 82 additions and 20 deletions

View file

@ -29,6 +29,12 @@ extern "C" {
#define BT_ADDR_LE_RANDOM 0x01
#define BT_ADDR_LE_PUBLIC_ID 0x02
#define BT_ADDR_LE_RANDOM_ID 0x03
#define BT_ADDR_LE_UNRESOLVED 0xFE /* Resolvable Private Address
* (Controller unable to resolve)
*/
#define BT_ADDR_LE_ANONYMOUS 0xFF /* No address provided
* (anonymous advertisement)
*/
/** Length in bytes of a standard Bluetooth address */
#define BT_ADDR_SIZE 6