Bluetooth: Mesh: clarification about adv local identity
BT_ID_DEFAULT is hardcoded in mesh. Added clarification about the necessity of another local identity allocation for BLE if it coexists with mesh. Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
This commit is contained in:
parent
0f3af43330
commit
a322e4d20d
3 changed files with 13 additions and 0 deletions
|
@ -495,10 +495,12 @@ static int enc_id_adv(struct bt_mesh_subnet *sub, uint8_t type,
|
|||
uint8_t hash[16], int32_t duration)
|
||||
{
|
||||
struct bt_le_adv_param slow_adv_param = {
|
||||
.id = BT_ID_DEFAULT,
|
||||
.options = ADV_OPT_PROXY,
|
||||
ADV_SLOW_INT,
|
||||
};
|
||||
struct bt_le_adv_param fast_adv_param = {
|
||||
.id = BT_ID_DEFAULT,
|
||||
.options = ADV_OPT_PROXY,
|
||||
ADV_FAST_INT,
|
||||
};
|
||||
|
@ -595,6 +597,7 @@ static int priv_net_id_adv(struct bt_mesh_subnet *sub, int32_t duration)
|
|||
static int net_id_adv(struct bt_mesh_subnet *sub, int32_t duration)
|
||||
{
|
||||
struct bt_le_adv_param slow_adv_param = {
|
||||
.id = BT_ID_DEFAULT,
|
||||
.options = ADV_OPT_PROXY,
|
||||
ADV_SLOW_INT,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue