Thank You very much Bassam.
Actually i have done that already. I should have updated my question.
Now what i want to do is to flash a custom program onto the bluetooth
module to do the same thing without entering the AT commands on the hyper terminal. I Have the IAR workbench. and the libraries. My question is how do i start.?