but i'm getting stuck at setting GPIO.
This is the telenet side
user@thinkbear:~$ telnet 192.168.1.87 24
Trying 192.168.1.87...
Connected to 192.168.1.87.
Escape character is '^]'.
gm
> gpio: 0, name: gpio0, mode: disabled
> gpio: 1, name: gpio1, mode: disabled
> gpio: 2, name: gpio2, mode: disabled
> gpio: 3, name: gpio3, mode: disabled
> gpio: 4, name: gpio4, mode: disabled
> gpio: 5, name: gpio5, mode: disabled
> gpio: 12, name: gpio12, mode: disabled
> gpio: 13, name: gpio13, mode: disabled
> gpio: 14, name: gpio14, mode: disabled
> gpio: 15, name: gpio15, mode: disabled
> gpio: 16, name: gpio16, mode: disabled
gm 1 input
> gpio: 1, name: gpio1, mode: input, state: off
! gpio-mode: restart to activate new mode
cw
config write OK
r
> reset
Connection closed by foreign host.
user@thinkbear:~$ telnet 192.168.1.87 24
Trying 192.168.1.87...
Connected to 192.168.1.87.
Escape character is '^]'.
gm
> gpio: 0, name: gpio0, mode: disabled
> gpio: 1, name: gpio1, mode: disabled
> gpio: 2, name: gpio2, mode: disabled
> gpio: 3, name: gpio3, mode: disabled
> gpio: 4, name: gpio4, mode: disabled
> gpio: 5, name: gpio5, mode: disabled
> gpio: 12, name: gpio12, mode: disabled
> gpio: 13, name: gpio13, mode: disabled
> gpio: 14, name: gpio14, mode: disabled
> gpio: 15, name: gpio15, mode: disabled
> gpio: 16, name: gpio16, mode: disabled
Connection closed by foreign host.
user@thinkbear:~$
This is the debug output
state: 5 -> 0 (0)
rm 0
pm close 7 0 0/118975343
del if0
usl
sul 0 0
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x40100000, len 31384, room 16
tail 8
chksum 0xc0
load 0x3ffe8000, len 3436, room 0
tail 12
chksum 0xdd
ho 0 tail 12 room 4
load 0x3ffe8d70, len 9368, room 12
tail 12
chksum 0xd8
csum 0xd8
s$Ãsúmode : sta(18:fe:34:a1:fe:27)
add if0
sleep disable
Configure wlan, set ssid="Homernet", passwd="*******"
f 0,
You now can enter wlan ssid and passwd within 10 seconds.
Use exactly one space between them and a linefeed at the end.
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 2 (7a0)
reconnect
state: 2 -> 0 (0)
f 0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 2 (7a0)
state: 2 -> 2 (7a0)
reconnect
state: 2 -> 0 (0)
f -180, scandone
no Homernet found, reconnect after 1s
reconnect
f 0, Returning to normal uart bridge mode
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 2 (7a0)
reconnect
state: 2 -> 0 (0)
f -180, scandone
no Homernet found, reconnect after 1s
reconnect
f 0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 6
pm open phy_2,type:0 0 0
cnt
connected with Homernet, channel 1
dhcp client start...
ip:192.168.1.87,mask:255.255.255.0,gw:192.168.1.1
i cant change baud rate or anything.
i'm prob doing something stupid.