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,
Device:
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