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

FreeBSD Manual Pages

  
 
  

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

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

LIBRARY
       library "libdivecomputer"

SYNOPSIS
       #include	<libdivecomputer/bluetooth.h>

       dc_bluetooth_address_t
       dc_bluetooth_addr2str(const char	*address);

DESCRIPTION
       Convert a string	to a bluetooth address.

       The  string  address is expected	to be in the format XX:XX:XX:XX:XX:XX,
       where each XX is	a hexadecimal number specifying	an octet of the	48-bit
       address.

       The reverse can be done with dc_bluetooth_addr2str(3).

RETURN VALUES
       Returns the bluetooth address represented as a 48-bit number.

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

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

home | help