Arthur,
I think Michael is correct. GPS cold start is very nasty and assumes absolutely no knowledge of where in the world the device is. Warm start uses the previously known location. Usually, when GPS units try to do a warm start, if they can't get a lock within a few minutes they roll back to cold start anyway (which was an issue with an old TomTom unit I had when my car was in the garage - if I didn't get out into open skies quickly enough, it would timeout and go to cold start). The other issue with cold starts to be wary of is that if the vehicle is moving, it will take them dramatically longer to get a lock.
Regarding your work on this:
- Presumably you have introduced a new NET state for this sleep mode. Entering that state puts it into sleep, and then there is some trigger to get out of the state (N minutes after park not charging)?
- From the SIMCOM documentation, in AT+CSCLK=2 mode the GSM is still active for SMS reception. Perhaps it could be woken up for N minutes and still handle the SMS message in that mode (even if GPRS is not possible)?
- Have you taken any power consumption readings in this sleep state vs normal? It would be interesting to see the results.
- If you manage to get it working, and see significant power savings, it would be good to have this as an option (feature #, or something in carbits) in the standard firmware. Perhaps only necessary for some types of vehicle (particularly those that have no lock/charge/etc functions). Even if the code you wrote is completely different, and not based on OVMS firmware, it would be good to see your results and learn from them.
Regards, Mark.
Thanks for the info Christopher and Michael! I'll try it without resetting, and see if that helps.
-Arthur
_______________________________________________
OvmsDev mailing list
OvmsDev@lists.teslaclub.hk
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev