Google is committed to advancing racial equity for Black communities. See how.
本頁面由 Cloud Translation API 翻譯而成。
Switch to English

nl ::出血::平台::藍色Z

概要

變數

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

結構

nl :: Ble ::平台:: BlueZ ::適配器
nl :: Ble ::平台:: BlueZ :: BluezPeripheralArgs
nl :: Ble ::平台:: BlueZ :: BluezServerEndpoint
nl :: Ble ::平台:: BlueZ ::特徵
nl :: Ble ::平台:: BlueZ ::服務
nl :: Ble ::平台:: BlueZ :: WeaveIdInfo
nl :: Ble ::平台:: BlueZ :: WeaveServiceData

變數

gBluezBleApplicationDelegate

BluezBleApplicationDelegate * gBluezBleApplicationDelegate

gBluezBlePlatformDelegate

BluezBlePlatformDelegate * gBluezBlePlatformDelegate

gBluezServerEndpoint

BluezServerEndpoint * gBluezServerEndpoint

職能

閉口連接

void CloseBleconnection(
  void
)

關閉BLE連接。

ExitBluezIOThread

void ExitBluezIOThread(
  void
)

退出BluezIO線程。

RunBluezIOThread

bool RunBluezIOThread(
  BluezPeripheralArgs *arg
)

在Bluez線程上運行WoBle

細節
退貨
如果WoBluez庫能夠與廣告商一起成功註冊Weave gatt服務器,則返回“ true”,否則返回“ false”

RunOnBluezIOThread

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

調用一個函數以在BluezIO線程上下文中運行。

細節
退貨
如果某個函數已成功計劃在BluezIO線程上下文中運行,則返回“ true”,否則返回“ false”

WoBLEz_Connection已關閉

void WoBLEz_ConnectionClosed(
  void *user_data
)

WoBLEz_IndicationConfirmation

void WoBLEz_IndicationConfirmation(
  void *user_data
)

WoBLEz_NewConnection

0063 ead590

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
)