Discussion Groups

Check status WiFi in EP10

This question is not answered

Hi,

I need check status of WiFi in EP10. I am using VS 2008  but i don´t know how to do.

Please Help!!!!  :(

Thanks

All Replies
  • will this post help?

    Americas Help Desk

       

    This posting is provided "AS IS". No Warranty. No Guarantee. Maybe updated or changed without notice at any time. You can use the information provided at your own risk.

  • Excuse me?

    I need send data to database only when there is signal WiFi.

    For this I need to validate the signal.

  • Additionally to Luke recommendation, let me bring to your attention that the .NET WlanEx demo that comes with our Mobile Devices SDK illustrates how to retrieve the RSSI info

    E.g.

    private void statsRefreshControl_Click(object sender, EventArgs e)
     {
         statsControl.Items.Clear();
         NdisInterface.ConnectionStatistics stats;
         try
         {
          stats = supplicant.GetConnectionStatistics();
         }
        catch
        {
          statsControl.Items.Add("Not Available");
          return;
        }
        if (stats.ConnectState == NdisInterface.MediaState.disconnected)
        {
          statsControl.Items.Add("Disconnected");
          return;
        }
        // ok, we've got something to report
        statsControl.Items.Add("RSSI: " + stats.Rssi);
        statsControl.Items.Add("Packets In: " + stats.PacketsIn);
        statsControl.Items.Add("Packets Out: " + stats.PacketsOut);
        uint errors = stats.InErrors + stats.OutErrors;
        statsControl.Items.Add("Errors: " + errors);
        // add more stats here if you like...
    }

    Regards,
    Jacques