Problem with Wifi Connection

Topics: User Forum
Jan 29, 2007 at 12:04 AM
Hi all, i'm adapting the updater agent on a personal project, but i'm having problems with it on my pda (its a qtek S200 with phone, bluetooth and Wifi)...

If i start wifi on my pda the updater agent dont start!, if i disable wifi connection the updater agent works fine :(

this is the updater agent's app.config:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="UpdaterConfiguration" type="Q4Tech.Engineering.UpdaterAgent.Configuration.UpdaterConfigurationSection, UpdaterAgent" />
<section name="Connections" type="Microsoft.Practices.Mobile.ConnectionMonitor.Configuration.ConnectionSettingsSection, Microsoft.Practices.Mobile.ConnectionMonitor" />
</configSections>

<Connections>
<ConnectionItems>
<add Type="CellConnection" Price="4"/>
<add Type="NicConnection" Price="2"/>
<add Type="DesktopConnection" Price="1"/>
</ConnectionItems>
</Connections>

<UpdaterConfiguration defaultDownloader="HTTPDownloader" deviceIdProvider="HardDeviceIdProvider" manifestListUri="http://ip/SampleWebService/Service.asmx" >
<deviceIdProviders>
<add name="HardDeviceIdProvider" type="Q4Tech.Engineering.UpdaterAgent.DeviceIdProvider.HardDeviceIdProvider, UpdaterAgent" />
<add name="ConfigDeviceIdProvider" type="Q4Tech.Engineering.UpdaterAgent.DeviceIdProvider.ConfigDeviceIdProvider, UpdaterAgent"/>
</deviceIdProviders>
<downloaders>
<add name="HTTPDownloader" type="Microsoft.ApplicationBlocks.Mobile.Updater.Downloaders.HTTPDownloader, Microsoft.ApplicationBlocks.Mobile.Updater" />
</downloaders>
</UpdaterConfiguration>
</configuration>

Any idea why it fails?
Regards.
J.M.Villagrá
Jan 29, 2007 at 10:48 AM
Hi all... i have resolved the problem... i've changed the app.config connections section to this:

<Connections>
<ConnectionItems>
<add Type="CellConnection" Price="2"/>
<add Type="DesktopConnection" Price="1"/>
</ConnectionItems>
</Connections>

And all (wifi connection included) is working with this configuration.... O_O :)

Thanks.