this code checks whether the bluetooth module is properly working or nt