nl::Ble::Platform::BlueZ

Ringkasan

Variabel

gBluezBleApplicationDelegate
BluezBleApplicationDelegate *
gBluezBlePlatformDelegate
BluezBlePlatformDelegate *
gBluezServerEndpoint

Fungsi

CloseBleconnection(void)
void
Tutup koneksi BLE.
ExitBluezIOThread(void)
void
Keluar dari thread BluezIO.
RunBluezIOThread(BluezPeripheralArgs *arg)
bool
Jalankan WoBle melalui thread Bluez.
RunOnBluezIOThread(int(*)(void *) aCallback, void *aClosure)
bool
Panggil fungsi untuk dijalankan dalam konteks 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

Struct

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

Variabel

gBluezBleApplicationDelegate

BluezBleApplicationDelegate * gBluezBleApplicationDelegate

gBluezBlePlatformDelegate

BluezBlePlatformDelegate * gBluezBlePlatformDelegate

gBluezServerEndpoint

BluezServerEndpoint * gBluezServerEndpoint

Fungsi

CloseBleconnection

void CloseBleconnection(
  void
)

Tutup koneksi BLE.

ExitBluezIOThread

void ExitBluezIOThread(
  void
)

Keluar dari thread BluezIO.

RunBluezIOThread

bool RunBluezIOThread(
  BluezPeripheralArgs *arg
)

Jalankan WoBle melalui thread Bluez.

Detail
Hasil
Menampilkan 'true' jika library WoBluez berhasil mendaftarkan server gatt Weave bersama dengan pengiklan, jika tidak, 'false'

RunOnBluezIOThread

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

Panggil fungsi untuk dijalankan dalam konteks thread BluezIO.

Detail
Hasil
Menampilkan 'true' jika fungsi berhasil dijadwalkan untuk dijalankan dalam konteks thread BluezIO, jika tidak, '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
)