Référence de structure bt_hc_interface_t
#include < bt_hci_lib.h >
Champs de données | |
taille_t | taille |
entier(* | init )(const bt_hc_callbacks_t *p_cb, caractère non signé *local_bdaddr) |
vide(* | set_power )( état bt_hc_chip_power_state_t ) |
entier(* | lpm )(événement bt_hc_low_power_event_t ) |
vide(* | précharge )( TRANSAC transac) |
vide(* | postchargement )( TRANSAC transac) |
entier(* | transmission_buf )( TRANSAC transac, char *p_buf, int len) |
entier(* | journalisation )( bt_hc_logging_state_t state, char *p_path, bool save_existing) |
vide(* | nettoyage )(vide) |
entier(* | 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 de terrain
void(* nettoyage)(vide) |
Ferme l'interface
Définition à la ligne 194 du fichier bt_hci_lib.h .
int(* init)(const bt_hc_callbacks_t *p_cb, caractère non signé *local_bdaddr) |
Ouvre l'interface et fournit les routines de rappel pour l'implémentation de cette interface.
Définition à la ligne 173 du fichier bt_hci_lib.h .
int(* journalisation)( bt_hc_logging_state_t state, char *p_path, bool save_existing) |
Contrôle l’activation/la désactivation de la connexion HCI
Définition à la ligne 191 du fichier bt_hci_lib.h .
int(* lpm)(événement bt_hc_low_power_event_t ) |
Définir le réveil en mode faible consommation
Définition à la ligne 179 du fichier bt_hci_lib.h .
void(* postload)( TRANSAC transac) |
Initialisation appelée post-pile
Définition à la ligne 185 du fichier bt_hci_lib.h .
void(* précharge)( TRANSAC transac) |
Appelé avant l'initialisation de la pile
Définition à la ligne 182 du fichier bt_hci_lib.h .
void(* set_power)(état bt_hc_chip_power_state_t ) |
Contrôle de la puissance de la puce
Définition à la ligne 176 du fichier bt_hci_lib.h .
taille_t taille |
Définir sur sizeof(bt_hc_interface_t)
Définition à la ligne 167 du fichier bt_hci_lib.h .
int(* transmission_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 cette structure a été générée à partir du fichier suivant :
- externe/bluetooth/bluedroid/hci/include/ bt_hci_lib.h