Using Bluetooth (Serial.Write()) with RF 433MHz modules (VirtualWire)

Hi all,

I have setup inexpensive RF 433MHz modules for transferring some sensor data through VirtualWire library...

I want to be able to send the received data (through RF-virtualwire) via bluetooth module (Using RX, TX pins on arduino with Serial.Write()) to my laptop. For some strange reason I am not able to receive anything on my laptop.

I am using HC-05 bluetooth module with 9600 baud rate. Virtualwire is working with 2000 bps. The sample code is something like

#include <VirtualWire.h>
void setup()
{
    Serial.begin(9600);	
    Serial.Write("Setup");
    vw_set_ptt_inverted(true); 
    vw_setup(2000);	 // Bits per sec
    vw_rx_start();       
}

void loop()
{
    uint8_t buf[VW_MAX_MESSAGE_LEN];
    uint8_t buflen = VW_MAX_MESSAGE_LEN;

    if (vw_get_message(buf, &buflen)) // Non-blocking
    {
	int i;
	Serial.write("Got: ");
	for (i = 0; i < buflen; i++)
	{
	    Serial.write(buf[i], HEX);
	    Serial.write(" ");
	}
    }
}

Strange thing is I am not even receiving the "Setup" string sent! let alone the sensor readings

Any help/insights is greatly appreciated.

    Serial.Write("Setup");

Does that code even compile?

Sorry for the typo... Here is the code that compiles and addresses my question

#include <VirtualWire.h>
void setup()
{
    Serial.begin(9600);	
    Serial.write("Setup");
    vw_set_ptt_inverted(true); 
    vw_setup(2000);	 // Bits per sec
    vw_rx_start();       
}

void loop()
{
    uint8_t buf[VW_MAX_MESSAGE_LEN];
    uint8_t buflen = VW_MAX_MESSAGE_LEN;

    if (vw_get_message(buf, &buflen)) // Non-blocking
    {
	int i;
	Serial.write("Got: ");
	for (i = 0; i < buflen; i++)
	{
	    Serial.write(buf[i]);
	    Serial.write(" ");
	}
    }
}