|
Wireless won't start after soft reboot
I have come accross a particular problem which is causing many headaches and hopefully someone has already come accross this problem and knows how to resolve it.
I have written up a User application for Dell Axims X51 which requires a wireless interface. I presently use the OdesseyClient that comes with the Dell Axim to manage the wireless connection.
My problem comes when my application calls a softreboot. Once the Dell Axim restarts there is know way to bring up the wireless interface unless I press the top power button to shutdown the PDA and then repressing it to bring the PDA back up. Oddly enough if I manually press the reboot button behind the PDA this phenomenon does not occur.
When calling the softreboot from within my application I've tried both known methods of either calling.
KernelIoControl(CTL_CODE(FILE_DEVICE_HAL, 15, METHOD_BUFFERED, FILE_ANY_ACCESS), NULL, 0, NULL, 0, NULL);
or
SetSystemPowerState(NULL,POWER_STATE_RESET,0);
To turn the wireless interface back on I go to the WLAN utility and try to TurnON the wireless but it simply shoes that multicolored beach ball for a while and then nothing happens no wireless interface. If I press the power button to shut down the PDA, wait say 2 seconds, then repress the power button then everything is fully functionnal.
In the event where I would like to not have the user press the power button I would like to know if anyone has come accross this problem and if so how they might have solved this.
thanks!!
|