Get the address of a remote device.
int bt_spp_get_address(int fd, char *addr)
The 18-byte buffer allocated by a user in which the address is returned.
Library:libbtapi (For the qcc command, use the -l btapi option to link against this library)
This function returns the address of a remote device for the connection identified by the file descriptor.
- EINVAL: addr is NULL.
- EPERM: The bt_spp_init() has not been called or has failed.
- EBADF: The file descriptor is invalid.
Last modified: 2014-06-24