Has anyone documented any of the the WinCE commands used on the AVIC? I'm interested specifically in how to switch audio sources from a script. From what I have read, I think av.exe can do that given the proper incantation. I want to be able to (for example) watch for an event, like a COM port line changing state, and switch to a different audio source. One example of a use for this would be to detect the signal from an external source (ham radio, CB, scanner, radar detector) and automatically switch to an aux audio input. Putting some sort of visual indication on the screen and sending an audio cue would be nice also, but switching the source would be the win.
Getting an alert signal into the unit looks to be fairly simple; there are FTDI virtual COM port drivers for WinCE on ARM processors, so a common USB to serial converter will probably work. I say "probably" because I haven't tried it yet, but hope to do so in the next few days.
So - what say ye, AVIC software folk?