User's Manual

4. API
D
4.1
TA
G
The da
t
necess
a
typede
f
{
u8_t
char
u8_t
u8_t
u8_t
TA
G
u8_t
char
char
u8_t
AP
u8_t
u8_t
uip_
i
uip_
i
uip_
i
u8_t
u8_t
uip_
i
connec
t
u16
_
u8_t
u8_t
u8_t
} TAG_C
A
AI6
0
D
escri
p
G_
CABRI
O
t
a structure
a
ry informa
t
f
struct t_T
A
wifi_mod
wifi_ssid
[
wifi_ssid
_
wifi_mac
[
wifi_pri
v
G
_SECURI
T
wifi_wep
k
wifi_wep
k
wifi_pmk
wifi_cha
n
dhcp_ena
b
connect_
m
i
p4addr_t l
o
i
p4addr_t n
e
i
p4addr_t g
a
gateway_
m
gateway_
m
i
p4addr_t
t
io
n
_
t port; /
/
local_ma
c
intoSmar
t
debugLe
v
A
BRIO_CO
N
0
60
H
p
tion:
O_
CONFI
G
of TAG_C
t
ion for the
A
G_CABR
I
e
; //
[
32]; //
W
_
len; //
T
[
6]; //
M
v
acy;
T
Y wifi_s
e
k
eylen; //
5
k
ey[64]; //
4
[32]; //
4
n
nel; //
b
le; //
m
ode; //
0
o
cal_ip_ad
d
e
t_mask;
a
teway_ip
_
m
ac[6];
m
ac_set;
remote_ip
_
/
Remote I
P
c
[6]; //
M
t
Link; //
A
v
el;
N
FIGURA
T
H
Us
e
-22-
G
URATIO
N
ABRIO_C
O
operation
o
I
O_CONFI
G
1: AP mod
e
W
iFi AP n
a
T
he length
M
AC addr
e
e
curity;
5
, 13
4
0bit and 1
0
4
0bit and 1
0
WiFI cha
n
1: DHCP E
n
0
: Client ,
1
d
r; // IP add
// Net m
a
_
addr; //
G
// MAC
_
addr; //
P
port num
b
M
AC addr
e
A
ctivate of
T
ION
e
r M
a
N
data str
u
O
NFIGUR
A
o
f WiFi.
G
URATIO
N
e
, 0: STA-
m
a
me or STA
of SSID
e
ss of Wifi
A
0
4 bit
0
4 bit
nel for sc
a
n
able 0: Fi
x
1
: Serve
r
r
ess of loc
a
a
sk of loca
l
G
ateway IP
a
addrsss of
g
Remote I
P
b
er for TCP
/
e
ss of local
Smartlin
k
p
a
nual
Copyrigh
u
cture
A
TION is
u
N
m
ode, IBSS,
name
A
P
nning or c
o
x
IP
a
l host
host
a
ddress of l
o
g
ateway
P
addrss
/
UDP conn
e
h
ost
p
rocess
h
t@2016 A
u
sed to stor
e
Infrastruct
u
onnect to
W
ocal host
for TCP/
U
e
ction
c
SiP
e
the
u
re
W
iFi
U
DP