Datalogic .NET SDK
SetGlobalSettings (Method)
Syntax
public static void SetGlobalSettings(WiFiGlobalSettings wifiGlobalSettings)
Description
Sets all global settings. To modify a single value, first call GetGlobalSettings, modify the value in the WiFiGlobalSettings class you care about, and then call SetGlobalSettings with the WiFiGlobalSettings object as the method parameter.
Throws
WiFiException on error.
Parameters Table
|
Type |
Parameter |
Description |
[in] |
wifiGlobalSettings |
Object containing all desired global settings |
Example
try { // Set radio to 802.11a mode WiFiGlobalSettings globals = WiFi.GetGlobalSettings(); globals.PhyMode = Edot11Mode.A; WiFi.SetGlobalSettings(globals); } catch (WiFiException ex) { Console.WriteLine("Error " + ex.ErrorCode); }
|
Supported devices: Skorpio X4, Falcon X4
See Also
Copyright © Datalogic ADC. All Right Reserved