3 Replies Latest reply on Nov 3, 2013 6:08 PM by Venkatasubbaiah Chenna

    wlan module of asl.js


      Dear All,


      I noticed that there has wlan function in asl.js as below, I would like to know how to use this function? Where can I find the documents for these?


      var obj = {

              enableAdapter: function() {



              disableAdapter: function() {



              resetToDefault: function() {



              deleteProfile: function() {



              getAdapterPowerState: function() {



              networkLogin: function() {



              networkLogout: function() {



              cancelNetworkLogin: function() {



              addProfile: function() {



              connectProfile: function() {



              importConfig: function() {



             getAllProfiles: function(){



             getCurrentProfile: function(){



             getConnectionState: function(){




                  generic.InvokeMETAFunction('wlan', emml);




      Many Thanks!


        • Re: wlan module of asl.js
          Euan Torano

          I too would like some information on this. Or a link to some API documentation regarding the core APIs. I need to find a way to get the device's IP address and I'm assuming the wlan module will provide that functionality.

          • Re: wlan module of asl.js
            Venkatasubbaiah Chenna

            You can add this code to get the IP address


            // add this line in onload method

            signal.signalEvent = 'signalStatus(%json)';


              function signalStatus(json) {



                        // Retrieve the ip of the terminal                           

                       var ipaddress = json.ipAddress;



                        // Retrieve the mac of the terminal

                        var mac = json.macAddress;



                        //  Retrieve the type of terminal

                        var model = generic.OEMInfo;



                        //  Retrieve the UUID of the terminal

                        var uuid = generic.UUID;