Google is committed to advancing racial equity for Black communities. See how.
Se usó la API de Cloud Translation para traducir esta página.
Switch to English

nl :: Ble :: Plataforma:: BlueZ

Resumen

Variables

gBluezBleApplicationDelegate
BluezBleApplicationDelegate *
gBluezBlePlatformDelegate
BluezBlePlatformDelegate *
gBluezServerEndpoint

Las funciones

CloseBleconnection (void)
void
Cerrar la conexión BLE.
ExitBluezIOThread (void)
void
Salga del hilo BluezIO.
RunBluezIOThread ( BluezPeripheralArgs *arg)
bool
Ejecute WoBle sobre el hilo Bluez.
RunOnBluezIOThread (int(*)(void *) aCallback, void *aClosure)
bool
Invoque una función para que se ejecute en el contexto de subproceso 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

Estructuras

nl :: Ble :: Plataforma :: BlueZ :: Adaptador
nl :: Ble :: Plataforma :: BlueZ :: BluezPeripheralArgs
nl :: Ble :: Plataforma :: BlueZ :: BluezServerEndpoint
nl :: Ble :: Plataforma :: BlueZ :: Característica
nl :: Ble :: Plataforma :: BlueZ :: Servicio
nl :: Ble :: Plataforma :: BlueZ :: WeaveIdInfo
nl :: Ble :: Plataforma :: BlueZ :: WeaveServiceData

Variables

gBluezBleApplicationDelegate

BluezBleApplicationDelegate * gBluezBleApplicationDelegate

gBluezBlePlatformDelegate

BluezBlePlatformDelegate * gBluezBlePlatformDelegate

gBluezServerEndpoint

 BluezServerEndpoint * gBluezServerEndpoint

Las funciones

CerrarBleconnection

void CloseBleconnection(
  void
)

Cerrar la conexión BLE.

ExitBluezIOThread

void ExitBluezIOThread(
  void
)

Salga del hilo BluezIO.

RunBluezIOThread

bool RunBluezIOThread(
  BluezPeripheralArgs *arg
)

Ejecute WoBle sobre el hilo Bluez.

Detalles
Devoluciones
Devuelve 'verdadero' si la biblioteca WoBluez puede registrar con éxito el servidor Weave gatt junto con el anunciante, de lo contrario, 'falso'

RunOnBluezIOThread

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

Invoque una función para que se ejecute en el contexto de subproceso BluezIO.

Detalles
Devoluciones
Devuelve 'verdadero' si una función se programa correctamente para ejecutarse en el contexto de subproceso BluezIO, de lo contrario, 'falso'

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
)