Request that the device vibrates.
BPS_API int vibration_request(int intensity, int duration)
The intensity at which the device should vibrate. You should use a value from the vibration_intensity_t, however, you can use an integer value of zero and above.
The length of time the device should vibrate for in milliseconds. Valid values are between zero and 5000 inclusive. Use a value of zero to cancel the vibration if the device is vibrating.
Library:libbps (For the qcc command, use the -l bps option to link against this library)
The vibration_request() function requests that the device vibrates at the specified intensity and for the specified length of time.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.
Last modified: 2014-09-30