Link to home
Create AccountLog in
Microsoft Development

Microsoft Development

--

Questions

--

Followers

Top Experts

Avatar of RamzyNEbeid
RamzyNEbeid🇪🇬

Symbol.Fusion.dll wrong version
Dear all

I started my mobile development on Motorola MC70 & MC75.
Using VS2008 C# and Enterprise Mobility Developer Kit for .NET version 2.6
i am using this DLL Symbol.Fusion.dll to connect to WLAN dll version is 2.6.0.3

WLAN myCommandModeWlan = null;
myCommandModeWlan = new WLAN(FusionAccessType.COMMAND_MODE);

i am facing this error: "No compatible FusionInterface dll found. Expected version is 4.3.0.2 or higher version having the format 4.x.x.x"

please i need your advice it is so urgent.

- i want to Enable/Disable WLAN
- i want to Connect to specific access Point

thanks,

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


SOLUTION
Avatar of hjgodehjgode🇩🇪

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of RamzyNEbeidRamzyNEbeid🇪🇬

ASKER

i dont know if there is any fusion installed?

tell me how to know that.

also this version of DLL will also work with MC70?

ASKER CERTIFIED SOLUTION
Avatar of hjgodehjgode🇩🇪

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of RamzyNEbeidRamzyNEbeid🇪🇬

ASKER

MC70 & MC75 only

Avatar of hjgodehjgode🇩🇪

Uuuups

Then go on and use the WM65 download.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of RamzyNEbeidRamzyNEbeid🇪🇬

ASKER


Avatar of RamzyNEbeidRamzyNEbeid🇪🇬

ASKER

i think it is fixed and working now after installing the Fusion "Fusion v3.00.2.0.008R for WM6.1 and WM6.5 "

but sometimes i get this error:

WLAN myCommandModeWlan = null;
myCommandModeWlan = new WLAN(FusionAccessType.COMMAND_MODE);

FusionInterfaceOpenEx failed : Too many applications running in Command mode

please help

SOLUTION
Avatar of hjgodehjgode🇩🇪

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of RamzyNEbeidRamzyNEbeid🇪🇬

ASKER

using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Symbol.Fusion;
using Symbol.Fusion.WLAN;
using Symbol.Exceptions;


namespace RamzyMobile
{
    class WIFIRadio
    {
        WLAN myCommandModeWlan = null;
        Config myConfig = null;
        public WIFIRadio()
        {
           try
            {
                myCommandModeWlan = new WLAN(FusionAccessType.COMMAND_MODE);
                //create a reference to Config
                myConfig = new Config(FusionAccessType.COMMAND_MODE);
            }
            catch (OperationFailureException ex)
            {
                System.Windows.Forms.MessageBox.Show("Command mode is in use", "WiFiMgr");
            }
        }
        ~WIFIRadio()
        {
            myCommandModeWlan.Dispose();
            myCommandModeWlan = null;
        }
        public void ToggleWiFi(bool enableWiFi)
        {
            try
            {
                if (myCommandModeWlan != null)
                {
                    if (enableWiFi)
                    {
                        myCommandModeWlan.Adapters[0].PowerState = Adapter.PowerStates.ON;
                    }
                    else
                    {
                        myCommandModeWlan.Adapters[0].PowerState = Adapter.PowerStates.OFF;
                    }
                }

            }
            catch (OperationFailureException ex)
            {
                System.Windows.Forms.MessageBox.Show("Command mode is in use", "WiFiMgr");
            }
        }
        public bool GetCurrentStatus()
        {
            if (myCommandModeWlan != null)
            {
                if (myCommandModeWlan.Adapters[0].PowerState == Adapter.PowerStates.ON)
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }
            else
            {
                return false;
            }
        }
        public void ConnectToProfile(string strProfileName)
        {
            Profile myProfile = GetProfileByID(strProfileName);
            if (myProfile != null)
            {
                myProfile.Enabled = true;
                FusionResults result = myProfile.Connect(true);

                if (result != FusionResults.SUCCESS)
                {
                    //Error
                }
            }
        }
        public Profile GetProfileByID(string profileName)
        {
            Profiles myProfiles = myCommandModeWlan.Profiles;
            //traverse all Profiles
            for (int profileIndex = 0; profileIndex < myProfiles.Length; profileIndex++)
            {
                Profile myProfile = myProfiles[profileIndex];
                if (profileName == myProfile.Name)
                {
                    return myProfile;
                }
            }
            return null;
        }
    }
}

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of RamzyNEbeidRamzyNEbeid🇪🇬

ASKER

also when i traying to connect to specific access Point then
i got this error:
FAPI_FAILURE = Fusion Public API failed in the operation

so pleas advice.

thanks,

Avatar of RamzyNEbeidRamzyNEbeid🇪🇬

ASKER

something else i wrote a code for the GSM adapter
i want you to see it too + i have some questions.

so can i added it here or do you want me to open a new question ?

thanks

Avatar of hjgodehjgode🇩🇪

Hello

you should contact motorola support about your issue with there hardware and software. The code is OK.

I fear here is no one that help with siiues inside motorola software.

Sorry

Josef

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

Microsoft Development

Microsoft Development

--

Questions

--

Followers

Top Experts

Most development for the Microsoft platform is done utilizing the technologies supported by the.NET framework. Other development is done using Visual Basic for Applications (VBA) for programs like Access, Excel, Word and Outlook, with PowerShell for scripting, or with SQL for large databases.