Google is committed to advancing racial equity for Black communities. See how.
Эта страница переведена с помощью Cloud Translation API.
Switch to English

nl :: Ble :: Платформа:: BlueZ

Резюме

Переменные

gBluezBleApplicationDelegate
BluezBleApplicationDelegate *
gBluezBlePlatformDelegate
BluezBlePlatformDelegate *
gBluezServerEndpoint

Функции

CloseBleconnection (void)
void
Закройте соединение BLE.
ExitBluezIOThread (void)
void
Закройте тему BluezIO.
RunBluezIOThread ( BluezPeripheralArgs *arg)
bool
Запустите WoBle над веткой Bluez.
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 :: Platform :: BlueZ :: BluezPeripheralArgs
nl :: Ble :: Platform :: BlueZ :: BluezServerEndpoint
nl :: Ble :: Platform :: BlueZ :: Характеристика
nl :: Ble :: Платформа :: BlueZ :: Сервис
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
)

Запустите WoBle над веткой Bluez.

Детали
Возврат
Возвращает 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
)