Google is committed to advancing racial equity for Black communities. See how.
Cette page a été traduite par l'API Cloud Translation.
Switch to English

nl :: Ble :: Plate-forme:: BlueZ

Résumé

Variables

gBluezBleApplicationDelegate
BluezBleApplicationDelegate *
gBluezBlePlatformDelegate
BluezBlePlatformDelegate *
gBluezServerEndpoint

Les fonctions

CloseBleconnection (void)
void
Fermez la connexion BLE.
ExitBluezIOThread (void)
void
Quittez le thread BluezIO.
RunBluezIOThread ( BluezPeripheralArgs *arg)
bool
Exécutez WoBle sur le fil Bluez.
RunOnBluezIOThread (int(*)(void *) aCallback, void *aClosure)
bool
Appelez une fonction à exécuter dans le contexte de thread BluezIO.
WoBLEz_ConnectionClosed (void *user_data)
void
WoBLEz_IndicationConfirmation (void *user_data)
void
WoBLEz_NewConnection (void *user_data)
void
WoBLEz_ScheduleSendIndication (void *user_data, nl::Weave::System::PacketBuffer *msgBuf)
bool
WoBLEz_SubscriptionChange (void *user_data)
void
WoBLEz_TimerCb (void *user_data)
bool
WoBLEz_WriteReceived (void *user_data, const uint8_t *value, size_t len)
void

Structs

nl :: Ble :: Platform :: BlueZ :: Adaptateur
nl :: Ble :: Platform :: BlueZ :: BluezPeripheralArgs
nl :: Ble :: Platform :: BlueZ :: BluezServerEndpoint
nl :: Ble :: Platform :: BlueZ :: Caractéristique
nl :: Ble :: Platform :: BlueZ :: Service
nl :: Ble :: Platform :: BlueZ :: WeaveIdInfo
nl :: Ble :: Platform :: BlueZ :: WeaveServiceData

Variables

gBluezBleApplicationDelegate

BluezBleApplicationDelegate * gBluezBleApplicationDelegate

gBluezBlePlatformDelegate

BluezBlePlatformDelegate * gBluezBlePlatformDelegate

gBluezServerEndpoint

 BluezServerEndpoint * gBluezServerEndpoint

Les fonctions

FermerBleconnexion

void CloseBleconnection(
  void
)

Fermez la connexion BLE.

QuitterBluezIOThread

void ExitBluezIOThread(
  void
)

Quittez le thread BluezIO.

RunBluezIOThread

bool RunBluezIOThread(
  BluezPeripheralArgs *arg
)

Exécutez WoBle sur le fil Bluez.

Détails
Retour
Renvoie «true» si la bibliothèque WoBluez parvient à enregistrer le serveur Weave gatt avec l'annonceur, sinon «false»

RunOnBluezIOThread

bool RunOnBluezIOThread(
  int(*)(void *) aCallback,
  void *aClosure
)

Appelez une fonction à exécuter dans le contexte de thread BluezIO.

Détails
Retour
Renvoie 'true' si une fonction est planifiée avec succès pour s'exécuter dans le contexte de thread BluezIO, sinon 'false'

WoBLEz_ConnectionClosed

void WoBLEz_ConnectionClosed(
  void *user_data
)

WoBLEz_IndicationConfirmation

void WoBLEz_IndicationConfirmation(
  void *user_data
)

WoBLEz_NewConnection

void WoBLEz_NewConnection(
  void *user_data
)

WoBLEz_ScheduleSendIndication

bool WoBLEz_ScheduleSendIndication(
  void *user_data,
  nl::Weave::System::PacketBuffer *msgBuf
)

WoBLEz_SubscriptionChange

void WoBLEz_SubscriptionChange(
  void *user_data
)

WoBLEz_TimerCb

bool WoBLEz_TimerCb(
  void *user_data
)

WoBLEz_WriteReceived

void WoBLEz_WriteReceived(
  void *user_data,
  const uint8_t *value,
  size_t len
)