Android Hardware Abstraction Layer
Data Fields
btpan_interface_t Struct Reference

#include <bt_pan.h>

Data Fields

size_t size
 
bt_status_t(* init )(const btpan_callbacks_t *callbacks)
 
bt_status_t(* enable )(int local_role)
 
int(* get_local_role )(void)
 
bt_status_t(* connect )(const bt_bdaddr_t *bd_addr, int local_role, int remote_role)
 
bt_status_t(* disconnect )(const bt_bdaddr_t *bd_addr)
 
void(* cleanup )(void)
 

Detailed Description

Definition at line 51 of file bt_pan.h.

Field Documentation

void(* cleanup)(void)

Cleanup the pan interface

Definition at line 81 of file bt_pan.h.

bt_status_t(* connect)(const bt_bdaddr_t *bd_addr, int local_role, int remote_role)

start bluetooth pan connection to the remote device by specified pan role. The result state will be returned by btpan_connection_state_callback

Definition at line 72 of file bt_pan.h.

bt_status_t(* disconnect)(const bt_bdaddr_t *bd_addr)

stop bluetooth pan connection. The result state will be returned by btpan_connection_state_callback

Definition at line 76 of file bt_pan.h.

bt_status_t(* enable)(int local_role)

Definition at line 63 of file bt_pan.h.

int(* get_local_role)(void)

Definition at line 67 of file bt_pan.h.

bt_status_t(* init)(const btpan_callbacks_t *callbacks)

Initialize the pan interface and register the btpan callbacks

Definition at line 57 of file bt_pan.h.

size_t size

set to size of this struct

Definition at line 53 of file bt_pan.h.


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