I have connected my bluetooth to my PC,but how can I upload my arduino program to board? If I keep bluetooth and shield on arduino board,it can not upload. So, I disassambel bluetooth and shield from arduino board,then it can upload program to arduino board,but it lost connection between bluetooth bee and PC. If I use terminal program to start connect again,it can not do,because arduino board is not empty anymore.
Try to use the command \r\n+STAUTO=1\r\n which will make Bluetooth auto-connect the last paired device on power.