nl::Ble::Platform::BlueZ

摘要

變數

gBluezBleApplicationDelegate
BluezBleApplicationDelegate *
gBluezBlePlatformDelegate
BluezBlePlatformDelegate *
gBluezServerEndpoint

函式

CloseBleconnection(void)
void
關閉 BLE 連線。
ExitBluezIOThread(void)
void
結束 BluezIO 執行緒。
RunBluezIOThread(BluezPeripheralArgs *arg)
bool
透過 Bluez 執行緒執行 WoBle
RunOnBluezIOThread(int(*)(void *) aCallback, void *aClosure)
bool
叫用要在 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::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

變數

gBluezBleApplicationDelegate

BluezBleApplicationDelegate * gBluezBleApplicationDelegate

gBluezBlePlatformDelegate

BluezBlePlatformDelegate * gBluezBlePlatformDelegate

gBluezServerEndpoint

BluezServerEndpoint * gBluezServerEndpoint

函式

CloseBleconnection

void CloseBleconnection(
  void
)

關閉 BLE 連線。

ExitBluezIOThread

void ExitBluezIOThread(
  void
)

結束 BluezIO 執行緒。

RunBluezIOThread

bool RunBluezIOThread(
  BluezPeripheralArgs *arg
)

透過 Bluez 執行緒執行 WoBle

詳細資料
傳回
傳回「true」如果 WoBluez 程式庫能夠與廣告客戶成功註冊 Weave gatt 伺服器,則為「false」

RunOnBluezIOThread

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

叫用要在 BluezIO 執行緒結構定義中執行的函式。

詳細資料
傳回
傳回「true」如果函式已成功排程在 BluezIO 執行緒結構定義中執行,則為「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
)