Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DC_BLUETOOTH_DEVICE_GET_(3) Library Functions ManuaDC_BLUETOOTH_DEVICE_GET_(3)

NAME
       dc_bluetooth_device_get_address	--  Get	the address of a bluetooth de-
       vice.

LIBRARY
       library "libdivecomputer"

SYNOPSIS
       #include	<libdivecomputer/bluetooth.h>

       dc_bluetooth_address_t
       dc_bluetooth_device_get_address(dc_bluetooth_device_t *device);

DESCRIPTION
       Get the bluetooth device	address	of given bluetooth  device.   Required
       when  opening  transport	 communication with dc_bluetooth_open(3).  Re-
       quires a	valid device of	type dc_bluetooth_device_t which  can  be  re-
       trieved using dc_bluetooth_iterator_new(3).

RETURN VALUES
       Returns the bluetooth address of	device as dc_bluetooth_address_t which
       is a 64bit integer holding the bluetooth	address.

       The    address	 can	be    formatted	  as   a   string   by	 using
       dc_bluetooth_addr2str(3).

SEE ALSO
       dc_bluetooth_open(3),			 dc_bluetooth_iterator_new(3),
       dc_bluetooth_device_get_name(3),	dc_bluetooth_addr2str(3).

AUTHORS
       The  library  "libdivecomputer"	library	 was  written  by Jef Driesen,
       jef@libdivecomputer.org.
       This manpage is written by
       Vincent Hagen, vinnie@script4web.nl.

FreeBSD	Ports 14.quarterly	 June 5, 202DC_BLUETOOTH_DEVICE_GET_ADDRESS(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=dc_bluetooth_device_get_address&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help