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

FreeBSD Manual Pages

  
 
  

home | help
DC_BLUETOOTH_ADDR2STR(3)    Library Functions Manual  DC_BLUETOOTH_ADDR2STR(3)

NAME
       dc_bluetooth_addr2str --	Convert	a bluetooth address to a string.

LIBRARY
       library "libdivecomputer"

SYNOPSIS
       #include	<libdivecomputer/bluetooth.h>

       const char*
       dc_bluetooth_addr2str(dc_bluetooth_address_t address,	    char *str,
	   size_t size);

DESCRIPTION
       Convert a bluetooth address to a	string.

       The bluetooth address is	formatted as XX:XX:XX:XX:XX:XX,	where each  XX
       is a hexadecimal	number specifying an octet of the 48-bit address.  The
       minimum size for	the buffer is DC_BLUETOOTH_SIZE	bytes.

       The reverse can be done with dc_bluetooth_str2addr(3).

RETURN VALUES
       Returns the bluetooth address represented as a string.

SEE ALSO
       dc_bluetooth_str2addr(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, 2020	      DC_BLUETOOTH_ADDR2STR(3)

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

home | help