Attention.VibeProfile doesn't work for changing vibration pattern on S62.

I would like to generate several vibration pattern in my App. But two code below resulted in the same vibration pattern on both simulator and actual device.  I tried it with S62. 

And simulator with other devices like vivoactive behaves the same.

Can someone help to solve this ?

Code1)

var vibrateData = [
     // new Attention.VibeProfile(50, 2000), // On for two seconds
        new Attention.VibeProfile(0, 0), // Off for two seconds
] as Array<VibeProfile>;

Attention.vibrate(vibrateData);

Code2)

var vibrateData = [
      new Attention.VibeProfile(50, 2000), // On for two seconds
     //  new Attention.VibeProfile(0, 0), // Off for two seconds
] as Array<VibeProfile>;

Attention.vibrate(vibrateData);