Software Archive
Read-only legacy content
17061 Discussions

Nerwork Class in Intel SDK

conrad67
Beginner
829 Views

hi fellas,

i was wondering in the network class of can i access the name of the network in which i connnect to? i can get it to log connections and disconnections but i would like the name of the network

thanks

0 Kudos
3 Replies
conrad67
Beginner
829 Views

Hi Mad, many thanks for getting back to me.

I have tried what you have given me, looked throught the guide you told me to look at

ill tell you want i am looking for, see whenever you connect to a wireless network, you will get a pop up saying "Wireless Network Connected" "Connected to NETWORK NAME OF NETWORK", is there anywey you can get that name from the iMSDK?

thanks

conrad

0 Kudos
conrad67
Beginner
829 Views

thanks MAD

i found the class there, thought it would have been in around the network classes

thanks for your help once again

conrad

0 Kudos
conrad67
Beginner
829 Views

Hi MAD, me AGAIN

was trying to acess the SSID, it works from the samples that the iMSDK provide, but i have tried this.

private

void Print802_11Info(string sKey)

{

try

{

Protocol802_11Class my802_11Class = new Protocol802_11Class();

Protocol802_11Instance my802_11Instance = (Protocol802_11Instance)my802_11Class.GetInstance(sKey);

textBox1.Text = my802_11Instance.Ssid.GetValue();

}

catch (Exception ex)

{

textBox1.Text = ex.ToString();

}

}

when i try to call this method but this way

Print802_11Info(null)

i get this error

Intel.Mobile.Base.IntelMobileException: Error in GetInstance of Class
at Intel.Mobile.Network.Protocol802_11Class.GetInstance(String sKey)
at MoviePlayer.NET.MainForm.Print802_11Info(String sKey)

line 700, which is the line that the instance take the sKey parameter

any help please MAD

conrad

0 Kudos
Reply