Disconnect from the service associated with the file descriptor.
int bt_spp_close(int fd)
Library:libbtapi (For the qcc command, use the -l btapi option to link against this library)
This function closes the client side SPP connection opened with bt_spp_open() or bt_spp_open_ex(). Ensure that you call this function after your application has finished using the file descriptor from a successful call to bt_spp_open() or bt_spp_open_ex().
- EPERM: The bt_spp_init() function has not been called or has failed.
- EBADF: An invalid file descriptor is passed to the function.
Last modified: 2014-06-24