User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 176
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
address stored in the memory. Host should ensure that this command is issued
before the mode select command.
Relevance
This command is relevant both when the TCP/IP stack is enabled or bypassed.
Frame Body
The following is the structure for the Set MAC Address Request:
struct WLAN_CNFG_MAC_Addr {
UINT8 aMacAddr[6];
};
Structure Member
Name
Description
aMacAddr
6-byte MAC Address that the module
needs to use for all network
communication.
Response
The structure of the response for this request frame is as follows:
struct WLAN_EVT_MAC_Addr {
UINT32 uErrorcode;
};
Structure Member
Name
Description
uErrorcode
0: Success.
1: This error code is returned if the
command is given after WLAN
configuration (after “Join” command).
4.12.9 Query MAC Address
Description
This command is used to query the MAC address of the module. The Host may
query the MAC address of the module at any time after the band and init
commands.
Relevance
This command is relevant both when the TCP/IP stack is enabled or bypassed.
Frame Body
Indicates the type of Control Data Frame, should be set to 0x0F.