Android Hardware Abstraction Layer
Data Fields
btsock_interface_t Struct Reference

#include <bt_sock.h>

Data Fields

size_t size
 
bt_status_t(* listen )(btsock_type_t type, const char *service_name, const uint8_t *service_uuid, int channel, int *sock_fd, int flags)
 
bt_status_t(* connect )(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t *uuid, int channel, int *sock_fd, int flags)
 

Detailed Description

Definition at line 39 of file bt_sock.h.

Field Documentation

bt_status_t(* connect)(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t *uuid, int channel, int *sock_fd, int flags)

Definition at line 52 of file bt_sock.h.

bt_status_t(* listen)(btsock_type_t type, const char *service_name, const uint8_t *service_uuid, int channel, int *sock_fd, int flags)

listen to a rfcomm uuid or channel. It returns the socket fd from which btsock_connect_signal can be read out when a remote device connected

Definition at line 47 of file bt_sock.h.

size_t size

set to size of this struct

Definition at line 42 of file bt_sock.h.


The documentation for this struct was generated from the following file: