TheOldPresbyope

moOde BT dump - Android vs Echo

Aug 9th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1. (Bluetooth spec abbreviations:
  2. AVDTP = audio/video distribution transport protocol
  3. INT = initiator; e.g., the remote device
  4. ACP = acceptor; here, the moOde Bluetooth stack
  5. SEID = stream endpoint identifier
  6. SBC = subband codec
  7. )
  8.  
  9. (RTP abbreviations:
  10. ver = version
  11. cc = contributing source count (?)
  12. pt = payload type
  13. seqn = sequence number
  14. ssrc = synchronization source identifier
  15. )
  16.  
  17. (hcidump nomenclature:
  18. ">" denotes packets coming into local device (e.g., moOde)
  19. "<" denotes packets going out of local device
  20. cmd = command
  21. rsp = response
  22. )
  23.  
  24. ======================
  25. Connect from Android 7
  26. ======================
  27.  
  28. pi@moode43c:~ $ sudo hcidump avdtp
  29. HCI sniffer - Bluetooth packet analyzer ver 5.43
  30. device: hci0 snap_len: 1500 filter: 0x400
  31. > AVDTP(s): Discover cmd: transaction 0 nsp 0x00
  32. < AVDTP(s): Discover rsp: transaction 0 nsp 0x00
  33. ACP SEID 1 - Audio Source
  34. ACP SEID 2 - Audio Sink
  35. ACP SEID 3 - Audio Sink
  36. > AVDTP(s): All Capabilities cmd: transaction 1 nsp 0x00
  37. ACP SEID 2
  38. < AVDTP(s): All Capabilities rsp: transaction 1 nsp 0x00
  39. Media Transport
  40. Media Codec - SBC
  41. 16kHz 32kHz 44.1kHz 48kHz
  42. Mono DualChannel Stereo JointStereo
  43. 4 8 12 16 Blocks
  44. 4 8 Subbands
  45. SNR Loudness
  46. Bitpool Range 2-64
  47. Delay Reporting
  48. > AVDTP(s): All Capabilities cmd: transaction 2 nsp 0x00
  49. ACP SEID 3
  50. < AVDTP(s): All Capabilities rsp: transaction 2 nsp 0x00
  51. Media Transport
  52. Media Codec - SBC
  53. 16kHz 32kHz 44.1kHz 48kHz
  54. Mono DualChannel Stereo JointStereo
  55. 4 8 12 16 Blocks
  56. 4 8 Subbands
  57. SNR Loudness
  58. Bitpool Range 2-64
  59. Delay Reporting
  60. > AVDTP(s): Set config cmd: transaction 3 nsp 0x00
  61. ACP SEID 2 - INT SEID 1
  62. Media Transport
  63. Media Codec - SBC
  64. 44.1kHz
  65. JointStereo
  66. 16 Blocks
  67. 8 Subbands
  68. Loudness
  69. Bitpool Range 2-53
  70. < AVDTP(s): Set config rsp: transaction 3 nsp 0x00
  71. > AVDTP(s): Open cmd: transaction 4 nsp 0x00
  72. ACP SEID 2
  73. < AVDTP(s): Open rsp: transaction 4 nsp 0x00
  74. > AVDTP(s): Start cmd: transaction 5 nsp 0x00
  75. ACP SEID 2
  76. < AVDTP(s): Start rsp: transaction 5 nsp 0x00
  77. > AVDTP(m): ver 2 cc 0 pt 96 seqn 1 time 0 ssrc 0
  78. ^C
  79.  
  80. ========================
  81. Connect from Amazon Echo
  82. ========================
  83.  
  84. HCI sniffer - Bluetooth packet analyzer ver 5.43
  85. device: hci0 snap_len: 1500 filter: 0x400
  86. > AVDTP(s): Discover cmd: transaction 10 nsp 0x00
  87. < AVDTP(s): Discover rsp: transaction 10 nsp 0x00
  88. ACP SEID 1 - Audio Source
  89. ACP SEID 2 - Audio Sink
  90. ACP SEID 3 - Audio Sink
  91. > AVDTP(s): Capabilities cmd: transaction 11 nsp 0x00
  92. ACP SEID 1
  93. < AVDTP(s): Capabilities rsp: transaction 11 nsp 0x00
  94. Media Transport
  95. Media Codec - SBC
  96. 16kHz 32kHz 44.1kHz 48kHz
  97. Mono DualChannel Stereo JointStereo
  98. 4 8 12 16 Blocks
  99. 4 8 Subbands
  100. SNR Loudness
  101. Bitpool Range 2-64
  102. > AVDTP(s): Capabilities cmd: transaction 12 nsp 0x00
  103. ACP SEID 2
  104. < AVDTP(s): Capabilities rsp: transaction 12 nsp 0x00
  105. Media Transport
  106. Media Codec - SBC
  107. 16kHz 32kHz 44.1kHz 48kHz
  108. Mono DualChannel Stereo JointStereo
  109. 4 8 12 16 Blocks
  110. 4 8 Subbands
  111. SNR Loudness
  112. Bitpool Range 2-64
  113. > AVDTP(s): Capabilities cmd: transaction 13 nsp 0x00
  114. ACP SEID 3
  115. < AVDTP(s): Capabilities rsp: transaction 13 nsp 0x00
  116. Media Transport
  117. Media Codec - SBC
  118. 16kHz 32kHz 44.1kHz 48kHz
  119. Mono DualChannel Stereo JointStereo
  120. 4 8 12 16 Blocks
  121. 4 8 Subbands
  122. SNR Loudness
  123. Bitpool Range 2-64
  124. > AVDTP(s): Set config cmd: transaction 14 nsp 0x00
  125. ACP SEID 2 - INT SEID 1
  126. Media Transport
  127. Media Codec - SBC
  128. 48kHz
  129. JointStereo
  130. 16 Blocks
  131. 8 Subbands
  132. Loudness
  133. Bitpool Range 2-51
  134. < AVDTP(s): Set config rsp: transaction 14 nsp 0x00
  135. > AVDTP(s): Open cmd: transaction 15 nsp 0x00
  136. ACP SEID 2
  137. < AVDTP(s): Open rsp: transaction 15 nsp 0x00
  138. > AVDTP(s): Start cmd: transaction 0 nsp 0x00
  139. ACP SEID 2
  140. < AVDTP(s): Start rsp: transaction 0 nsp 0x00
  141. > AVDTP(m): ver 2 cc 0 pt 1 seqn 0 time 0 ssrc 1
  142. ^C
Add Comment
Please, Sign In to add comment