| DC_BLUETOOTH_STR2ADDR(3) | Library Functions Manual | DC_BLUETOOTH_STR2ADDR(3) | 
dc_bluetooth_str2addr —
#include
  <libdivecomputer/bluetooth.h>
dc_bluetooth_address_t
  
  dc_bluetooth_addr2str(const char
    *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).
| June 5, 2020 | NetBSD 9.0 |