I am trying to obtain the channel number from the WirelessZeroConfigNetworkInterface. I am using OpenNetCF version 2.3. No matter what the channel number being used is the value reported back is always -480. All the other information for the access point looks to be okay. Any ideas?
Thanks, Kirk
Public interfaces() As NetworkInterface = NetworkInterface.GetAllNetworkInterfaces()
Public wzc As WirelessZeroConfigNetworkInterface = Nothing
Public ap As AccessPoint = Nothing
For Each ni As NetworkInterface In interfaces
If TypeOf ni Is WirelessZeroConfigNetworkInterface Then
wzc = ni
If wzc.NearbyAccessPoints.Count > 0 Then
For Each Me.ap In wzc.NearbyAccessPoints
Dim Chan as integer = ap.Channel
(more code)
next
end if
next