TI中文支持网
TI专业的中文技术问题搜集分享网站

WL1837MOD: 如何获取蓝牙对端的RSSI

Part Number:WL1837MODOther Parts Discussed in Thread:AM4378

你好:

我想定时获取已连接的ble 外设 RSSI 信号强度值,应该如何实现?

以下是我测试的应用场景:

1. Am4378+wl1837 +AM335xBluetopiaLinuxProduction-4.2.1.0.1.0 ,运行 LinuxGATM_CLT 作为 GATT client已经 成功连接GATT server

2. QueryRemoteDeviceProperties 尝试获取ble蓝牙对端的RSSI信号,但是每次返回的RSSI均为0

请问我应该如何才能获取到正确的RSSI?

GATM>1 1

Initialization Failure: Already initialized.
Function Error.
GATM>34 0080E126C960 1

Attempting to Connect With (LE) Remote Device: 0080E126C960 (Flags = 0x80000000).
DEVM_ConnectWithRemoteDevice() Success: 0.
GATM>
Remote Device Connection Status: 0080E126C960, 0 (SUCCESS)
GATM>
Remote Device Properties Changed.
BD_ADDR:0080E126C960
Address Type:Public
LE Type:Single Mode
Device Flags:0x4004B001
LE Connect State:TRUE
GATM>
GATT ConnectionConnection Type: LERemote Address:  0080E126C960MTU:23


GATM>
GATT Connection MTU UpdateConnection Type: LERemote Address:  0080E126C960New MTU:251


GATM>QueryRemoteDeviceProperties 0080E126C960 1 1

Attempting to Query 0080E126C960 Device Properties: LE, ForceUpdate: TRUE.
DEVM_QueryRemoteDeviceProperties() Success: 0.
BD_ADDR:0080E126C960
Address Type:Public
Device Name:PD_SERVER
LE Type:Single Mode
Device Flags:0x4004B001
Device Appearance:0
LE RSSI:0
LE Paired State :FALSE
LE Connect State:TRUE
LE Encrypt State:FALSE
GATT Services Known: TRUE
GATM>
Remote Device Properties Changed.
BD_ADDR:0080E126C960
Address Type:Public
LE Type:Single Mode
Device Flags:0x4004B001
Device Appearance:0
GATM>
Remote Device Properties Changed.
BD_ADDR:0080E126C960
Address Type:Public
Device Name:PD_SERVER
LE Type:Single Mode
Device Flags:0x4004B001
GATM>
Remote Device Properties Status: 0080E126C960, SUCCESS.
BD_ADDR:0080E126C960
Address Type:Public
Device Name:PD_SERVER
LE Type:Single Mode
Device Flags:0x4004B001
Device Appearance:0
LE RSSI:0
LE Paired State :FALSE
LE Connect State:TRUE
LE Encrypt State:FALSE
GATT Services Known: TRUE
GATM>
Connection Parameters UpdatedStatus: 0BD_ADDR: 0080E126C960Connection Interval: 200Slave Latency: 0Supervision Timeout: 7500
GATM>QueryRemoteDeviceProperties 0080E126C960 1 0

Attempting to Query 0080E126C960 Device Properties: LE, ForceUpdate: FALSE.
DEVM_QueryRemoteDeviceProperties() Success: 0.
BD_ADDR:0080E126C960
Address Type:Public
Device Name:PD_SERVER
LE Type:Single Mode
Device Flags:0x4004B001
Device Appearance:0
LE RSSI:0
LE Paired State :FALSE
LE Connect State:TRUE
LE Encrypt State:FALSE
GATT Services Known: TRUE

Nick Sun:

您好,

wilink产品建议在英文论坛使用英语咨询,中文论坛目前没有对应的工程师。感谢您的支持。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum

感谢您的支持。

赞(0)
未经允许不得转载:TI中文支持网 » WL1837MOD: 如何获取蓝牙对端的RSSI
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1