3 Replies Latest reply on Jul 8, 2016 6:46 AM by Daniel Silva

    Fusion - Scan APs Utility

    Joshua Jacques

      Looking to see if anyone possibly has a utility created, non gui, that has an option to scan for APs?

      I would like to capture the return code of this, and assuming zero is success, otherwise whatever the failure code may be.

       

      Mind you, I have really no development experience, so maybe something like mentioned above is already created, otherwise if someone has a quick how-to get started and where to look.

       

      I have downloaded the EMDK for C, but am failing to really understand how and where to start.

       

      Thanks for your input.

        • Re: Fusion - Scan APs Utility
          Daniel Silva

          Can you explain a little more what you are trying to do?  Are you looking to see which APs are in range for some kind of locationing reason,  or something else?

           

          Also would help to know what device and OS you are using.

            • Re: Fusion - Scan APs Utility
              Joshua Jacques

              Dan,

              You bring up a good point, maybe what I am asking could be handled in a little different manner.

               

              We are using MC67NA Base devices running WEHH 6.5.

               

              There are a number of these devices that are coming back from the field with some sort of wifi radio issues, and even after loading the OS again, the issues still persist.  What I mean by radio issues, is the device won't connect to wifi, and even further when we got into the Fusion Wireless Configuration Editor and click on "Find WLANs", an immediate error is returned SetScan Failed (0xC0010011).  If we encounter this error, we are immediately sending them into Zebra for repair.

               

              Right now I am using SymScript to do some basic checking of the device, with user interaction mind you, but it's a guided process, and right now to check for that error I am running "\Windows\WCConfigEd.exe" "/INITIAL:FIND", but ideally I would like to just have this checked without a user having to confirm whether there is an issue or not.

               

              Thoughts?

                • Re: Fusion - Scan APs Utility
                  Daniel Silva

                  Using the EMDK for .Net,  you can try to open Fusion and enumerate which SSIDs the radio can see.  Something like below

                   

                              WLAN myWlan = null;

                              try

                              {

                                  myWlan = new WLAN(FusionAccessType.STATISTICS_MODE);

                                  alSSIDs = myWlan.Adapters[0].GetSSIDs();

                                 // put some code here that you want to run on success

                              }

                              catch (Exception ex)

                              {

                                 // put some code here that you want to run if it fails

                                 }

                                  if (myWlan != null)

                                  {

                                      myWlan.Dispose();

                                  }