MC35 Notification Queue to wake up the PDA

// Expert user has replied.
C Charles Malm 3 years 7 months ago
1 3 0

They are sending me sample apps so we can reproduce it and I've opened a case. They use the Notification Queue to wake up the PDA for events (like take and send GPS).

If something is scheduled to wake up for example at 12:00:01 and the MC35 suspends 1 second before that (12:00:00), then the notification queue will never be processed.

It will not process anything even if you wait a period of time until you manually turn on the unit via the power button. Once you hit the power button, the notification queue will continue to process the calls.

Please Register or Login to post a reply

3 Replies

P Patrick Kennedy

Charles,           My team does not support the MC35.

C Charles Malm

my mistake, i've forwarded this to the appropriate party

C Charles Malm

Brian, attached is the test project to duplicate the notification queue problem that we discussed on Friday in which the notification queue appears to be "stuck" when a suspend event occurs at the same time a notification event is scheduled for. I wrote the test program to give you a "good" scenario and a "stuck" one. To run correctly the PDA must be on battery and set to suspend at 1 minute. In the good scenario 3 events are scheduled at 70 seconds, 140 seconds and 210 seconds from the time the button is pushed. Make sure you do not do anything or have anything that would wake the PDA up besides the events that have been scheduled. At 1 minute after the button is pushed, the PDA suspends and 10 seconds later turns back on because the first event pops. After another minute, the PDA suspends again and turns back on 10 seconds later. Finally, after another minute it suspends again and is woken up again 10 seconds later. This is detailed in the log below.

11/10/08 1:12:37 PM - ** Start Good **

11/10/08 1:12:37 PM - PwrTestEvent 1 = 1:13:47 PM

11/10/08 1:12:37 PM - PwrTestEvent 2 = 1:14:57 PM

11/10/08 1:12:37 PM - PwrTestEvent 3 = 1:16:07 PM

11/10/08 1:13:37 PM - TRANSITION - UNATTENDED

11/10/08 1:13:48 PM - TRANSITION - SUSPEND

11/10/08 1:13:48 PM - TRANSITION - PASSWORD

11/10/08 1:13:48 PM - RESUME -

11/10/08 1:13:48 PM - PwrTestEvent 1

11/10/08 1:13:48 PM - TRANSITION - ON PASSWORD

11/10/08 1:14:48 PM - TRANSITION - UNATTENDED

11/10/08 1:14:58 PM - TRANSITION - SUSPEND

11/10/08 1:14:58 PM - TRANSITION - PASSWORD

11/10/08 1:14:58 PM - RESUME -

11/10/08 1:14:58 PM - PwrTestEvent 2

11/10/08 1:14:58 PM - TRANSITION - ON PASSWORD

11/10/08 1:15:58 PM - TRANSITION - UNATTENDED

11/10/08 1:16:08 PM - TRANSITION - SUSPEND

11/10/08 1:16:08 PM - TRANSITION - PASSWORD

11/10/08 1:16:08 PM - RESUME -

11/10/08 1:16:08 PM - PwrTestEvent 3

11/10/08 1:16:08 PM - TRANSITION - ON PASSWORD

The "stuck" scenario is the same except that the first timer is set to pop at 61 seconds which will put it in the middle of the suspend. In this case the PDA goes to sleep at 1:09:11 and does not wake up again until I hit the power button at 1:12:17. At that point all three events basically fire at the same time since their start time has already come and gone. See the log below.

11/10/08 1:08:11 PM - ** Start Bad **

11/10/08 1:08:11 PM - PwrTestEvent 1 = 1:09:12 PM

11/10/08 1:08:11 PM - PwrTestEvent 2 = 1:10:31 PM

11/10/08 1:08:11 PM - PwrTestEvent 3 = 1:11:41 PM

11/10/08 1:08:25 PM - POWERINFOCHANGE -

11/10/08 1:09:11 PM - TRANSITION - UNATTENDED

11/10/08 1:12:17 PM - PwrTestEvent 1

11/10/08 1:12:17 PM - TRANSITION - SUSPEND

11/10/08 1:12:17 PM - PwrTestEvent 2

11/10/08 1:12:18 PM - TRANSITION - PASSWORD

11/10/08 1:12:18 PM - PwrTestEvent 3

11/10/08 1:12:18 PM - RESUME -

11/10/08 1:12:18 PM - TRANSITION - ON PASSWORD

11/10/08 1:12:18 PM - TRANSITION - ON PASSWORD

11/10/08 1:12:18 PM - TRANSITION - ON PASSWORD

11/10/08 1:12:18 PM - TRANSITION - ON PASSWORD

11/10/08 1:12:22 PM - POWERINFOCHANGE -

 

I have tested this on two different MC35's, one running L06 and the other L10 and the behavior is the same. I tested it on the MC70 and it does not exhibit this problem. I apologize that the code in the test project is a little haphazard but I pieced it together from SecuureTrax via cut and paste (why reinvent the wheel). Let me know if you need anything else from me. This problem has been around since we started using the MC35 but I was not able to figure out the reason until I put in all the debugging information for the services.exe problem (silver lining I guess).

CONTACT
Can’t find what you’re looking for?