| DC_BLUETOOTH_OPEN(3) | Library Functions Manual | DC_BLUETOOTH_OPEN(3) |
dc_bluetooth_open —
#include
<libdivecomputer/bluetooth.h>
dc_status_t
dc_bluetooth_open(dc_iostream_t
**iostream, dc_context_t *context,
dc_bluetooth_address_t address,
unsigned int port);
Upon returning DC_STATUS_SUCCESS, the
iostream pointer must be freed with
dc_iostream_close(3).
DC_STATUS_SUCCESS on success or one of several
error values on error. On success, the iostream pointer
is filled in with an open handle.
| June 5, 2020 | NetBSD 10.0 |