Hey,
I'm trying to connect the PC to the arduino directly using AdHoc.
i followed the guide and here is my settings on the WiFly shield:
get wlan
SSID=Dogo
Chan=1
ExtAnt=0
Join=4
Auth=OPEN
Mask=0x1fff
Rate=12, 24 Mb
Linkmon=0
get ip
IF=UP
DHCP=OFF
IP=169.254.28.46:2000
NM=255.255.0.0
GW=0.0.0.0
HOST=0.0.0.0:2000
PROTO=UDP,TCP,
MTU=1524
FLAGS=0x7
Here is what i get when i reboot:
reboot
*Reboot* WiFly Ver 2.23, 04-26-2011 on 131C94
MAC Addr=00:06:66:14:2e:1b
Creating ADhoc network
ADhoc on Dogo chan=1
*READY*
Connected via Ad-Hoc on Dogo
Starting Auto-IP
AutoIP Complete
IF=UP
DHCP=AUTOIP
IP=169.254.28.46:2000
NM=255.255.0.0
GW=0.0.0.0
Listen on 2000
Now sometimes it works sometimes it doesn't work, sometimes i see it on the "Available Networks" on my PC and sometimes not.
After i succeed to connect (takes long) i can communicate with TCP/UDP but i get "Ad-Hoc is lost" very fast..
Any ideas?