Linksprite Cuhead Mega - fail

I bought this shield when I first started with Arduino. I was hoping to get what I paid for but I was actually hugely mistaken .

The shield is made by Linksprite (Cuhead Mega) for Arduino Mega 2560. After a year of using Arduino’s everyday I realize now that this purchase was silly. It doesnt have the same pin-layout as the Mega so It doesnt work at all. Support for this product is existent and it comes in so many different builds its hard to tell exactly what I bought ; even looks different on the site I bought it from.

The real problem I am having here is that I cannot get it to connect at all , even when I use the ICSP pins. The pin layout fits the Arduino Uno , which I am using now.

If anyone has any experience using this shield please let me know if the code is wrong or maybe I have some sort of hardware issue.

I have made sure to change the apps.conf.h file accordingly…that is not the issue. I get no errors it just does not connect , ever.

This is the board datasheet

This is the ‘detailed’ wiki page that has done nothing for me
http://linksprite.com/wiki/index.php5?title=CuHead_WiFi_Shield_for_Arduino_Mega

/*
 * A simple sketch that uses WiServer to serve a web page
 */


#include <WiServer.h>

#define WIRELESS_MODE_INFRA	1
#define WIRELESS_MODE_ADHOC	2

// Wireless configuration parameters ----------------------------------------
unsigned char local_ip[] = {192,168,1,4};	// IP address of WiShield
unsigned char gateway_ip[] = {192,168,1,2};	// router or gateway IP address
unsigned char subnet_mask[] = {255,255,255,0};	// subnet mask for the local network
const prog_char ssid[] PROGMEM = {"wifi"};		// max 32 bytes

unsigned char security_type = 0;	// 0 - open; 1 - WEP; 2 - WPA; 3 - WPA2

// WPA/WPA2 passphrase
const prog_char security_passphrase[] PROGMEM = {"12345678"};	// max 64 characters

// WEP 128-bit keys
// sample HEX keys
prog_uchar wep_keys[] PROGMEM = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,	// Key 0
				  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,	// Key 1
				  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,	// Key 2
				  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00	// Key 3
				};

// setup the wireless mode
// infrastructure - connect to AP
// adhoc - connect to another WiFi device
unsigned char wireless_mode = WIRELESS_MODE_INFRA;

unsigned char ssid_len;
unsigned char security_passphrase_len;
// End of wireless configuration parameters ----------------------------------------


// This is our page serving function that generates web pages
boolean sendMyPage(char* URL) {
  
    // Check if the requested URL matches "/"
    if (strcmp(URL, "/") == 0) {
        // Use WiServer's print and println functions to write out the page content
        WiServer.print("<html>");
        WiServer.print("Hello World!");
        WiServer.print("</html>");
        
        // URL was recognized
        return true;
    }
    // URL not found
    return false;
}


void setup() {
  // Initialize WiServer and have it use the sendMyPage function to serve pages
  WiServer.init(sendMyPage);
  
  // Enable Serial output and ask WiServer to generate log messages (optional)
  Serial.begin(57600);
  WiServer.enableVerboseMode(true);
}

void loop(){

  // Run WiServer
  WiServer.server_task();
 
  delay(10);
}

Support for this product is existent

I think you meant non-existent.

Is your SSID really "wifi", or is that redacted for posting here? Does your WiFi router require a pass phrase? Is it really a bunch of non-printing characters?

Hey PaulS .

No that was changed . The actual input is my SSID with no password. I set it up when I am this because my home is also my work place and I have setup encryption and firewalls that will not allow this shield to work