iPod IWIP3G User Guide - Page 198
A2DP Sink
UPC - 649241862819
View all iPod IWIP3G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 198 highlights
12.9 A2DP Sink This example shows how to set up iWRAP into A2DP source mode i.e. to audio transmitter. In this mode iWRAP can open Bluetooth A2DP connections to A2DP sink(s) or receive connections from them. The basic configuration steps are displayed in the figure below: A Bluetooh device iWRAP Host Open Bluetooth A2DP connection A2DP connection Start audio stream Stop audio stream Close A2DP connection One time Initialization SET PROFILE A2DP SINK SET BT AUTH * {pin} SET BT CLASS 200428 RESET boot prompt RING {link_id} {bd_addr} 25 A2DP RING {link_id+1} {bd_addr} 25 A2DP A2DP STREAMING START A2DP STREAMING STOP NO CARRIER {link_id} ERROR {error_code} [message] NO CARRIER {link_id} ERROR {error_code} [message] Figure 18: A2DP sink example A2DP initialization is done in a similar fashion as with other profiles. However for mobile phones and PCs the Class of Device needs to be set to 200428 or 240428 otherwise they might not be able to open A2DP connection. When audio streaming is enabled A2SP STRAMING START event will be displayed and when streaming is stopped A2SP STRAMING STOP is displayed. 198