Disconnect when rssi is low

2 posts / 0 new
Last post
zwang308
Offline
Last seen:4 years 4 months ago
Master
加入:2014-07-02 14:15
Disconnect when rssi is low

Hi Dialog,

是毫无ible to set a rssi low threshold when we init BLE stack, so that BLE stack will disconnect automatically when RSSI is lower than that value.

I know probably we could linsten to GAPC_CON_RSSI_IND message and disconnect manually. Is that possible for us to just set a value when init BLE stack and let it disconnect automatically?

Thanks a lot,

Keywords:
Device:
MT_dialog
Offline
Last seen:1 month 3 weeks ago
工作人员
加入:2015-06-08 11:34
Hi zwang308,

Hi zwang308,

There is no related implementation in any reference design, but i suppose that you can poll the rssi value by requesting the rssi value, read it from the corresponding indication and make a comparison with a user defined threshold, if the value retrieved is below the threshold you can issue a disconnect command. There isn't any implementation in the SDK where the user just sets a threshold so that the device disconnects when below that specific threshold.

Thanks MT_dialog

Topic locked