Burn the firmware of nrf/samples/bluetooh/multi-adv-set, the mobile phone scans the broadcast of 2 mac addresses.
How to set multiple broadcasts of nRF5340 to the same mac address?
Burn the firmware of nrf/samples/bluetooh/multi-adv-set, the mobile phone scans the broadcast of 2 mac addresses.
How to set multiple broadcasts of nRF5340 to the same mac address?
Hi,
I am looking into your case and will reply later.
Regards,
Amanda H.
Hi,
You can choose the BT_LE_ADV_OPT_USE_IDENTITY option when defining the advertisement parameters.
static const struct bt_le_adv_param *non_connectable_adv_param =
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_USE_NAME | BT_LE_ADV_OPT_USE_IDENTITY,
0x140, /* 200 ms */
0x190, /* 250 ms */
NULL);
Please be aware that it will be seen as the same device when they have the same address. Once you modify the code as the above, you would only see one advertisement at a time alternately.
Regards,
Amanda H.
OK, I got it !
Thanks,
Kenny