⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ipod accessory protocol.mht

📁 ipodourdev_176702.rar IPOD接口资料IPODSOCKET 需要
💻 MHT
📖 第 1 页 / 共 5 页
字号:
switches to=20
the /Extras/Voice Memos/Record Now Folder.<BR><IMG height=3D288=20
alt=3D"Voice Memos / record now"=20
src=3D"http://stud3.tuwien.ac.at/~e0026607/ipod_remote/pics/Voice_memos.j=
peg"=20
width=3D390 border=3D0><BR>Now you can choose between record and cancel. =
If you=20
select Record the iPod is sending a request to check if there is an =
compatible=20
microphone attached.<BR>This request is 0xFF 0x55 0x02 0x00 0x00 0xFE =
You have=20
to answer it again with 0xFF 0x55 0x03 0x00 0x01 0x01 0xFB to start=20
recording.<BR><BR><IMG height=3D292 alt=3D"iPod is recordingg"=20
src=3D"http://stud3.tuwien.ac.at/~e0026607/ipod_remote/pics/recording-sma=
ll.jpeg"=20
width=3D392 border=3D0><BR>Until the iPod is starting recording the =
bitpattern 0xFF=20
0x55 0x02 0x01 0x00 0xFD gets send. This might tell the external device =
that=20
recording has started.<BR>If you pause or stop the recording 0xFF 0x55 =
0x02 0x01=20
0x01 0xFC might signal the external device the end or the pausing of the =

recording. <BR><BR>Because i had no microphone, i was using my sony =
headphones.=20
The quality of the recording was not very good but it makes clear that a =
usual=20
microphone would work. Overview:=20
<TABLE cellSpacing=3D2 cellPadding=3D2 align=3Dcenter border=3D1 =
frame=3Dboxed>
  <CAPTION>Overview</CAPTION>
  <THEAD>
  <TR>
    <TH>Key press on iPod</TH>
    <TH>Data to ipod</TH>
    <TH>Data from ipod</TH>
    <TH>Reaction</TH></TR></THEAD>
  <TBODY>
  <TR>
    <TD></TD>
    <TD id=3Dtxd>0xFF 0x55 0x03 0x00 0x01 0x01 0xFB</TD>
    <TD></TD>
    <TD>iPod switches to Voice Memos record now</TD></TR>
  <TR>
    <TD>Record</TD>
    <TD></TD>
    <TD id=3Drxd>0xFF 0x55 0x02 0x00 0x00 0xFE</TD>
    <TD>iPod is waiting for correct answer</TD></TR>
  <TR>
    <TD></TD>
    <TD id=3Dtxd>0xFF 0x55 0x03 0x00 0x01 0x01 0xFB</TD>
    <TD></TD>
    <TD></TD></TR>
  <TR>
    <TD></TD>
    <TD></TD>
    <TD id=3Drxd>0xFF 0x55 0x02 0x01 0x00 0xFD</TD>
    <TD>iPod is starting recording</TD></TR>
  <TR>
    <TD>Pause</TD>
    <TD></TD>
    <TD id=3Drxd>0xFF 0x55 0x02 0x01 0x01 0xFC</TD>
    <TD>iPod is pausing or has stoped recording</TD></TR>
  <TR>
    <TD>Resume</TD>
    <TD></TD>
    <TD id=3Drxd>0xFF 0x55 0x02 0x01 0x00 0xFD</TD>
    <TD>iPod is resuming recording</TD></TR></TBODY></TABLE>Note.you are =
only=20
responsible to send the green commands. The red commands are firmware =
based you=20
only have to listen to them and to react as required.<BR><BR>
<H2>Advanced iPod Remote (AiR)</H2>If you want to receive artistname, =
albumname,=20
songname or any other extra information you have to set the iPod in AiR=20
Mode.<BR><BR>
<DIV style=3D"FONT-WEIGHT: bold">Send 0xFF 0x55 0x03 0x00 0x01 0x04 0xF8 =
for AiR=20
Mode</DIV><BR><IMG height=3D300=20
src=3D"http://stud3.tuwien.ac.at/~e0026607/ipod_remote/pics/ok_disconnect=
_small.jpeg"=20
width=3D400 border=3D0> <IMG height=3D300=20
src=3D"http://stud3.tuwien.ac.at/~e0026607/ipod_remote/pics/ipod_air2.jpg=
"=20
width=3D400 border=3D0> <IMG height=3D240=20
src=3D"http://stud3.tuwien.ac.at/~e0026607/ipod_remote/pics/ipod_pic.jpg"=
=20
width=3D320 border=3D0> <BR>This "ok to disconnect" message will last =
until you=20
disconnect the serial lines from the iPod.This makes the iPod display =
useless in=20
the AiR Mode. The only way i found to prevent the iPod to show this "ok =
to=20
disconnect" image is to send the command before the iPod is in a =
specific=20
playlist (after a reboot) and to send Play/Pause. However in both cases =
you are=20
not able to use the iPod keys or the wheel.<BR><BR>
<H3>Air Mode is mode 0x04: for instance a basic command would be "Get =
ipod name:=20
0xFF 0x55 0x03 0x04 0x00 0x14 0xE5"</H3><BR>
<H3>The useful commands in AiR mode</H3>
<TABLE cellSpacing=3D2 cellPadding=3D2 border=3D1>
  <TBODY>
  <TR>
    <TD>CNum</TD>
    <TD=20
    style=3D"FONT-WEIGHT: bold; VERTICAL-ALIGN: top; WIDTH: 100px; =
TEXT-ALIGN: center">Cmd</TD>
    <TD=20
    style=3D"FONT-WEIGHT: bold; VERTICAL-ALIGN: top; WIDTH: 170px; =
TEXT-ALIGN: center">Parameter</TD>
    <TD=20
      style=3D"FONT-WEIGHT: bold; VERTICAL-ALIGN: top; TEXT-ALIGN: =
center">Description</TD></TR>
  <TR>
    <TD>1</TD>
    <TD id=3Dtxd>0x00 0x12</TD>
    <TD></TD>
    <TD>? Get iPod Type Size ?</TD></TR></TR>
  <TR>
    <TD>2</TD>
    <TD id=3Drxd>0x00 0x13</TD>
    <TD>2 byte</TD>
    <TD>? 0x01 0x02 ?</TD></TR>
  <TR>
    <TD>3</TD>
    <TD id=3Dtxd>0x00 0x14</TD>
    <TD></TD>
    <TD>Get iPod Name</TD></TR>
  <TR>
    <TD>4</TD>
    <TD id=3Drxd>0x00 0x15</TD>
    <TD>String</TD>
    <TD>Name of the iPod</TD></TR>
  <TR>
    <TD>5</TD>
    <TD id=3Dtxd>0x00 0x17</TD>
    <TD>0x00 0x00 0x00 0x00 0x00</TD>
    <TD>Switch to Playlist/Artist/Album/Song/Genre First Byte 0x01 - =
0x06 Rest=20
      Number of Playlist/Artist/Album/Song/Genre</TD></TR>
  <TR>
    <TD>6</TD>
    <TD id=3Dtxd>0x00 0x18</TD>
    <TD>0x00</TD>
    <TD>Get Amount of Playlists/Artists/Albums/Song/Genres 0x01 - =
0x06</TD></TR>
  <TR>
    <TD>7</TD>
    <TD id=3Drxd>0x00 0x19</TD>
    <TD>Number</TD>
    <TD>Amount of Playlists/Artists/Albums/Song/Genres</TD></TR>
  <TR>
    <TD>8</TD>
    <TD id=3Dtxd>0x00 0x1A</TD>
    <TD>0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00</TD>
    <TD>Get Name for Playlist/Artist/Album/Song/Genre First Byte 0x01 - =
0x06=20
      Rest numberrange of playlist/artist/album/song/genre (0x00000001 - =

      0x000000FF)</TD></TR>
  <TR>
    <TD>9</TD>
    <TD id=3Drxd>0x00 0x1B</TD>
    <TD>String</TD>
    <TD>Playlist/Artist/Album/Song/Genre</TD>
  <TR>
    <TD>10</TD>
    <TD id=3Dtxd>0x00 0x1C</TD>
    <TD></TD>
    <TD>Get Time and Status Info</TD></TR>
  <TR>
    <TD>11</TD>
    <TD id=3Drxd>0x00 0x1D</TD>
    <TD>Number/Number/byte</TD>
    <TD>Time and Status Info 4/4/1 Complete Time/Passed Time/ =
Run/Stop/Pause=20
    </TD></TR>
  <TR>
    <TD>12</TD>
    <TD id=3Dtxd>0x00 0x1E</TD>
    <TD></TD>
    <TD>Get Position in Current Playlist</TD></TR>
  <TR>
    <TD>13</TD>
    <TD id=3Drxd>0x00 0x1F</TD>
    <TD>Number</TD>
    <TD>Position in Current Playlist</TD></TR>
  <TR>
    <TD>14</TD>
    <TD id=3Dtxd>0x00 0x20</TD>
    <TD>0x00 0x00 0x00 0x00</TD>
    <TD>Get Songtitle of Tracknumber in Playlist</TD></TR>
  <TR>
    <TD>15</TD>
    <TD id=3Drxd>0x00 0x21</TD>
    <TD>string</TD>
    <TD>Songtitle of Tracknumber in Playlist</TD></TR>
  <TR>
    <TD>16</TD>
    <TD id=3Dtxd>0x00 0x22</TD>
    <TD>0x00 0x00 0x00 0x00</TD>
    <TD>Get Artistname of Tracknumber in Playlist</TD></TR>
  <TR>
    <TD>17</TD>
    <TD id=3Drxd>0x00 0x23</TD>
    <TD>string</TD>
    <TD>Songtitle of Tracknumber in Playlist</TD></TR>
  <TR>
    <TD>18</TD>
    <TD id=3Dtxd>0x00 0x24</TD>
    <TD>0x00 0x00 0x00 0x00</TD>
    <TD>Get Albumname of Tracknumber in Playlist</TD></TR>
  <TR>
    <TD>19</TD>
    <TD id=3Drxd>0x00 0x25</TD>
    <TD>string</TD>
    <TD>Songtitle of Tracknumber in Playlist</TD></TR>
  <TR>
    <TD>20</TD>
    <TD id=3Dtxd>0x00 0x26</TD>
    <TD>0x00</TD>
    <TD>Start/Stop Polling mode 0x01/0x00</TD></TR>
  <TR>
    <TD>21</TD>
    <TD id=3Drxd>0x00 0x27</TD>
    <TD>number</TD>
    <TD>time passed of current song</TD></TR>
  <TR>
    <TD>22</TD>
    <TD id=3Dtxd>0x00 0x28</TD>
    <TD>0x00 0x00 0x00 0x00</TD>
    <TD>Execute Playlist switch and jump to specified =
songnumber</TD></TR>
  <TR>
    <TD>23</TD>
    <TD id=3Dtxd>0x00 0x29</TD>
    <TD>0x00</TD>
    <TD>AiR Playback Control Play Pause/Stop/Skip++/Skip--/FFwd/FRwd =
0x01 -=20
      0x06</TD></TR>
  <TR>
    <TD>24</TD>
    <TD id=3Dtxd>0x00 0x2C</TD>
    <TD></TD>
    <TD>? Always 0 ?</TD></TR>
  <TR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -