I’m using the SpiUartTerminal code.
I’ve successfully connected the Wifly with my router:
set wlan auth 4
set wlan phrase password
join SSIDname
i get:
Joining FOX now..
<2.32> Associated!
DHCP: Start
DHCP in 1947ms, lease=3600s
IF=UP
DHCP=ON
IP=192.168.1.75:2000
NM=255.255.255.0
GW=192.168.1.254
At this point I can use telnet 192.168.1.75 2000 from my computer to connect with Wifly.
Now i change the localport to 80 with:
set ip localport 80
AOK
I confirm the setting with:
get ip
IF=UP
DHCP=ON
IP=[b]192.168.1.75:80[/b]
NM=255.255.255.0
GW=192.168.1.254
HOST=0.0.0.0:2000
PROTO=TCP,
MTU=1524
FLAGS=0x7
TCPMODE=0x63
BACKUP=0.0.0.0
<2.32>
It seems that everything OK, but now I can’t preform telnet 192.168.1.75 80.
I got this from my terminal’s computer:
telnet 192.168.1.75 80
Trying 192.168.1.75...
telnet: connect to address 192.168.1.75: Connection refused
telnet: Unable to connect to remote host
I’m stuck here.
What am I doing wrong? At this point I can’t test the HTTP connection.