nl:: Ble
此命名空间包含 Weave 中用于蓝牙低功耗 (BLE)(也称为 Bluetooth Smart)的所有接口。
摘要
枚举 |
|
---|---|
@12
|
枚举 |
@371
|
枚举 |
@372
|
枚举 |
@373
|
枚举 |
@374
|
枚举 |
@375
|
枚举 |
@376
|
枚举 |
@377
|
枚举 |
BleRole
|
枚举 端点的作用相应的 BLE 连接。确定端点发送和接收数据的方式。 |
BleTransportProtocolVersion
|
枚举 定义基于 BLE 传输协议的 Weave 版本的枚举。 |
PacketType_t
|
枚举 |
WeaveBLEServiceDataType
|
枚举 可能随 Weave BLE 服务广告数据一起出现的 Weave 数据块类型。 |
类型定义符 |
|
---|---|
SequenceNumber_t
|
typedefuint8_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:: |
Weave BLE 设备标识信息块。 |
nl:: |
命名空间 |
|
---|---|
nl:: |
枚举
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 服务广告数据一起出现的 Weave 数据块类型。
类型定义符
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 )