TwclWiFiInformationElementParser.ExtractInformationElements(TwclWiFiInformationElementId,TwclWiFiBss,TwclWiFiInformationElements) Method
Extracts information elements with specified ID from WiFi BSS data.
public function ExtractInformationElements(const Id: TwclWiFiInformationElementId; const Bss: TwclWiFiBss; out Elements: TwclWiFiInformationElements): Integer; overload;
Parameters
- Id
- Type: TwclWiFiInformationElementId
The required Information Element ID.
- Bss
- Type: TwclWiFiBss
The WiFi BSS data.
- Elements
- Type: TwclWiFiInformationElements
If the method completed with success and at least one IE was found on output contains the array of IEs. If the method was success but no one IE found or if the method failed the output value is
nil.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
As Windows may combine multiple Information Elements received in different Beacon advertisement in a single raw data stream there can be more than one IE with given ID.