User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 187
R
R
S
S
9
9
1
1
1
1
0
0
-
-
N
N
-
-
1
1
1
1
-
-
2
2
2
2
/
/
2
2
4
4
/
/
2
2
8
8
S
S
o
o
f
f
t
t
w
w
a
a
r
r
e
e
P
P
r
r
o
o
g
g
r
r
a
a
m
m
m
m
i
i
n
n
g
g
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
M
M
a
a
n
n
u
u
a
a
l
l
V
V
e
e
r
r
s
s
i
i
o
o
n
n
4
4
.
.
1
1
5
5
Figure 39: General Operation
NOTE: Writing code from a scratch to execute these sequences may be time
consuming. The user is strongly advised to use the API set, the source code
of which is provided with the software package. Reference files are
RS.CN.xx.GENR.SP.x.x.x/Driver/Driver_TCP<or nonTCP>/API_Lib/.
Documentation/ for the API set is available at
RS.CN.xx.GENR.SP.x.x.x/Driver/Driver_TCP<or nonTCP>/Documentation/
Firmware
Upgrade
needed?
Power up
No
SPI interface
initialization
Band
Write 0x00000001
to the address
0x22000004
Yes
Execute Firmware Upgrade
Process either through the SPI
interface or wirelessly, as the
case may be
Execute Boot-
loading
Process.
Ready for general
operation
Init
Feature Select
Command
(optional)
Scan command (not
required if module is
Ad-hoc network
creator)
Set PSK (if
operating in security
mode)
Join command
Set IP
Parameters
Open Sockets
and transact
data
Bypass
TCP/IP?
Init
Feature Select
Command
(optional)
Scan command (not
required if module is
Ad-hoc network
creator)
Set PSK (if
operating in security
mode)
Join command
Configure network
interface at Host
Open Sockets
and transact
data
TCP Bypass
command
Yes