Google is committed to advancing racial equity for Black communities. See how.

nl::Ble::Platform::BlueZ

Summary

Variables

gBluezBleApplicationDelegate
BluezBleApplicationDelegate *
gBluezBlePlatformDelegate
BluezBlePlatformDelegate *
gBluezServerEndpoint

Functions

CloseBleconnection(void)
void
Close BLE connection.
ExitBluezIOThread(void)
void
Exit BluezIO thread.
RunBluezIOThread(BluezPeripheralArgs *arg)
bool
Run WoBle over Bluez thread.
RunOnBluezIOThread(int(*)(void *) aCallback, void *aClosure)
bool
Invoke a function to run in BluezIO thread context.
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

Variables

gBluezBleApplicationDelegate

BluezBleApplicationDelegate * gBluezBleApplicationDelegate

gBluezBlePlatformDelegate

BluezBlePlatformDelegate * gBluezBlePlatformDelegate

gBluezServerEndpoint

BluezServerEndpoint * gBluezServerEndpoint

Functions

CloseBleconnection

void CloseBleconnection(
  void
)

Close BLE connection.

ExitBluezIOThread

void ExitBluezIOThread(
  void
)

Exit BluezIO thread.

RunBluezIOThread

bool RunBluezIOThread(
  BluezPeripheralArgs *arg
)

Run WoBle over Bluez thread.

Details
Returns
Returns 'true' if WoBluez library is able to successfully register Weave gatt server along with advertiser, else 'false'

RunOnBluezIOThread

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

Invoke a function to run in BluezIO thread context.

Details
Returns
Returns 'true' if a function is successfully scheduled to run in BluezIO thread context, else '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
)