Lines Matching +full:local +full:- +full:bd +full:- +full:address
1 .\" Copyright (c) 2003-2009 Maksim Yevmenkin <m_evmenkin@yahoo.com>
151 referenced by name or by address, respectively.
158 .Dv NUL Ns -terminated
164 should point to an address which is
173 argument specifies the address family of this address and must be set to
190 flag is non-zero, the file will not be closed.
213 .Dv NUL Ns -terminated
235 flag is non-zero, the file will not be closed.
245 routine interprets the specified character string as a Bluetooth address,
246 placing the address into the structure provided.
252 takes a Bluetooth address and places an
254 string representing the address into the buffer provided.
262 string as the address or device name of a Bluetooth device on the local system,
263 and places the device address in the provided
267 or 0 if the string did not match any local device.
270 function takes a Bluetooth device address and copies the local device
271 name associated with that address into the buffer provided,
290 otherwise -1.
294 .Bd -literal -offset indent
360 or -1 if an error occurred.
369 The function returns -1 if an error has occurred.
405 or -1 if an error occurred.
432 or -1 if an error occurred.
450 .Bd -literal -offset indent
491 The function returns 0 on success, or -1 if an error occurred.
495 controls the local
517 The function returns 0 on success, or -1 if an error occurred.
554 parameter specifies which local Bluetooth device should perform an inquiry.
581 The function returns -1 if an error has occurred.
585 .Bd -literal -offset indent
600 user-friendly name of another Bluetooth unit.
603 parameter specifies which local Bluetooth device should perform the request.
625 NUL-terminated string or
648 are handy shorthand Bluetooth address utility functions.
665 .Bl -tag -width ".Pa /etc/bluetooth/hosts" -compact
671 .Bd -literal -offset indent
673 bdaddr_t bd;
676 if (!bt_aton(bdstr, &bd))
679 if ((hp = bt_gethostbyaddr((const char *)&bd,
680 sizeof(bd), AF_BLUETOOTH)) == NULL)
683 printf("name associated with %s is %s\en", bdstr, hp->h_name);
704 .Pf non- Dv NULL ,
711 .Bl -tag -width ".Dv HOST_NOT_FOUND"
716 This is a non-recoverable error.