I am working on a project using HC05 and arduino uno board where i wish to see if a device is connected to HC05 or not.. i am to understand that the state pin of hc05 returns the current state of the bluetooth module.. can anyone help me out?