Yes I precisely used this command but it’s a little bit more tricky.
As you probably know the default baudrate is set to 38400. This is the reason why in the “Slave” sample code we initialize the baudrate of the software serial to 38400 using the following line :
blueToothSerial.begin(38400); //Set BluetoothBee BaudRate to default baud rate 38400
Here is what I did and what you may try :
Start from a clean “Slave” sample code and in the setupBlueToothConnection function add the following line :
blueToothSerial.print("\r\n+STBD=9600\r\n");
after this one (the order is probably irrelevant here but this is what I did)
blueToothSerial.print("\r\n+STWMOD=0\r\n"); //set the bluetooth work in slave mode
Then compile your code and upload it to your arduino, as a result you might see one led quickly blink 2 times per second. If not, just switch off and on your arduino. Go back to Arduino IDE and edit the following line :
blueToothSerial.begin(38400); // <-- Located in the setupBlueToothConnection function
this way :
blueToothSerial.begin(9600); // <-- Located in the setupBlueToothConnection function
Then recompile and reupload to your arduino board and follow the tutorial given in the wiki to establish a connection with a PC in slave mode.
Good luck !!!