Specifications
Windows Embedded Automotive 7 Deep Dive: Phone Core and Media Core 71
subscribed for notifications for a specific protocol. To unsubscribe, the application must call
IPSUnregisterForNotifications.
After an application requests a session with Windows Embedded Automotive 7, the subscribed
application receives an IPM_OPENSESSION message with wParam set to SessionID and lParam
set to ProtocolIndex. The application can then open an application-to-accessory session by using
IPSOpenA2ASession. The application must provide a message queue that will be used to receive
notifications and data from the iPod device. To send data from the application to Windows
Embedded Automotive, use IPSSendA2AData.
When the iPod device closes a session or the device is disconnected, the application that
opened the session receives an IPM_A2A_CloseSession message. The application should honor
any IPM_A2A_Notification message that instructs the application not to send any requests
during a specified time period.
If an iPod application supports streaming media applications in Windows Embedded Automotive
7 information can be passed to the iPod service about the current playback state by using the
following APIs:
• IPSGetSetDigitalAudioStreaming() to start or stop audio streaming.
• IPSSetPlaybackStatus() to notify Automotive 7 about playback status and information
about the currently playing item.
iAP and MTP Passthrough
Passthrough capability for iPod accessory protocol (iAP) and MTP gives any application the
ability to directly call any iAP or MTP interface. Since passthrough mode is a state transition in
the service, developers must use it very carefully. An application should always wait until any
browsing functions are complete and be aware of any other interactions that may be going on
with the iPod.
Considerations for iPod
iPod passthrough is only available to one-wire iPod connections that have already been
authenticated. The application must get a handle to the device through the iPod Service.
The service handles are found through the following APIs:
• MediaGetDeviceHandle
• MediaBrowseGetItemObjectHandle
• MediaGetItemObjectHandle
These APIs are defined in public\automedia\sdk\inc\automediacoreex.h. These handles can be
used to directly issue iAP commands through the iPod Service using the passthrough APIs. These
APIs are defined in public\automedia\sdk\inc\ipdsrv.h.
The following are the iPod Service interfaces for passthrough:
• IPSEnterPassthroughMode
• IPSExitPassthroughMode
• IPSSendPassthroughData










