nl::Ble

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

Summary

Enumerations

@318 enum
@319 enum
@320 enum
@321 enum
@322 enum
@323 enum
@324 enum
@336 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

Typedefs

SequenceNumber_t typedef
uint8_t

Variables

WEAVE_BLE_SVC_ID
const WeaveBleUUID

Functions

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)
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::WeaveBleUUID

Enumerations

@318

 @318

@319

 @319

@320

 @320

@321

 @321

@322

 @322

@323

 @323

@324

 @324

@336

 @336

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

Typedefs

SequenceNumber_t

uint8_t SequenceNumber_t

Variables

WEAVE_BLE_SVC_ID

const WeaveBleUUID WEAVE_BLE_SVC_ID

Functions

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
)

UUIDsMatch

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