Interfacing with a 4pin CC2500 MODULE

Hello everyone,
I have a CC2500 module with 4 pins(5v,gnd, Tx and Rx) [See the image file attached] and i tried to program it using the virtualwire library. But it doesn’t function. The codes for tx and rx are given below.
The tutorials on internet are regarding the CC2500 module which has 6 Inputs(MISO,MOSI,Clk,DATA,5V and Gnd). What code should i use to operate my CC2500.

Regards.

Transmitter:

//Transmitter Code (Uno)
#include <VirtualWire.h>

void setup()
{
  Serial.begin(9600);
  
  vw_setup(2000);
  vw_set_tx_pin(7);
}

void loop()
{
  if(Serial.available())
  {
    char c = Serial.read();
    
    if(c == '1')
    {
      vw_send((uint8_t *)c, 1);
    }
    else if(c == '0')
    {
      vw_send((uint8_t *)c, 1);
    }
  }
}

Receiver:

//Receiver Code (Leonardo)
#include <VirtualWire.h>

void setup()
{
  pinMode(13,OUTPUT);
  digitalWrite(13,LOW);
  
  vw_setup(2000);
  vw_set_rx_pin(7);
  vw_rx_start();
}

void loop()
{
  uint8_t buflen = VW_MAX_MESSAGE_LEN;
  uint8_t buf[buflen];
  
  if(vw_get_message(buf, &buflen))
  {
    for(int i = 0;i < buflen;i++)
    {
      if(buf[i] == '1')
      {
        digitalWrite(13,HIGH);
      }
      else if(buf[i] == '0')
      {
        digitalWrite(13,LOW);
      }
    }
  }
}

and i tried to program it using the virtualwire library.

Why? It has what appears to be serial input and output pins. Why not just try using Serial (or SoftwareSerial)?

Actually in my final assembly, there won't be any computer available, there is a keyboard interfaced to arduino for sending data wirelessly. This wireless transmission is done by CC2500. It is a transceiver module.

Isn't virtual wire library the best option for these conditions?

Isn't virtual wire library the best option for these conditions?

Since it doesn't seem to work, I'd have to guess no.

Why not try SoftwareSerial? What have you got to lose? 15 minutes?