NordicSemiconductor / Android-nRF-Connect

Documentation and issue tracker for nRF Connect for Android.
1.32k stars 312 forks source link

disconnect result ok but still connected #218

Open N3or3ap opened 3 months ago

N3or3ap commented 3 months ago

Describe the bug Hello, I'm using automated script since yesterday, and I'm facing an issue, when I run my test at the end it should disconnect (the result said so) but in reality my device is still connected.

To Reproduce Steps to reproduce the behavior:

<scan-for description="Scan for ${TARGET_NAME}" name="${TARGET_NAME}" bind-target="devPCB" expected="SUCCESS"/>
<connect timeout="2000"/>
<refresh />
<discover-services />
[...] Read and write on some characteristics
<disconnect />
<unbond description="Unpairing" timeout="1000" target="devPCB" />

and then try again

Expected behavior I'm waiting to be disconnected from device in order to try to connect to it few seconds later.

Versions (please complete the following information): 07-06-2024 11:57:58 Version: 4.28.1 Device: Pixel 7, Android version: 14 (AP1A.240505.005)