nl:: Bl:: Plattform:: BlauZ

Zusammenfassung

Variablen

gBluezBleApplicationDelegate
BluezBleApplicationDelegate *
gBluezBlePlatformDelegate
BluezBlePlatformDelegate *
gBluezServerEndpoint

Funktionen

CloseBleconnection (void)
void
BLE-Verbindung schließen.
ExitBluezIOThread (void)
void
Beenden Sie den BluezIO-Thread.
RunBluezIOThread ( BluezPeripheralArgs *arg)
bool
Führen Sie woble über Bluez Faden.
RunOnBluezIOThread (int(*)(void *) aCallback, void *aClosure)
bool
Rufen Sie eine Funktion auf, die im BluezIO-Thread-Kontext ausgeführt wird.
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

Strukturen

nl :: Ble :: Platform :: BlueZ :: Adapter
nl :: Ble :: Platform :: BlueZ :: BluezPeripheralArgs
nl :: Ble :: Platform :: BlueZ :: BluezServerEndpoint
nl :: Ble :: Platform :: BlueZ :: Charakteristisch
nl :: Ble :: Platform :: BlueZ :: Service
nl :: Ble :: Platform :: BlueZ :: WeaveIdInfo
nl :: Ble :: Platform :: BlueZ :: WeaveServiceData

Variablen

gBluezBleApplicationDelegate

BluezBleApplicationDelegate * gBluezBleApplicationDelegate

gBluezBlePlatformDelegate

BluezBlePlatformDelegate * gBluezBlePlatformDelegate

gBluezServerEndpoint

BluezServerEndpoint * gBluezServerEndpoint

Funktionen

SchließenBleconnection

void CloseBleconnection(
  void
)

BLE-Verbindung schließen.

BeendenBluezIOThread

void ExitBluezIOThread(
  void
)

Beenden Sie den BluezIO-Thread.

RunBluezIOThread

bool RunBluezIOThread(
  BluezPeripheralArgs *arg
)

Führen Sie woble über Bluez Faden.

Einzelheiten
Kehrt zurück
Gibt "true" zurück, wenn die WoBluez-Bibliothek den Weave gatt-Server zusammen mit dem Werbetreibenden erfolgreich registrieren kann, andernfalls "false"

RunOnBluezIOThread

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

Rufen Sie eine Funktion zur Ausführung im BluezIO-Thread-Kontext auf.

Einzelheiten
Kehrt zurück
Gibt 'true' zurück, wenn eine Funktion erfolgreich für die Ausführung im BluezIO-Thread-Kontext geplant wurde, sonst '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
)