I'm currently using the software triggers on my OT2m to change from Profile 1 to Profile 2. The change is simple - when I have GPS, use Profile 1. When GPS isn't locked, use profile 2.
I'm starting to see the need for a 3rd profile in my tracker, and I think using the scripting features, plus the "profile" switch on the RJ-45 jack on the OT2m - I *might* be able to set this up... but I'm in the need of some scripting experts. The scenario I would like to setup is: - Run profile 1 if GPS is Fixed. - Run profile 2 if GPS is not fixed. - If the hardwire switch is set to make contact to ground "closed", modify profile 2 (now called profile 3) and force the tracker to use that profile. Profile 3 should beacon every 60 seconds with GPS (only if GPS is fixed) - If the profile switch is "open", revert profile 3 back to profile 2's settings. I guess I can assume I would start as: Begin Script On GPS Fix EXEC "PROFILE 1" EXEC "BEACON GPS FIXED using Profile 1" Else CONFIG 2 EXEC "PROFILE 2" EXEC "BEACON GPS Lost using Profile 2" EXEC "TXNOFIX OFF" EXEC "COMMENT Argent Data OT2m - W2LIE Mobile" EXEC "INTERVAL 0" EXEC "STATUS 9" - Send Message to Nuvi to alert user profile 2 is in use - End Block If the switch is set, I am assuming: (add something here the script can read to it knows to use profile 3) CONFIG 2 EXEC "PROFILE 2" EXEC "BEACON Set to Special Event Profile 3" EXEC "BEACON W2LIE-9 is now TAILCAR" EXEC "MYCALL TAILCAR" EXEC "COMMENT W2LIE - Nassau County ARES Tail Car" EXEC "INTERVAL 60" EXEC "STATUS 9" - Send Message to Nuvi to alert user profile 3 is in use - (add something here the script can read to it knows to use revert to "profile 2) Would the tracker be able to constantly monitor the "hardwire" switch to it can swap between profile 1, 2 and 3 as needed?? I know I can just have profile 2 setup differently via software, but this seems like a good exercise. Thanks again 73 Phil / w2lie
