bt_hid_deinit()

Clean up resources used at initialization.

Synopsis:

#include <btapi/bthid.h>
 
int bt_hid_deinit()

Since:

BlackBerry 10.2.0

Arguments:

Library:

libbtapi (For the qcc command, use the -l btapi option to link against this library)

Description:

This function cleans up resources initialized by the bt_hid_init() function after all connections are closed by the user.

Call this function after you have previously called the bt_hid_init() function successfully and after your application has finished using the HID module.

You do not need to call bt_hid_deinit() if a call to the bt_hid_init() function fails.

Returns:

0 is returned when deinitialization is successful, -1 with the errno set.