nl::Ble

This namespace includes all interfaces within Weave for Bluetooth Low Energy (BLE), also known as Bluetooth Smart.

Summary

Enumerations

@12 enum
@371 enum
@372 enum
@373 enum
@374 enum
@375 enum
@376 enum
@377 enum
BleRole enum
Role of end points' associated BLE connections. Determines means used by end points to send and receive data.
BleTransportProtocolVersion enum
Enum defining versions of Weave over BLE transport protocol.
PacketType_t enum
WeaveBLEServiceDataType enum
Weave data block types that may appear with Weave BLE service advertisement data.

Typedefs

SequenceNumber_t typedef
uint8_t

Variables

WEAVE_BLE_SVC_ID
const WeaveBleUUID

Functions

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

Classes

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

This class provides an interface for a single thread to drive data either up the stack via the BleLayer platform interface functions, or down the stack via a WeaveConnection object associated with 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

Structs

nl::Ble::WeaveBLEDeviceIdentificationInfo

Weave BLE Device Identification Information Block.

nl::Ble::WeaveBleUUID

Namespaces

nl::Ble::Platform

Enumerations

@12

 @12

@371

 @371

@372

 @372

@373

 @373

@374

 @374

@375

 @375

@376

 @376

@377

 @377

BleRole

 BleRole

Role of end points' associated BLE connections. Determines means used by end points to send and receive data.

BleTransportProtocolVersion

 BleTransportProtocolVersion

Enum defining versions of Weave over BLE transport protocol.

PacketType_t

 PacketType_t

WeaveBLEServiceDataType

 WeaveBLEServiceDataType

Weave data block types that may appear with Weave BLE service advertisement data.

Typedefs

SequenceNumber_t

uint8_t SequenceNumber_t

Variables

WEAVE_BLE_SVC_ID

const WeaveBleUUID WEAVE_BLE_SVC_ID

Functions

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
)