PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

Create WLAN profile (Symbol MC55)

 
 
verenadoll@gmail.com
Guest
Posts: n/a
 
      2nd Apr 2009
Hello NG,

i want to create a wlan profile using vb.net 2008 and windows mobile
6.1

i use the following code:

Private Sub ProfileAnlegen()

1: Try
2: If
Microsoft.WindowsMobile.Status.SystemState.CradlePresent Then Exit Try
3: myWLAN = New Symbol.Fusion.WLAN.WLAN()

4: If fProfilVorhanden("EC", myWLAN) = False Then
5: myProfilData = New
Symbol.Fusion.WLAN.InfrastructureProfileData("EC", "SSID")
6: myProfilData.PowerMode =
Symbol.Fusion.WLAN.PowerMode.FAST_POWER_SAVE
7: myProfilData.TransmissionPower =
Symbol.Fusion.WLAN.InfrastructureProfileData.TransmitPowerLevel.BSS_AUTO
8: myProfilData.IPSettings.AddressingMode =
Symbol.Fusion.WLAN.IPSettings.AddressingModes.DHCP
9: myProfilData.SecurityType =
Symbol.Fusion.WLAN.WLANSecurityType.SECURITY_LEGACY
10: myProfilData.Authentication.AuthenticationType =
Symbol.Fusion.WLAN.Authentication.AuthenticationTypes.NONE
11: myProfilData.Encryption.EncryptionType =
Symbol.Fusion.WLAN.Encryption.EncryptionTypes.NONE
12: myWLAN.Profiles.CreateInfrastructureProfile
(myProfilData)
13: Else
14: MsgBox("EC vorhanden")
15: End If

16: myWLAN.Dispose()
17: Catch ex As Exception
18: MsgBox("ProfileAnlegen Zeile: " & Err.Erl & vbCrLf &
ex.Message)
19: End Try
End Sub


but if i execute line 12 " myWLAN.Profiles.CreateInfrastructureProfile
(myProfilData)" my application hangs. after reboot the mc55, i noticed
that the profil was created and works correctly.

Why does the CreateInfrastructureProfile command does not works?

Regards, Verena
 
Reply With Quote
 
 
 
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      2nd Apr 2009
This is a very Symbol-specific question. You might try asking their support
group.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

<(E-Mail Removed)> wrote in message
news:75940654-2e4d-44e0-80c3-(E-Mail Removed)...
> Hello NG,
>
> i want to create a wlan profile using vb.net 2008 and windows mobile
> 6.1
>
> i use the following code:
>
> Private Sub ProfileAnlegen()
>
> 1: Try
> 2: If
> Microsoft.WindowsMobile.Status.SystemState.CradlePresent Then Exit Try
> 3: myWLAN = New Symbol.Fusion.WLAN.WLAN()
>
> 4: If fProfilVorhanden("EC", myWLAN) = False Then
> 5: myProfilData = New
> Symbol.Fusion.WLAN.InfrastructureProfileData("EC", "SSID")
> 6: myProfilData.PowerMode =
> Symbol.Fusion.WLAN.PowerMode.FAST_POWER_SAVE
> 7: myProfilData.TransmissionPower =
> Symbol.Fusion.WLAN.InfrastructureProfileData.TransmitPowerLevel.BSS_AUTO
> 8: myProfilData.IPSettings.AddressingMode =
> Symbol.Fusion.WLAN.IPSettings.AddressingModes.DHCP
> 9: myProfilData.SecurityType =
> Symbol.Fusion.WLAN.WLANSecurityType.SECURITY_LEGACY
> 10: myProfilData.Authentication.AuthenticationType =
> Symbol.Fusion.WLAN.Authentication.AuthenticationTypes.NONE
> 11: myProfilData.Encryption.EncryptionType =
> Symbol.Fusion.WLAN.Encryption.EncryptionTypes.NONE
> 12: myWLAN.Profiles.CreateInfrastructureProfile
> (myProfilData)
> 13: Else
> 14: MsgBox("EC vorhanden")
> 15: End If
>
> 16: myWLAN.Dispose()
> 17: Catch ex As Exception
> 18: MsgBox("ProfileAnlegen Zeile: " & Err.Erl & vbCrLf &
> ex.Message)
> 19: End Try
> End Sub
>
>
> but if i execute line 12 " myWLAN.Profiles.CreateInfrastructureProfile
> (myProfilData)" my application hangs. after reboot the mc55, i noticed
> that the profil was created and works correctly.
>
> Why does the CreateInfrastructureProfile command does not works?
>
> Regards, Verena



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vibration alert mc55 symbol шура скотобаза Microsoft Dot NET Compact Framework 1 19th Oct 2010 11:34 AM
Home WLAN & Internet WLAN simultaneously jkforde Windows XP Networking 4 27th Jun 2008 01:03 AM
create a symbol? =?Utf-8?B?UHJvbmV0?= Microsoft Word New Users 5 23rd Nov 2007 12:49 AM
Create New Symbol copied from another Symbol msp011581@hotmail.com Microsoft Word Document Management 3 6th Apr 2006 05:07 PM
LAN, DMZ, WLAN, RRAS and VPN create Routing issue P. Prisack Microsoft Windows 2000 RAS Routing 1 4th Aug 2004 02:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:38 AM.