How to know whether Arduino Bluetooth is paired or not? <p>I am using an Arduino Mega and a Bluetooth module hc-05 zs040. I want to connect an external LED to the Arduino, which will indicate whether Bluetooth is paired or not. I read about the STATE pin and tried to use it but my state always outputs digital 0, no matter whether it is connected or not. Is there any other way to do this (other than soldering)?</p>