OK - I need some help on this one.
Looking at the code in the thread I mentioned in my last post, the AVR swaps the WT11 between command and data modes using the escape sequence "+++" preceded and followed by a 2 second delay. This is confirmed by the iWrap manual: http://www.bluegiga.com/default.asp?file=210
Looking at the initialiasation sketch: http://www.arduino.cc/en/Main/ArduinoBTInitializationSketch
we have the following line:
Serial.println("SET CONTROL ESCAPE - 00 1");
according to the iWrap manual, this disables the escape sequence :o and sets the wt11 to command mode when the PIO0 goes low. I can't see a PIO0 on the schematic http://www.arduino.cc/en/uploads/Main/arduino_bt06.pdf and no wiring to any of the GPIO pins.
So, moving forward:
-
is it possible to use a different SET CONTROL ESCAPE command in my sketch to enable the +++ esacpe sequence? I'm concerned that doing so will make the communication to the PC stop and I'd then have an unusable Arduino;
-
is using a hardwired link to one of the wt-11 PIO pins preferable?
Thanks,
Mike