This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

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

Part Number: WL1837MOD
Other 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?

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 Connection
Connection Type: LE
Remote Address: 0080E126C960
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

x 出现错误。请重试或与管理员联系。