Trigger event on device connection example.