Close the connection to the BlackBerry Hub.


int uds_close(uds_context_t *pHandle)


BlackBerry 10.2.0



The handle that's used to communicate with the BlackBerry Hub and whose connection you want to close and resources you want to release.


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


This function closes the connection to the BlackBerry Hub and releases all of the resources that were allocated in the specified handle. This function should be the last UDS function that your app calls, after your app is finished manipulating data in the BlackBerry Hub. After you call this function, you can no longer use the specified handle to communicate with the BlackBerry Hub.


UDS_SUCCESS if the connection was closed and resources were freed successfully, or a non-zero error code on failure. See uds_error_code_t or errno.h for details.

Last modified: 2015-01-22

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus