nl::Ble

Questo spazio dei nomi include tutte le interfacce all'interno di Weave per Bluetooth Low Energy (BLE), noto anche come Bluetooth Smart.

Riepilogo

Enumerazioni

@12 enum
@371 enum
@372 enum
@373 enum
@374 enum
@375 enum
@376 enum
@377 enum
BleRole enum
Ruolo delle connessioni BLE associate degli endpoint. Determina i mezzi utilizzati dagli endpoint per inviare e ricevere dati.
BleTransportProtocolVersion enum
Enum che definisce le versioni del protocollo di trasporto Weave su BLE.
PacketType_t enum
WeaveBLEServiceDataType enum
Tipi di blocchi di dati Weave che possono essere visualizzati con i dati pubblicitari del servizio Weave BLE.

Typedef

SequenceNumber_t typedef
uint8_t

Variabili

WEAVE_BLE_SVC_ID
const WeaveBleUUID

Funzioni

FormatBleLayerError(char *buf, uint16_t bufSize, int32_t err)
bool
HandleCommandTest(void *ble, BLE_CONNECTION_OBJECT connObj, uint32_t packetCount, uint32_t duration, uint16_t txGap, uint8_t needAck, uint16_t payloadSize, bool reverse)
HandleCommandTestAbort(void *ble, BLE_CONNECTION_OBJECT connObj)
HandleCommandTestResult(void *ble, BLE_CONNECTION_OBJECT connObj, bool local)
HandleCommandTxTiming(void *ble, BLE_CONNECTION_OBJECT connObj, bool enabled, bool remote)
RegisterBleLayerErrorFormatter(void)
void
UUIDsMatch(const WeaveBleUUID *idOne, const WeaveBleUUID *idTwo)
bool

Corsi

nl::Ble::BLEEndPoint
nl::Ble::BTCommandHeader
nl::Ble::BTCommandTypeAck
nl::Ble::BTCommandTypeTestData
nl::Ble::BTCommandTypeTestRequest
nl::Ble::BTCommandTypeTestResult
nl::Ble::BTCommandTypeTxTiming
nl::Ble::BTCommandTypeWindowSize
nl::Ble::BTCommandTypeWobleMTU
nl::Ble::BleApplicationDelegate
nl::Ble::BleLayer

Questa classe fornisce un'interfaccia per un singolo thread per trasferire i dati dallo stack tramite le funzioni di interfaccia della piattaforma BleLayer o dallo stack tramite un oggetto WeaveConnection associato a BLEEndPoint.

nl::Ble::BleLayerObject
nl::Ble::BlePlatformDelegate
nl::Ble::BleTransportCapabilitiesRequestMessage
nl::Ble::BleTransportCapabilitiesResponseMessage
nl::Ble::BleTransportCommandMessage
nl::Ble::WoBle
nl::Ble::WoBleTest
nl::Ble::WoBleTxHistogram
nl::Ble::WoBleTxRecord

Strutture

nl::Ble::WeaveBLEDeviceIdentificationInfo

Blocco informazioni di identificazione del dispositivo BLE Weave.

nl::Ble::WeaveBleUUID

Spazi dei nomi

nl::Ble::Platform

Enumerazioni

@12

 @12

@371

 @371

@372

 @372

@373

 @373

@374

 @374

@375

 @375

@376

 @376

@377

 @377

BleRole

 BleRole

Ruolo delle connessioni BLE associate degli endpoint. Determina i mezzi utilizzati dagli endpoint per inviare e ricevere dati.

BleTransportProtocolVersion

 BleTransportProtocolVersion

Enum che definisce le versioni del protocollo di trasporto Weave su BLE.

PacketType_t

 PacketType_t

WeaveBLEServiceDataType

 WeaveBLEServiceDataType

Tipi di blocchi di dati Weave che possono essere visualizzati con i dati pubblicitari del servizio Weave BLE.

Typedef

SequenceNumber_t

uint8_t SequenceNumber_t

Variabili

WEAVE_BLE_SVC_ID

const WeaveBleUUID WEAVE_BLE_SVC_ID

Funzioni

FormatBleLayerError

bool FormatBleLayerError(
  char *buf,
  uint16_t bufSize,
  int32_t err
)

HandleCommandTest

BLE_ERROR HandleCommandTest(
  void *ble,
  BLE_CONNECTION_OBJECT connObj,
  uint32_t packetCount,
  uint32_t duration,
  uint16_t txGap,
  uint8_t needAck,
  uint16_t payloadSize,
  bool reverse
)

HandleCommandTestAbort

BLE_ERROR HandleCommandTestAbort(
  void *ble,
  BLE_CONNECTION_OBJECT connObj
)

HandleCommandTestResult

BLE_ERROR HandleCommandTestResult(
  void *ble,
  BLE_CONNECTION_OBJECT connObj,
  bool local
)

HandleCommandTxTiming

BLE_ERROR HandleCommandTxTiming(
  void *ble,
  BLE_CONNECTION_OBJECT connObj,
  bool enabled,
  bool remote
)

RegisterBleLayerErrorFormatter

void RegisterBleLayerErrorFormatter(
  void
)

UUIDsMatch

bool UUIDsMatch(
  const WeaveBleUUID *idOne,
  const WeaveBleUUID *idTwo
)