Hi,
I'm trying to enable GPS in the registry of my iKon (Win Mobile 6.1 Classic).
After enabling the following settings
1. "HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GPSUART\
GpsEnabled dword 1
GpsSuspendMode dword 1
The changes are not saved and the iKon defaults back to "dword 0" for both settings.
Only when GPS is enable using the "GPS Settings" icon in system settings does it work.
Any assistance would be greatly appreciated.
Kind Regards,
Danny
Good morning Dany,
May I recommend using our Mobile Devices SDK to achieve this?
E.g.
C++ API
Kind regards,Jacques
PS: In case you have not yet seen it, let me bring the below post to your attention:Discussions » Developer - Windows CE/WM/Embedded » Disable GPS on a IKON
Hi Jacques,
I'm attempting to change the setting using a generic Cab file.
Is the SDK the only way forward?
Danny,
You could use XML provisioning files to achieve this.
For example:
· The below XML script / provisioning file will set the GPS Power state to On, and off in supend
<wap-provisioningdoc> <characteristic type="Registry"> <characteristic type="HKLM\Drivers\BuiltIn\GPSUART"> <parm name="GpsSuspendMode" value="0" datatype="integer"/> <parm name="GpsEnabled" value="1" datatype="integer"/> </characteristic> </characteristic></wap-provisioningdoc>
· The below XML script / provisioning file will set the GPS Power state to Always On
<wap-provisioningdoc> <characteristic type="Registry"> <characteristic type="HKLM\Drivers\BuiltIn\GPSUART"> <parm name="GpsSuspendMode" value="1" datatype="integer"/> <parm name="GpsEnabled" value="1" datatype="integer"/> </characteristic> </characteristic></wap-provisioningdoc>
· The below XML script / provisioning file will set the GPS Power state to On, and low power in suspend
<wap-provisioningdoc> <characteristic type="Registry"> <characteristic type="HKLM\Drivers\BuiltIn\GPSUART"> <parm name="GpsSuspendMode" value="2" datatype="integer"/> <parm name="GpsEnabled" value="1" datatype="integer"/> </characteristic> </characteristic></wap-provisioningdoc>
--
This said, you will need a program to load the XML provisioning file and configure the device.
For example, the MSDN Magazine > Issues > 2008 > April > Going Places: Provisioning Mobile Devices article illustrates how to achieve this.
In case it inspires you, I am attaching to this note a Visual Studio 2008 C# project along with a copy of the above XML files.
Hello Danny,
you should be able to make those registry settings, however, the terminal needs to be warm reset before the changes take affect.
Hi Jacques/Scott,
Thanks for your help in relation to this. Your assistance was much appreciated.
regards,
No problem. Glad we could help.
Added GPS, CodeDG for MDSDK documentation
Is there any Cab file avaialble to Keep the GPS ON while EP10 is in suspend mode. Customer is looking for contineous GPS polling while EP10 seceen is switched OFF. EP10 is on OS build 3.2.