I am going to guess that this is the correct area for this . I have a devloper in the UK who emialed me this.
On the WAP3 7527S devices we’re experiencing problems reliably enabling and disabling the WLAN radio. We’ve tried using PsionTechlogix::System::Peripherals::SetPowerState(L“PCMCIA Slot0“) and we’ve tried using the PsionTeklogix::WLANEx::WZCInterface::SetPower, and are seeing similar issues with both: we occasionally end up WLAN unusable and the Wireless Manager reporting the device as being unavailable. The situation can be resolved with a warm boot. We’re mainly seeing it when we reboot the device, power the WLAN off then on and then off again (with pauses between each power change) while we are performing our asset detection routines. The problem seems to occur roughly one in every thirty to forty reboot/asset detect cycles.
In an attempt to narrow down the problem we’ve tried repeatedly enabling/disabling the card without any reboots or other software activity, and the problem still seems to occur:
#include "PtxWLANEx.hpp"
using namespace PsionTeklogix::WLANEx;
int _tmain(int argc, _TCHAR* argv[])
{
InterfaceFactory wlanFactory;
WZCInterface* wzcInterface = wlanFactory.CreateWZCInterface();
for (int i = 0; i < 50; i++)
wzcInterface->SetPower(true);
Sleep(30 * 1000); // same with 60 * 1000
wzcInterface->SetPower(false);
Sleep(30 * 1000);
}
wlanFactory.DestroyWZCInterface(wzcInterface);
return 0;
We’ve seen the issue on both of the devices we’re currently testing against, the one from the UK and the one you sent us. See the attached SystemProperties.4657.SystemProperties_A103P032591.txt
Paul Tillinghast
______________________________
Man who says "It cannot be done" should not interrupt man who is doing it.
I had no issues after running for 15 mintues. I see 2 differences between your device and mine. You have a WWAN card and are using a different add-on cab. I will install a GPRS card and install the same add-on on my device and run the test app again.
Paul,
can you have them send their executable - I have been unable to reproduce?
Also have they tried the same application but using the Summit applicant instead of WZC?
Hi Scott,
I haven't used the Summit WLANEx calls, but did try using the wlan card in both WZC and Summit mode while doing our original testing with PsionTekloix::System::Peripherals::SetPowerState with the same results. The build product from the example above caused one of our current test devices to fail, running add on cab 5.1 (J250p) and lined to the wlan dll from Mobile Devices SDK V5.1.
I've added a copy of the compiled test app to this post.
mark
I am unable to run the app on my device.
Do you have an error log in your application to know where it is failing on?
Can you also run the attached app and see if you can get your device to fail.
There will be a checkbox to enable/disable the WLAN radio.
6237.Apps.zip
My apologies in advance if this is obvious, but the test app has no UI - it runs silently. You should see the wlan state being toggled every 30-60 seconds, and task manager/remote process viewer/pps can tell when it has finished. The application itself doesn't fail - it just leaves the wlan in an unusable state.
This is just a minimal demonstration of the problem without any additional code.
Changing the tick field in WLANEx every 10 seconds for 6 minutes left the wlan in an un-usable state - unlike my previous tests the wlan did not become permanently unavailable, but it stopped being able to associate with a wpa/psk access point without any errors being reported by the access point.
Doing the same thing at 30 second intervals for a few minutes repeats the previous results: the wlan becomes un-enablable and Wireless Manager reports it as "Unavailable". If one then forcibly exits the WLANEx application and restarts it the current supplicant is reported as "Unknown" - just like when the wlan is disabled.
The application fails at launch on my device - missing components. Is there a dependency that needs to be included?
Did you try running the application I had attached to see if you can get the radio to fail? With this application I tried enabling and disabling the wlan radio for 5 minutes but could not get it to fail.
Ah, yes: the application will need the PtxSdkWlanExCpp2008.dll and probably the PtxSdkCpp2008.dll from the sdk. I've attached a zip with copies of these.
I tried your wlanex app too - I posted the results in a later comment.
Same result - still not seeing the WLAN fail. I will talk with Paul and determine the next best steps to help resolve your issue.
Update with WLANEx and NoteDG tags