WT12 module in SPP profile
What you describe is the default operation mode of iWrap:


SPP profile is enabled
The module will jump into what is called "data mode" when a connection is opened and seamlessly transfer the data from the Bluetooth connection to the UART port.


In case you have messed up your configuration, you can issue "set reset" to return the factory settings (Available at least since iWrap 4).