WINC1500 connection error

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi.

I am new to the WINC1500 device which I have connected to my XMEGA192. I am using the API from Atmel.

The problem is that it scans and find the acesspoint / router with correct SSID, channel etc, but when I connect it returns an error message in the callback and ..CON_STATE_CHANGE.

The parameters pased to the callback is u8CurrState = 0 and u8ErrCode = 1. I annot find any documentation on the ErrCode.

I connect lik this: m2m_wifi_connect("Ergotest", 8, 2, "Ergotest2010",9); 

Do anyone know what is the problem is?

I find that the documentation is not up to date ( it is from 2015). I ther a newer API and documentation available?

 

Thanks.

BR 

Asle

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

status_codes.h will have the error codes -1 is mapped to the I/O error which is ERR_IO_ERROR

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

Thanks.

I do not think it is this codes I am looking for. I get Errorcode = 1(not -1).

Another question:

Must the  Firmware release version number be equal to  Driver release version number to get it working?

br

Asle

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Basically from what i understand, the firmware update version and the WINC driver that is present in the example application must be same. for example if the firmware of winc is updated for v19.5.2 i.e., the latest then the example must have the same version driver.