Configuring ESP13 Module with Uno - get's no IP address?

I am trying to connect an ESP-13 module (yes, from jaycar) with an Uno. I've figured out the dip switches etc, and I am getting some information from it when I upload the following code:

/*
 WiFiEsp example: ConnectWPA
 
 This example connects to an encrypted WiFi network using an ESP8266 module.
 Then it prints the  MAC address of the WiFi shield, the IP address obtained
 and other network details.

 For more details see: http://yaab-arduino.blogspot.com/p/wifiesp-example-connect.html
*/

#include "WiFiEsp.h"

// Emulate Serial1 on pins 6/7 if not present
//#ifndef HAVE_HWSERIAL1
//#include "SoftwareSerial.h"
//SoftwareSerial Serial1(6, 7); // RX, TX
//#endif

char ssid[] = "Flip Broadband";            // your network SSID (name)
char pass[] = "jekhuvbn";        // your network password
int status = WL_IDLE_STATUS;     // the Wifi radio's status

void setup()
{
  // initialize serial for debugging
  Serial.begin(115200);
  // initialize serial for ESP module
  //Serial1.begin(9600);
  // initialize ESP module
  WiFi.init(&Serial);

  // check for the presence of the shield
  if (WiFi.status() == WL_NO_SHIELD) {
    Serial.println("WiFi shield not present");
    // don't continue
    while (true);
  }

  // attempt to connect to WiFi network
  while ( status != WL_CONNECTED) {
    Serial.print("Attempting to connect to WPA SSID: ");
    Serial.println(ssid);
    // Connect to WPA/WPA2 network
    status = WiFi.begin(ssid, pass);
    delay(5000);
  }

  Serial.println("You're connected to the network");
}

void loop()
{
  // print the network connection information every 10 seconds
  Serial.println();
  printCurrentNet();
  printWifiData();
  
  delay(10000);
}

void printWifiData()
{
  // print your WiFi shield's IP address
  IPAddress ip = WiFi.localIP();
  Serial.print("IP Address: ");
  Serial.println(ip);

  // print your MAC address
  byte mac[6];
  WiFi.macAddress(mac);
  char buf[20];
  sprintf(buf, "%02X:%02X:%02X:%02X:%02X:%02X", mac[5], mac[4], mac[3], mac[2], mac[1], mac[0]);
  Serial.print("MAC address: ");
  Serial.println(buf);
}

void printCurrentNet()
{
  // print the SSID of the network you're attached to
  Serial.print("SSID: ");
  Serial.println(WiFi.SSID());

  // print the MAC address of the router you're attached to
  byte bssid[6];
  WiFi.BSSID(bssid);
  char buf[20];
  sprintf(buf, "%02X:%02X:%02X:%02X:%02X:%02X", bssid[5], bssid[4], bssid[3], bssid[2], bssid[1], bssid[0]);
  Serial.print("BSSID: ");
  Serial.println(buf);

  // print the received signal strength
  long rssi = WiFi.RSSI();
  Serial.print("Signal strength (RSSI): ");
  Serial.println(rssi);
}

In the serial monitor, I get the following:

AT
AT+RST
ATE0
AT+CWMODE=1
AT+CIPMUX=1
AT+CIPDINFO=1
AT+CWAUTOCONN=0
AT+CWDHCP=1,1
AT+GMR
AT+CIPSTATUS
Attempting to connect to WPA SSID: Flip Broadband
AT+CWJAP_CUR="Flip Broadband","jekhuvbn"
Attempting to connect to WPA SSID: Flip Broadband
AT+CWJAP_CUR="Flip Broadband","jekhuvbn"
You're connected to the network

SSID: AT+CWJAP?

AT+CWJAP?
BSSID: 18:F1:45:33:06:D8
AT+CWJAP?
Signal strength (RSSI): -79
AT+CIFSR
IP Address: 0.0.0.0
AT+CIFSR
MAC address: 60:01:94:0F:30:9B

However, I'm stuck from here. My plan is to use it to send some sensor data to a web server. Any pointers as to why I am not able to get an IP address? Any help much appreciated

The exact module I have is:

The following is the output when I run the example code for the WiFiESP library "BasicTest":

AT+GMR
********************************************** Firmware version > FAILED (actual="1.5.4", expected="1.5.2")

AT+CIPSTATUS
********************************************** Status is (WL_DISCONNECTED) > PASSED

AT+CWJAP_CUR="Flip Broadband","jekhuvbn"
********************************************** Connect > FAILED (actual=2, expected=1)

AT+CIPSTATUS
********************************************** Check status (WL_CONNECTED) > FAILED (actual=3, expected=1)

AT+CWJAP?
********************************************** Check SSID > FAILED (actual="", expected="Flip Broadband")

AT+CIFSR
********************************************** Check IP Address > FAILED (actual=0, expected=0)

IP Address: 0.0.0.0
AT+CIFSR
MAC: 0:0:0:0:0:0

AT+CWQAP
********************************************** Disconnect > PASSED

AT+CIPSTATUS
********************************************** Check status (WL_DISCONNECTED) > FAILED (actual=255, expected=3)

AT+CIFSR
********************************************** IP Address > PASSED

AT+CWJAP?
********************************************** Check SSID > PASSED

AT+CWJAP_CUR="Flip Broadband","xxxx"
********************************************** Wrong pwd > FAILED (actual=1, expected=2)

AT+CWDHCP_CUR=1,0
AT+CIPSTA_CUR="192.168.168.111"
AT+CWJAP_CUR="Flip Broadband","jekhuvbn"
********************************************** Connect > FAILED (actual=2, expected=1)

AT+CIPSTATUS
********************************************** Check status (WL_CONNECTED) > FAILED (actual=3, expected=1)

AT+CIFSR
********************************************** Check IP Address > FAILED (actual=0, expected=0)

Updated - got it to work. Just had to comment out every Serial.print command in all of the scripts!