I ve done some searching but nothing specific has been mentioned so ill post this as "possible "solution".
From time to time, im trying to make my SeeedStudio BT shield discoverable for other devices. Im breaking the pairing on my phone, but the BT shield still "caches(?)" the last pairing by blinking only the green light on the BT shield.
To know that the shield is ready for pairing with other devices, it needs to blink both green and red.
when shield blinks:
- red & green - the shield is not paired with any device and is discoverable for others
- green 2 (no red) - the shield is paired but not connected (also undiscoverable for other devices) , common in my cases
- green 1 (no red) - the shield is paired and connected.
Here's a list what i did and tested to set my shield in "ready to pair" state, ( blink both red and green )
Did not work
- powered of the shield (disconnected from UNO board)
- powered off entire board (disconnected UNO from USB cable)
- set different "codes" for bt shield in the setup (like auto connections, master and slave modes and so on)
- googled for hours :P
Solution:
So here is what i've found and seems to clear the "cache" on my shield / board.
Set RxD and TxD pins to something else from 6 and 7 (both in code and on the shield as well)
#include <SoftwareSerial.h> //Software Serial Port
#define RxD 4
#define TxD 5
#define DEBUG_ENABLED 1
SoftwareSerial blueToothSerial(RxD,TxD);
Hope this helps and clarifies some issues :)