Phrak
10th June 2008, 04:43 AM
Ladies and Gents,
I'd like to try and understand a bit more about how the RIL handles Cell Tower IDs in Windows Mobile.
I have two WinMo 6.1 phones, 1 HP iPaq RW6828 (O2 Atom rebadge) and 1 HTC S710 (Vox) Smartphone.
The iPaq is using WM6.1 OS 5.2.19400 build 19400 from NHOCBANME (http://forum.xda-developers.com/showthread.php?t=389743)
The S710 is using WM6.1 Standard 5.2.19195 build 19202 from Dr Martin Gonzo (http://forum.xda-developers.com/showthread.php?t=384129)
The S710 fully supports both the Google Maps "My Location" feature and PhoneAlarm's Location-based profile switching, but the Atom does not support either.
I've partially figured out some of the the details to recognise the Cell IDs - I've managed to get PhoneAlarm to log the Cell Tower IDs and facilitate Location-based switching (yay!).
However it came at the cost of disabling all GSM Data connections. It would attempt a connection but then time-out after a few minutes without connecting.
So here's what I've been looking at:
MSDN: Radio Interface Layer (http://msdn.microsoft.com/en-us/library/aa920475.aspx)
Particularly:
RIL Registry Settings (http://msdn.microsoft.com/en-us/library/aa919118.aspx)
Specifically the "Packet" value:
The HKEY_LOCAL_MACHINE\Comm\Cellular\RIL registry key configures the connection mode and number of concurrent connections used by Radio Interface Layer. The following table shows the named values.
Value:
Packet : REG_DWORD
Description:
Specifies the connection mode used by GPRS connections. When set to 0, a RAS-based connection is used. When set to a value greater than or equal to 1, NDIS GPRS is used.
By default, this registry key does not exist. To enable RIL NDIS packet APIs, this registry key must be [created manually or] added to Cellcore.reg.
By default in the iPaq the Packet key does not exist and the Contexts value is set to 2.
By comparison, the S710 has the Packet value set to 1 and Contexts set to 3.
Creating a Packet key and setting the value to 1 allows the PhoneAlarm location log to successfully log the Cell Tower IDs, however (as previously mentioned) the GPRS data connection fails to connect.
Setting the Packet value to 0 re-enables the data connection but disables the Cell Tower logging.
Chaning the iPaq Contexts value to 3 to match the S710 makes no difference either.
Does anyone have any further thoughts that may help get both Cell tower IDs and GPRS working together?
Many thanks :)
Tim
I'd like to try and understand a bit more about how the RIL handles Cell Tower IDs in Windows Mobile.
I have two WinMo 6.1 phones, 1 HP iPaq RW6828 (O2 Atom rebadge) and 1 HTC S710 (Vox) Smartphone.
The iPaq is using WM6.1 OS 5.2.19400 build 19400 from NHOCBANME (http://forum.xda-developers.com/showthread.php?t=389743)
The S710 is using WM6.1 Standard 5.2.19195 build 19202 from Dr Martin Gonzo (http://forum.xda-developers.com/showthread.php?t=384129)
The S710 fully supports both the Google Maps "My Location" feature and PhoneAlarm's Location-based profile switching, but the Atom does not support either.
I've partially figured out some of the the details to recognise the Cell IDs - I've managed to get PhoneAlarm to log the Cell Tower IDs and facilitate Location-based switching (yay!).
However it came at the cost of disabling all GSM Data connections. It would attempt a connection but then time-out after a few minutes without connecting.
So here's what I've been looking at:
MSDN: Radio Interface Layer (http://msdn.microsoft.com/en-us/library/aa920475.aspx)
Particularly:
RIL Registry Settings (http://msdn.microsoft.com/en-us/library/aa919118.aspx)
Specifically the "Packet" value:
The HKEY_LOCAL_MACHINE\Comm\Cellular\RIL registry key configures the connection mode and number of concurrent connections used by Radio Interface Layer. The following table shows the named values.
Value:
Packet : REG_DWORD
Description:
Specifies the connection mode used by GPRS connections. When set to 0, a RAS-based connection is used. When set to a value greater than or equal to 1, NDIS GPRS is used.
By default, this registry key does not exist. To enable RIL NDIS packet APIs, this registry key must be [created manually or] added to Cellcore.reg.
By default in the iPaq the Packet key does not exist and the Contexts value is set to 2.
By comparison, the S710 has the Packet value set to 1 and Contexts set to 3.
Creating a Packet key and setting the value to 1 allows the PhoneAlarm location log to successfully log the Cell Tower IDs, however (as previously mentioned) the GPRS data connection fails to connect.
Setting the Packet value to 0 re-enables the data connection but disables the Cell Tower logging.
Chaning the iPaq Contexts value to 3 to match the S710 makes no difference either.
Does anyone have any further thoughts that may help get both Cell tower IDs and GPRS working together?
Many thanks :)
Tim