Datalogic .NET SDK

SetGlobalSettings (Method)

 

Syntax

 

public static void SetGlobalSettings(WiFiGlobalSettings wifiGlobalSettings)

 

 

Class                           : WiFi

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

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

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);

            }

 

 

Remarks

Supported devices: Skorpio X4, Falcon X4

 

See Also

WiFi (Class), Example #43.

 

 

Copyright © Datalogic ADC. All Right Reserved