simulateDisconnection

Simulates peripheral disconnection from the device.

The central manager will receive a disconnection event.

Parameters

reason

The reason for disconnection.