The slave is an android tablet. I am also using 2 IO lines on the K64F to connect to the EN and STATE lines on the HC-05.
When the slave shuts down, the master detects that via the STATE line on the HC-05. However when the slave starts up again, the HC-05 does not re-link to it automatically. I know that if you put the power OFF and then ON on the HC-05 it will re-connect.
On the K64F (J199) the power to the JY-MCU is connected directly to 3.3V line and not an IO line.
Do I have to use an IO line for the power.
Is there another procedure to get the JY-MCU to auto-connect without turning off the power.
Thanks for your help.