ble_mesh: update ble mesh ble adv type

This commit is contained in:
InfiniteYuan 2022-07-22 20:45:45 +08:00 committed by YuanMingFu
parent 4ecc978bd6
commit af72c4b94f

View File

@ -895,7 +895,7 @@ int bt_mesh_ble_adv_start(const struct bt_mesh_ble_adv_param *param,
break;
case BLE_MESH_ADV_NONCONN_IND:
adv_params.conn_mode = BLE_GAP_CONN_MODE_NON;
adv_params.disc_mode = BLE_GAP_DISC_MODE_GEN;
adv_params.disc_mode = BLE_GAP_DISC_MODE_NON;
break;
case BLE_MESH_ADV_DIRECT_IND_LOW_DUTY:
adv_params.conn_mode = BLE_GAP_CONN_MODE_DIR;