nl::Ble

此命名空間包含藍牙低功耗 (BLE) 的所有介面,也稱為 Bluetooth Smart。

摘要

列舉

@12 列舉
@371 列舉
@372 列舉
@373 列舉
@374 列舉
@375 列舉
@376 列舉
@377 列舉
BleRole 列舉
終點的作用相關的 BLE 連線。決定端點用來傳送和接收資料的方式。
BleTransportProtocolVersion 列舉
透過 BLE 傳輸協定定義 Weave 版本的列舉。
PacketType_t 列舉
WeaveBLEServiceDataType 列舉
與 Weave BLE 服務廣告資料一併顯示的武器資料區塊類型。

Typedefs

SequenceNumber_t typedef
uint8_t

變數

WEAVE_BLE_SVC_ID
const WeaveBleUUID

函式

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

類別

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

此類別提供單一執行緒的介面,可透過 BleLayer 平台介面函式將資料向上堆疊,或透過與 BLEEndPoint 相關聯的 WeaveConnection 物件向下移動資料。

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

Structs

nl::Ble::WeaveBLEDeviceIdentificationInfo

Weave BLE 裝置識別資訊封鎖。

nl::Ble::WeaveBleUUID

命名空間

nl::Ble::Platform

列舉

@12

 @12

@371

 @371

@372

 @372

@373

 @373

@374

 @374

@375

 @375

@376

 @376

@377

 @377

BleRole

 BleRole

終點的作用相關的 BLE 連線。決定端點用來傳送和接收資料的方式。

BleTransportProtocolVersion

 BleTransportProtocolVersion

透過 BLE 傳輸協定定義 Weave 版本的列舉。

PacketType_t

 PacketType_t

WeaveBLEServiceDataType

 WeaveBLEServiceDataType

與 Weave BLE 服務廣告資料一併顯示的武器資料區塊類型。

Typedefs

SequenceNumber_t

uint8_t SequenceNumber_t

變數

WEAVE_BLE_SVC_ID

const WeaveBleUUID WEAVE_BLE_SVC_ID

函式

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
)