yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] marttin:
I will do exactly this but let me leave it for tomorrow.

The situation is (after 17.30h here) me and the kid (10 y.o.) are cooking for mom now - Valentine Day :D

Cheers :)
[Windows Mobile Apps and Games] danielherrero:
Nice Martin.

Dont forget to do the test I suggested on previous post.

But take a look at this:

2008-02-14 11:16:49 DEBUG. Phone Manager changed to On. The element Phone Manager changed its status from Off to On.

2008-02-14 11:27:23 INFO. Executing begin actions for Home-Day(2). Executing begin actions for place Home and schedule Day(2).

2008-02-14 11:27:23 INFO. Changing Phone Manager to Off state. The element Phone Manager will try to change Its status to Off.

2008-02-14 11:47:47 DEBUG. Phone Manager changed to On. The element Phone Manager changed its status from Off to On.

2008-02-14 11:47:59 INFO. Executing end actions for Home-Day(2). Executing end actions for place Home and schedule Day(2).

So At 11.16 -> unknown profile -> phone on.

At 11.27 -> recongize home?. Maybe you added a wrong cell? or are you using LAC mode?. So phone off.

2008-02-14 11:47:47 -> Phone on. I could be when you power on the device. Please check the option "Awake to execute actions" to ensure that your start/end schedules are executed correctly....

Dani
[Windows Mobile Apps and Games] vietk:
Hi Daniel, I used the new text field for the user agent,

But there's a problem here are the steps :

- set the user agent : Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95/10.0.010; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413

- restart cmp

- go to upload tab

- CMP is freezed and crashes after a few seconds.
[Windows Mobile Apps and Games] danielherrero:
Ops, maybe too long for the assiged buffer. let me see
[Windows Mobile Apps and Games] danielherrero:
Problem detected. Give me 5 minutes.

Solved. I will post it fixed in 5 minutes.

The problem was on registry reader. The buffer to read string was set to 100 and your user agent exceeded it so buffer overrun. Now has been set to 1000.

Dani
[Windows Mobile Apps and Games] ULI22:
Tracking info is not shown

Hi Dani

According to CMP (in "Upload"-Tab) I've successfully uploaded several times, but nothing is shown on http://www.commmgrpro.com/#.

How do you match those uploads with my Account on your web-site?

May be a special german letter: "ß" in my Owner-ID makes some problems?

regards

ULI
[Windows Mobile Apps and Games] danielherrero:
hi ULI. What is the device owner name?

Hi. There arent uploads from Ulrich Laaß. Did you selected the Owner_name and device_id fields? without them you cant find them...
[Windows Mobile Apps and Games] ULI22:
Tracking info is not shown

So, those two fields are mandatory? Nevertheless I added them but nothing changed except that several events could NOT be uploaded. What may be a reason for this?

ULI
[Windows Mobile Apps and Games] danielherrero:
Well, they are mandatory if you send the events to www.commmgrpro.com to identify you. But you could send the events to other server so they arent mandatory. if your device is connected to your pc unplug it, ensure you are connected to internet (if not CMP will do but verify you have conectivity checking email, for example) and then select menu/Send now (statistics about OK/KO Sendings are refreshed only when you enter in that page again, so go the other tab and entry again to see if the event was uploaded). If you check "GPS coord" then the sending process can take more time because CMP will connect to GPS and will try to get the coordenates. After CMP will send it
[Windows Mobile Apps and Games] danielherrero:
Ulrich I ve just seen your first upload ;) but let me see why you cant see them
[Windows Mobile Apps and Games] danielherrero:
Ok, all solved. I ve entered with you account and I can see you moments. In you account you set the device ID to you model, but really the device id is the large string of characters (IMEI + hardware ID). Anyway, login and you will see your movements

Dani
[Windows Mobile Apps and Games] ULI22:
Tracking info is not shown

Thanks, After reboot events are uploaded again, but still not shown on Web site.

By the way, how long will CMP wait for GPS to get a fix before sending without coords?

ULI
[Windows Mobile Apps and Games] ULI22:
Tracking info is not shown

After logging out + Login on Web site the logs are shown now! :):):)
[Windows Mobile Apps and Games] danielherrero:
ULI. I ve logged on www.commmgpro.com with your email and your password and I see 7 lines of movements on Tracking tool page :confused:

The time that cmp tries to connect gps is setup (in seconds)on GPS settings dialog (from Upload page, menu gps settings). Of course, if GPS filed is uncheck the CMP wont connect to GPS
[Windows Mobile Apps and Games] danielherrero:
Nice :D ......
[Windows Mobile Apps and Games] xxjabberwockxx:
Daniel,

Does the latest version still flash the screen (or turns on for a split second then back off) every few minutes, or was that resolved? I removed my copy because of this as it was getting annoying.

Thanks!
[Windows Mobile Apps and Games] danielherrero:
Hi. Did you uncheck the option "Awake if suspended" on Options page?.

That option wakes up 1 second the device in order to feed the radio hardware correctly and get the Cell id. Simply uncheck that option and wont happen again
[Windows Mobile Apps and Games] ULI22:
Menu/Test/Restart not working?

After installing latest version I finally found this new field in GPS-setup :rolleyes::D

As usual, while testing, I tried to use Menu/Test/Restart again and it just ended CMP but did not start it again. Is this intended? new feature?:confused: ;)

ULI
[Windows Mobile Apps and Games] danielherrero:
Heheh, yes, now I remember I am not the only one that uses "Restart" test option but I dont work now. I will fix it ;)
[Windows Mobile Apps and Games] DIE_HARD:
Mine has been doing this since the last update as well.

I have the "Awake if suspended" unchecked.

I still have my screen flash every 5 min or so.

EDIT: I just noticed on the "Options(2)" page that there is another "Awake to execute actions" I will try turning that off as well and see if the screen flashing goes away.
[Windows Mobile Apps and Games] danielherrero:
Just install 1.3.1RC1 or 1.3.1RC2 and uncheck "Awake if suspended"....V1.3 had the option but had a different meaning. Now (1.3.1RC2), if the option is unchecked CMP simply doesnt turn on/off the device to check location. Simply raises the device to idle state (no backlight). IN this state kaiser and polaris cant refresh location but there isnt flash light....

The "5 minutes" you talk probably is the time you ve setup "Refresh location".....

You cant access www.commmgrpro.com in your pc? or uploading events from the device?

Dani
[Windows Mobile Apps and Games] DIE_HARD:
I am assuming I can't see my info on the site because I don't have my "Device ID:" set right.

Where do I find the "Device ID:" if it's not the Device ID you set as the hostname.

I read your post about it being the "IMEI + Device ID" but I don't know what the Device ID is or where to find it apparently. :(
[Windows Mobile Apps and Games] danielherrero:
Hi.

Last night I released CMP 1.3.1 so now I am going to spend a few days improving the web, specially user account.

This is how It works.

Ower name: This is the owner name that you can see on license page. If you set this field BUT not Device ID then CMP Server will find the movements of that user. But if there are two or more users with this name you wont see records (security issue)

Device ID: This is a large string that you can find on license page too. (more than 15 characters). This string identifies any PDA in the world. Its IMEI + hardware stamp. If you set this field BUT not owner name, then CMP will find the records with this field.

Owner Name + Device ID: If you set both the CMP will find records whose owner name and device id match them.

So the best approach is to set only the Device ID.

But keep in mind that you ve to check those fields in Upload Page in CMP program (in your pda).

Dani
[Windows Mobile Apps and Games] DIE_HARD:
Thanks!

I knew I had seen that long string somewhere but it didn't occur to me to click "enter license" after I already had :P

Maybe change that from "Enter License" to "License Info" for the sake of the new functions.

Got the "ID:" = "Device ID:" in my account and can see my data now.

Well thanks for the quick replies! You rock!
[Windows Mobile Apps and Games] short/y:
Export/import cell id data only?

Daniel, do you have a tool that will extract my cell id and LAC records from the database and then will let me import just them?? Here's why I ask: several times, now, I've set about making changes to my schedules and actions and have had odd things occur so I'd like to reformat my database and do a fresh set up my schedules and actions. The reason I don't do this as often as I'd like is because I've got quite a few cells which serve my home (5) and my office (12), and I'd prefer to not have to go through discovery every time. So, either a way to manually enter the cell ID or a way to extract the cell IDs and import them into CMP, separate from the rest of the configuration, would be very helpful.

This morning, for instance, I had deleted a bunch of actions and began creating new ones and CMP seemed to just exit but, when I started it back up, the tray icon didn't show up next to the other tray icons but seemed to be offset by the width of the old CMP icon. I've also had my phone freeze and had to soft-reset and, last night, right after installing your released 1.3.1, CMP executed the same entry action for my home location 3 times with no intervening actions (no cell changes or anything). I frequently backup my configuration, generally before installing a new version and several times I've reinitialized my database using Data -> Format data. I often check the integrity of my database using Data -> Check integrity and have never found a problem but, still, the problems I encounter make me wonder so I'd like to reformat my database more often, especially when I'm trying out your various betas.
[Windows Mobile Apps and Games] danielherrero:
Ops. yes. It seems your database is corrupt. I am working right now to avoid this kind of situations. Until this issue is solved do this.

1) Export your corrupt DB to XML.

2) Move the file to the pc and delete it (or will imported again on next boot).

3) Exit CMP and delete the database (comm_mgr.db).

4) Run CMP. It will create a clean DB.

5) Enter profiles, schedules, and actions.

6) Export the DB to XML.

7) Edit the file on the pc and add the cells lacs. Be sure to adjust the attribute "id" of cell and lac tags before importing......

Dani
[Windows Mobile Apps and Games] docsmooth89:
FYI, the second of the three URLs for your website is missing an "r". By chance, that was the one I clicked on and it did not take me to your website. Fortunately, I notice the typo instead of concluding your server was down.
[Windows Mobile Apps and Games] danielherrero:
Ops, thanks :o
[Windows Mobile Apps and Games] Karl der Käfer:
halo dani,

congratulations for charito's foto. she is the beauty queen in this forum, no doubt.

i was looking for a nasty scedule error after various updates.

it was about desconocido, which was the default profile, in older versions. default was it's default schedule.

first the accions were not done. then it i programmed some more schedules to perform a reset step by step, but lately the reset startet at the wrong hou and did not conclude correcttly (phone stayed OFF). then at the wrong hour and minute.

I read the exported xml, no hint was found.

finaly i opted to declare corrupt, erased them all, installed the latest version (then it was 1.3.1RC2) of cmp and finally reimported last xml.

now the wrong actions don't happen any more, but at the hour of the correct actions cmp log shows up two green notifications: ejecutando acciones para final de desconocido-default(3) at 4:00, but there is no accion following.

There are schedules:

reset 4:00 - 4:01

wait 4:01 - 4:03

default 4:03-4:00

there is no default(3), and all actions for reset and wait are being ignored.

for instance, last cmp version does not recognoze "Desconocido" as default profile. I had to lock on it manually.

Any idea?

other cuestion: how about compatibility with WM6.1?

best regards

ralf

p.d. I appeciate very much the download links in this forum because they work with p3600. on your site they don't work.
[Windows Mobile Apps and Games] danielherrero:
Hi Ralf.

Could you send me your Database?

V1.3x changed the structure of the database(to allow weekdays and delays) and included a hidden and automatic "upgrade tool" for the database but maybe didnt work correctly in some case because some of you had problems and finally the database was corrupt. I am going to test the "default" issues..

Dani.

ps. There is a easy way to test unknow and transition profiles. Menu Test/Bad locations. click once and CMP will always think current cell is 2345. So if you are in know place click on "bad locations" and then refresh button. It should execute exit action for current profile and then enter actions for unknown profile. Click again Bad location and CMP will recognice again cells. So click Refresh button and CMP should execute end actions for unknown profile and enter action for known profile. I ve tested several times but I cant get any error situation. I am working in a very deep "Check integrity" option to check the DB consistency.....

Dani
[Windows Mobile Apps and Games] Karl der Käfer:
db's sent.

in the xml i didn't find any version number. how do you know wether to update from old or very old Version?

what are all theese entries arg_time_1_year, month, day, hour, minute and seconds unti arg_time_3...?

could you publish the meanings of the action id and type etc?

regards

ralf
[Windows Mobile Apps and Games] danielherrero:
Of course. Tomorrow I wil post it (Ineed the source code). Its a generic table with generic parameters to contain diferent kinf of actions. some of them use some arguments,other uses different. there are 3 numeric parameters ,3 string characters and 3 dates. Id field set the type of the action (phone, backlight, etc).Idnumeric is a autoincrement key.

When the database is loading each table manager get the number of columns and if it is lower that should be then add those columns and triggers an update routine for that table. Same procedure for every table.

Regards.

Dani
[Windows Mobile Apps and Games] marttin:
Hola Daniel,

Only today I had the time to get the test done.

It worked as it should. I checked the Event Log and the Cell History - all seems to be fine. Later will go out and will repeat the experiment in real conditions, but with 5 min refresh time - will let you know

Cheers
[Windows Mobile Apps and Games] marttin:
Hola Daniel,

I repeated the test in 'real conditions', and this time it worked well.

The tests are done with only one Cell ID allocated to the profile. Later will test with multiple cells allocated, but running in Cell Mode.

Another stuff I am planning to test today is how it works with unchecked 'Awake if Suspended'.

Will keep you posted

Cheers
[Windows Mobile Apps and Games] danielherrero:
NIce.

I am testing and doing some changes. Sometimes (well, one from 20 automatic tests), when CMP turned on the device to check location then It didnt turn it off again because the Schedule engine thought there was a real location change. So, by now, It detected at 100% location changes being off but 99% of the times it turns it off again if there isnt location change but I want to ensure the process at 100%

Dani
[Windows Mobile Apps and Games] danielherrero:
Hi again.

martin, use this version for testing. I ve done a few changes to ensure the phone goes off again if there isnt location change (and the phone was previously off, obviously).

Dani
[Windows Mobile Apps and Games] marttin:
Hola Daniel,

Will download the new version and do some testing.

FYI on my previous tests - I have tested my Hermes with unchecked "Awake if Suspended" option. The situation is as follow:

1. At 14.51.04h the CMP detected home location and went OFF

2. At 14.56h/14.57h/15.01h/15.02h/15.06h, in Event Log, there are records for reading cell IDs. No single record until 18.06h - at this moment I awake up the phone by pressing Power button.

I guess after ~15min the CPU goes in some mode, and simply do not "awakes" the radio after that.

Cheers
[Windows Mobile Apps and Games] danielherrero:
Yes,thats truth.

When CMP schedules timer notification Windows put system on "resuming mode" (there are more thatn 6 defferent states). IN this state the battery consuption is low, kaiser and Polaris cant refresh correctly cell id and probably there isnt enoght power to turn on phone. And more important. After 15 seconds Windows suspend the device again and probably there isnt time to turn on the phone.....

DAni
[Windows Mobile Apps and Games] Karl der Käfer:
Another issue, may be in relation with corrupt db ?¿?

first I lock on a profile without places assigned, let's say "auto" (means "car").

Then I unlock from that profile.

CMP correctly executes the "on exit"-actions.

But then it keeps showing "auto" as acutally valid profile and not "desconocido".

Same behaviour using other profiles, like "UMTS" or "cyber café" ...

Best regards

Ralf
[Windows Mobile Apps and Games] danielherrero:
Did you use refresh button to ensure the information?
[Windows Mobile Apps and Games] danielherrero:
Hi.

I ve finished an old request. This is, a "decent" open file/program action and a new "Close program" action.

In the "Open File" action you can click on "Files" button to select files like mp3, documents, etc or choose a program from the list (this list has all the links and exe files installed on the device, so under \windows\start menu(english)).

Close Program simply kills the process.:eek:

Its possible to open/close any number of programs (not only one)

Regards.

Dani
[Windows Mobile Apps and Games] short/y:
Dani, thanks for the update. Personally, I'm really pleased to see this -- I use Mortscript to run some programs when I enter or exit some profiles and this will make it MUCH easier to enter the script names!

BTW, I reinitialized my database as you suggested a few posts ago (Data -> Format data, then exit CMP, remove the db file and start back up) and nearly all my problems have gone away. I say "nearly" because I haven't had time to setup a couple of the tests -- while it sounds fairly easy to do, between defining the new profile, setting up the actions, running the profile and then deleting it all, it takes at least 30 minutes and finding 30 minutes when I can work uninterrupted is nearly impossible. I'll get to it, though!

In the meantime, I have to ask how you managed to create new profiles which have "Speaker On" with no percentage (see the Full Performance profile, for instance). What does this do? Does it return the speaker to its last volume setting? Is there any way I can get CMP to do this in my profiles?
[Windows Mobile Apps and Games] danielherrero:
Hi.

I dont know if I understood you correctly. Full sound profile set it to 4 (0-4). If you heve curiosity, the way to set it is

level = 51*level;

waveOutSetVolume(0, MAKEWORD(level, level));

where 0 <= level <= 4.

CMP doesnt remember the level but when It set sound off CMP doesnt set level to 0 but disable the sound....

Dani
[Windows Mobile Apps and Games] Karl der Käfer:
yes, of course.

now updated to 1.3.1 official version, persits the problem. i just sent a mail with fotos from a new test, some minutes ago.

i'll try to attach hereafter, but if you don't see it, there are probs with uploading files from pda to this site.

best regards

ralf
[Windows Mobile Apps and Games] Karl der Käfer:
no way. a shame for a site hosting pda-issues. perhaps we shuold tell it to the site admins :-(((((

ralf
[Windows Mobile Apps and Games] danielherrero:
Hi Ralf.

Still no luck searching your problem. Could you tell exactlty what you do?.

This is what I ve done trying to find the issue.

1) I ve formatted the database.

2) I ve created only one profile called UMTS (like yours). On enter 3G, on exit 2G

3) Image 1 shows initial state.

4) Image 2 shows state after lock UMTS profile

5) Image 3 shows state after unlock it.

6) I havent clicked on Refresh button (It wasnt necessary)

7) I ve repeated the test several times.

I hope our tests are different,,,,,,,
[Windows Mobile Apps and Games] Karl der Käfer:
a small step for me, a big step for mankind ... hiphip hurray. works fine :-)))))))))))

ralf
[Windows Mobile Apps and Games] Karl der Käfer:
no, i did the same steps as you did, but without resetting db.

so i think after lock off cmp just takes the next profile Value it finds. this is the profile Value it locked on before.

so i feel you should look for the way cmp identifies the default profile and countercheck with the cmp i that sent you before.

in earlier versions I just used the default "desconocido", and may be this is no more valid as a default profile...

bye

ralf

p.d. every thing ok with charo? already getting her teeth?
[Windows Mobile Apps and Games] danielherrero:
Hi Ralf.

Before resseting the db I did the test with my db but every think worked correctly so I deleted the database to do the test with a clean DB. Could you do the same? this is, export your database (to import again after the test), exit CMP, delete the DB (the option Format DB doesnt work correctly in 1.3.1), start CMP and perform the test. If It works correctly then the problem was in your database. (as I talked priously db upgrade process has failed for some of you). But if It doesnt work correcty then the olly difference is device and ROM. I pray (rezar, se escribe asi?)for this isnt a problem (device and rom dependent problems is a nightware).

Charito started to go at nursery one month ago (She is 6 months old) and she get ill every week. You understand me, isnt it?;)
[Windows Mobile Apps and Games] Karl der Käfer:
i'll give him a try.

before this i did some other testing: adding a action to the blank profile. A desaster. I sent you a private mail.

pray is ok. si zar no ayuda, tampoco hace daño ...

combination of hardware and nightmare, i love this word creation ;-)

and you will be ill every time she's well again. prepare yourself, this will be the hardest year for your health. so enjoy an have your pda and a good book always beside your bed ... just in case

regards

ralf
[Windows Mobile Apps and Games] danielherrero:
hehe nooooo I am freelance consultant and (in Spain) if I get ill I dont earn money.

As I told you by email,lets see your database. I think you are other victim of the db upgrade routine..... :)
[Windows Mobile Apps and Games] danielherrero:
Hi.

In this version I hope "Unknown place" corrupt after XML import is solved. If your DB is corrupt export it to xml and then import it. This process will try to reassign the "Uknown" place using the name.

Other old request. In this version, when you create a new action you can assign it to different weekdays in only one step. See attached file. Simply I ve changed "delay window" to do it.

Report any bug, etc...

Regards.

Dani
[Windows Mobile Apps and Games] Karl der Käfer:
deleted deleted
[Windows Mobile Apps and Games] Karl der Käfer:
will test "UNKNOWN PLACE" soon.

UMTS starts intshrui.dll on enter and kills it on exit. That´s ok :D

AUTO starts tomtom6(crack) on enter, well done, but :( cannot kill it on exit. Tomtom looses satellites, finds them again after some seconds, and keeps on active. Sometimes tomtom gets frozen intenting to resync the satellites. But seems not to be killed at all.

May be tomtom-specific.

Regards.

Ralf
[Windows Mobile Apps and Games] danielherrero:
Hi Ralf.

Thats right. I ve noticed it with TomTom too. It seems this program refuses to be killed with api function "TerminateProcess" but I will research to find an alternative way for the most resistent programs :D