Mimicking a bluetooth disconnection

Posted by user2529672 on Programmers See other posts from Programmers or by user2529672
Published on 2014-05-07T14:52:01Z Indexed on 2014/06/07 3:45 UTC
Read the original article Hit count: 175

Filed under:

I've written a program to control a bluetooth device. I'm trying to test cases when the bluetooth disconnects, i.e. if its out of range.

Physically taking the device out of range is one possibility, but its quite cumbersome and I have to go outside my office to achieve this.

What can I do to trigger a disconnection? Is there, for example, an interferer I can setup, say with an Android phone, that would make the connection drop? Or limit the Bluetooth transmit power? Any other possibilities?

© Programmers or respective owner

Related posts about testing