SWRU368C May 2018 – January 2021 CC3100 , CC3100MOD , CC3200 , CC3200MOD
When a station is newly connected or disconnected to or from the AP, an event is sent to the host.
The event opcodes are:
SL_OPCODE_WLAN_STA_CONNECTED 0x082E
SL_OPCODE_WLAN_STA_DISCONNECTED 0x082F
The events include the parameters shown in Table 9-2.
Parameter | Bytes | Remarks |
---|---|---|
Peer device name | 32 | Relevant for P2P |
Peer MAC address | 6 | |
Peer device name length | 1 | |
WPS device password ID | 1 | 0 – not available |
Own SSID | 32 | Relevant for P2P |
Own SSID length | 1 | |
Padding | 3 |
When the IP address is released to a station, an event is sent to the host.
The event opcode is:
SL_OPCODE_NETAPP_IP_LEASED 0x 182C
The event includes the parameters shown in Table 9-3.
Parameter | Bytes | Remarks |
---|---|---|
IP address | 4 | |
Lease time | 4 | In seconds |
Peer MAC address | 6 | |
Padding | 2 |
When an IP address is released by a station, an event is sent to the host.
The event opcode is:
SL_OPCODE_NETAPP_IP_RELEASED 0x 182D
The event includes the parameters shown in Table 9-4.
Parameter | Bytes | Remarks |
---|---|---|
IP address | 4 | |
Peer MAC address | 6 | |
Reason | 2 | 0 – peer released the IP address 1 – peer declined to this IP address 2 – Lease time was expired |