PC Review


Reply
Thread Tools Rate Thread

disabling/re-enabling GPRS

 
 
Serge Wautier
Guest
Posts: n/a
 
      12th Jan 2009
Env.: WM6 VS2008

Hi All,

My app performs periodical background HTTP connection through GPRS.
Testers noticed that sometimes, their GPRS connection no longer works. No
only in my app but also in Pocket IE. They also noticed that if they go to
the Wireless Manager, disable GPRS, then re-enable it, it works again. I
just encountered the problem and the workaround indeed works.
Now they ask me to have a button in the app to do the same operation from
the app.

Any idea how to do that?

TIA for any lights,

Serge.

 
Reply With Quote
 
 
 
 
Alberto Silva - Microsoft MVP - Device Application
Guest
Posts: n/a
 
      12th Jan 2009
Hi,
Which device are you targeting? It seems to have some problems in the GPRS
implementation, since that behavior is not usual in most popular Windows
Mobile devices.

To turn on and off GPRS we need to know in advance which operating system
version the device has. If it is Windows CE you probably will have to look
at the device SDK to achieve it.

--

Alberto Silva
www.moving2u.pt - R&D Manager
http://msmvps.com/AlbertoSilva - Blog
Microsoft MVP - Device Application Development

"Serge Wautier" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Env.: WM6 VS2008
>
> Hi All,
>
> My app performs periodical background HTTP connection through GPRS.
> Testers noticed that sometimes, their GPRS connection no longer works. No
> only in my app but also in Pocket IE. They also noticed that if they go to
> the Wireless Manager, disable GPRS, then re-enable it, it works again. I
> just encountered the problem and the workaround indeed works.
> Now they ask me to have a button in the app to do the same operation from
> the app.
>
> Any idea how to do that?
>
> TIA for any lights,
>
> Serge.


 
Reply With Quote
 
Serge Wautier
Guest
Posts: n/a
 
      12th Jan 2009
Alberto,

Thanks for your reply. Glad to read this is unusual behaviour!

The devices are Psion Workabout Pro with WM6 (About box says OS 5.2.318
Build 15342.0.0.0)
The GPRS connection uses a private APN.

I confess I'm about to tell the client to contact their Psion distributor.
But if there's a fairly reasonable programmatic solution, it would certainly
be helpful to the customer.

TIA,

Serge.

"Alberto Silva - Microsoft MVP - Device Application Development"
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
> Which device are you targeting? It seems to have some problems in the GPRS
> implementation, since that behavior is not usual in most popular Windows
> Mobile devices.
>
> To turn on and off GPRS we need to know in advance which operating system
> version the device has. If it is Windows CE you probably will have to look
> at the device SDK to achieve it.
>
> --
>
> Alberto Silva
> www.moving2u.pt - R&D Manager
> http://msmvps.com/AlbertoSilva - Blog
> Microsoft MVP - Device Application Development
>
> "Serge Wautier" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Env.: WM6 VS2008
>>
>> Hi All,
>>
>> My app performs periodical background HTTP connection through GPRS.
>> Testers noticed that sometimes, their GPRS connection no longer works. No
>> only in my app but also in Pocket IE. They also noticed that if they go
>> to the Wireless Manager, disable GPRS, then re-enable it, it works again.
>> I just encountered the problem and the workaround indeed works.
>> Now they ask me to have a button in the app to do the same operation from
>> the app.
>>
>> Any idea how to do that?
>>
>> TIA for any lights,
>>
>> Serge.

>


 
Reply With Quote
 
Alberto Silva - Microsoft MVP - Device Application
Guest
Posts: n/a
 
      12th Jan 2009
Hi,
As I told, it seems a defective GPRS implementation by Psion, which I have
found previously on other manufacturers devices, which all share the fact of
having the same device with Windows CE or Windows Mobile.

Psion usually has SDKs for their devices, you should login in their
'Technet' and find out if the SDK for that specific device allows you to
connect and disconnect GPRS. Check also if you are running the latest
firmware for that specific device and try to contact someone at Psion.

Other than that, I wouldn't suggest you to try to switch GPRS on and off,
since in 'well behaved' devices, the Connection Manager is able to take care
of it.

--

Alberto Silva
www.moving2u.pt - R&D Manager
http://msmvps.com/AlbertoSilva - Blog
Microsoft MVP - Device Application Development

"Serge Wautier" <(E-Mail Removed)> wrote in message
news:O$(E-Mail Removed)...
> Alberto,
>
> Thanks for your reply. Glad to read this is unusual behaviour!
>
> The devices are Psion Workabout Pro with WM6 (About box says OS 5.2.318
> Build 15342.0.0.0)
> The GPRS connection uses a private APN.
>
> I confess I'm about to tell the client to contact their Psion distributor.
> But if there's a fairly reasonable programmatic solution, it would
> certainly be helpful to the customer.
>
> TIA,
>
> Serge.
>
> "Alberto Silva - Microsoft MVP - Device Application Development"
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi,
>> Which device are you targeting? It seems to have some problems in the
>> GPRS implementation, since that behavior is not usual in most popular
>> Windows Mobile devices.
>>
>> To turn on and off GPRS we need to know in advance which operating system
>> version the device has. If it is Windows CE you probably will have to
>> look at the device SDK to achieve it.
>>
>> --
>>
>> Alberto Silva
>> www.moving2u.pt - R&D Manager
>> http://msmvps.com/AlbertoSilva - Blog
>> Microsoft MVP - Device Application Development
>>
>> "Serge Wautier" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Env.: WM6 VS2008
>>>
>>> Hi All,
>>>
>>> My app performs periodical background HTTP connection through GPRS.
>>> Testers noticed that sometimes, their GPRS connection no longer works.
>>> No only in my app but also in Pocket IE. They also noticed that if they
>>> go to the Wireless Manager, disable GPRS, then re-enable it, it works
>>> again. I just encountered the problem and the workaround indeed works.
>>> Now they ask me to have a button in the app to do the same operation
>>> from the app.
>>>
>>> Any idea how to do that?
>>>
>>> TIA for any lights,
>>>
>>> Serge.

>>

>

 
Reply With Quote
 
Simon Hart [MVP]
Guest
Posts: n/a
 
      12th Jan 2009
As with most radio related things, TAPI is required to turn GPRS on or off.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://www.simonrhart.com


"Serge Wautier" wrote:

> Alberto,
>
> Thanks for your reply. Glad to read this is unusual behaviour!
>
> The devices are Psion Workabout Pro with WM6 (About box says OS 5.2.318
> Build 15342.0.0.0)
> The GPRS connection uses a private APN.
>
> I confess I'm about to tell the client to contact their Psion distributor.
> But if there's a fairly reasonable programmatic solution, it would certainly
> be helpful to the customer.
>
> TIA,
>
> Serge.
>
> "Alberto Silva - Microsoft MVP - Device Application Development"
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi,
> > Which device are you targeting? It seems to have some problems in the GPRS
> > implementation, since that behavior is not usual in most popular Windows
> > Mobile devices.
> >
> > To turn on and off GPRS we need to know in advance which operating system
> > version the device has. If it is Windows CE you probably will have to look
> > at the device SDK to achieve it.
> >
> > --
> >
> > Alberto Silva
> > www.moving2u.pt - R&D Manager
> > http://msmvps.com/AlbertoSilva - Blog
> > Microsoft MVP - Device Application Development
> >
> > "Serge Wautier" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >> Env.: WM6 VS2008
> >>
> >> Hi All,
> >>
> >> My app performs periodical background HTTP connection through GPRS.
> >> Testers noticed that sometimes, their GPRS connection no longer works. No
> >> only in my app but also in Pocket IE. They also noticed that if they go
> >> to the Wireless Manager, disable GPRS, then re-enable it, it works again.
> >> I just encountered the problem and the workaround indeed works.
> >> Now they ask me to have a button in the app to do the same operation from
> >> the app.
> >>
> >> Any idea how to do that?
> >>
> >> TIA for any lights,
> >>
> >> Serge.

> >

>
>

 
Reply With Quote
 
Trevor
Guest
Posts: n/a
 
      21st Jan 2009

"Serge Wautier" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Env.: WM6 VS2008
>
> Hi All,
>
> My app performs periodical background HTTP connection through GPRS.
> Testers noticed that sometimes, their GPRS connection no longer works. No
> only in my app but also in Pocket IE. They also noticed that if they go to
> the Wireless Manager, disable GPRS, then re-enable it, it works again. I
> just encountered the problem and the workaround indeed works.
> Now they ask me to have a button in the app to do the same operation from
> the app.
>
> Any idea how to do that?
>
> TIA for any lights,
>
> Serge.


PInvoke the TAPI function lineSetEquipmentState.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling Notification for GPRS Connection =?Utf-8?B?TXVydGh5?= Microsoft Dot NET Compact Framework 1 15th Jul 2007 12:07 PM
Enabling/Disabling Macros Kevin Microsoft Excel Discussion 3 16th Nov 2005 11:47 PM
Enabling and disabling for limited a/c =?Utf-8?B?Z3Vueg==?= Windows XP Networking 2 13th Nov 2005 07:30 AM
Enabling/Disabling Checkboxes =?Utf-8?B?TWFyayBTaGVwcGFyZA==?= Microsoft Access Forms 1 9th Aug 2005 03:50 AM
enabling/ disabling hyperlinks =?Utf-8?B?amVycnltb3VzZQ==?= Microsoft Word Document Management 2 23rd Jul 2005 05:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:33 PM.