the code was posted in the secoond issue that I raised about not being able to connect from a slider device: