Documentation de référence sur la struct bt_hc_interface_t
#include <
bt_hci_lib.h
>
Champs de données |
|
size_t | size |
int(* | init )(const bt_hc_callbacks_t *p_cb, unsigned char *local_bdaddr) |
void(* | set_power )( bt_hc_chip_power_state_t state) |
int(* | lpm )( bt_hc_low_power_event_t event) |
void(* | preload )( TRANSAC transac) |
void(* | postload )( TRANSAC transac) |
int(* | transmit_buf )( TRANSAC transac, char *p_buf, int len) |
int(* | logging ( bt_hc_logging_state_t state, char *p_path, bool save_existing) |
void(* | cleanup (void) |
int(* | tx_cmd )( TRANSAC transac, char *p_buf, int len) |
Description détaillée
Définition à la ligne 165 du fichier bt_hci_lib.h .
Documentation des champs
void(* cleanup)(void) |
Ferme l'interface
Définition à la ligne 194 du fichier bt_hci_lib.h .
int(* init)(const bt_hc_callbacks_t *p_cb, unsigned char *local_bdaddr) |
Ouvre l'interface et fournit les routines de rappel à l'implémentation de cette interface.
Définition à la ligne 173 du fichier bt_hci_lib.h .
int(* logging)( bt_hc_logging_state_t state, char *p_path, bool save_existing) |
Active ou désactive l'enregistrement HCI
Définition à la ligne 191 du fichier bt_hci_lib.h .
int(* lpm)( bt_hc_low_power_event_t event) |
Définir le réveil en mode économie d'énergie
Définition à la ligne 179 du fichier bt_hci_lib.h .
void(* postload)( TRANSAC transac) |
Appelé après l'initialisation de la pile
Définition à la ligne 185 du fichier bt_hci_lib.h .
void(* preload)( TRANSAC transac) |
Appelé avant l'initialisation de la pile
Définition à la ligne 182 du fichier bt_hci_lib.h .
void(* set_power)( bt_hc_chip_power_state_t state) |
Contrôle de l'alimentation des puces
Définition à la ligne 176 du fichier bt_hci_lib.h .
taille_t |
Défini sur sizeof(bt_hc_interface_t)
Définition à la ligne 167 du fichier bt_hci_lib.h .
int(* transmit_buf)( TRANSAC transac, char *p_buf, int len) |
Tampon de transmission
Définition à la ligne 188 du fichier bt_hci_lib.h .
int(* tx_cmd)( TRANSAC transac, char *p_buf, int len) |
envoie des commandes à la couche HC (par exemple, l'état SCO)
Définition à la ligne 197 du fichier bt_hci_lib.h .
La documentation de ce struct a été générée à partir du fichier suivant :
- external/bluetooth/bluedroid/hci/include/ bt_hci_lib.h