WiFi click

General discussion on Libstock website & codes posted on this website.
Post Reply
Author
Message
JimKueneman
Posts: 417
Joined: 10 Jan 2009 22:03

WiFi click

#1 Post by JimKueneman » 06 Jan 2015 05:10

mikroPascal for dsPIC
Fusion 7 board
dsPIC33EP512MC810
WiFi click in Socket 2.

Can someone who has gotten a WiFi TCP connection to work tell me what is wrong with this code? It is frustrating. It all connects, I see the ARP and TCP initialization messages in WireShark. I have tried 2 different servers and both detect a connection to them through the Click and this code.

BUT:

If I try to send or read from the TCP socket I get a ARP Timeout Error code and anything the server sends does not appear in WireShark and nothing happens.

Thanks,
Jim
Attachments
WiFiProblem.zip
(24.6 KiB) Downloaded 217 times

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: WiFi click

#2 Post by dejan.odabasic » 06 Jan 2015 16:34

Hello,

WiFi library is provided with set of server/client example projects.
This set of projects shows how connection via TCP can be established.

Example projects are located in:
..compiler\Packages\Network_WiFi_PIC\Examples\Ad-Hoc Example

Best regards.

Post Reply

Return to “Libstock Discussion”