Mimicking a bluetooth disconnection
- by user2529672
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?