pebble / pebblekit

Pebble's app development toolkit for the Pebble smartwatch, Android and iOS
199 stars 13 forks source link

vibes_cancel permanently disables vibration. #36

Closed matthewtole closed 4 years ago

matthewtole commented 11 years ago

Perhaps I'm misusing it, or misunderstand what vibes_cancel() is supposed to do, but whenever I use it, it seems to disable vibration entirely on the Pebble until I restart it.

From the documentation, I assume that vibes_cancel() is just supposed to stop any currently ongoing or queued vibrations.

tommaremaa commented 11 years ago

Matthew, can you please this issue in a bit more detail? I'd like to document the behavior correctly. Thx.

matthewtole commented 11 years ago

Sure.

The function vibes_cancel, as documented here, I think is supposed to stop any currently running vibrations, for example if you have a really long vibration or pattern of vibrations it will end it early.

Whenever I call it, it does what it's supposed to, but then my watch won't vibrate _at all_ until I shut it down and start up again. I tried notifications + other apps, none of them would make the watch vibrate. It should be pretty easy to replicate, just call vibes_cancel() in an app.