Guest User

BTMON log (UART interface)

a guest
Feb 3rd, 2017
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.09 KB | None | 0 0
  1. pi@raspberrypi:~/ws/bluez/monitor $ sudo ./btmon
  2. Bluetooth monitor ver 5.43
  3. = New Index: B8:27:EB:0A:8C:8D (Primary,UART,hci0) [hci0] 0.761644
  4. = New Index: 00:00:00:00:00:00 (Primary,UART,hci1) [hci1] 32.271782
  5. = Open Index: 00:00:00:00:00:00 [hci1] 32.271824
  6. = Index Info: 00:00:00:00:00:00 (internal use) [hci1] 32.271835
  7. = Close Index: 00:00:00:00:00:00 [hci1] 32.271871
  8. = Open Index: 00:00:00:00:00:00 [hci1] 32.272024
  9. = Index Info: 00:00:00:00:00:00 (internal use) [hci1] 32.272031
  10. < HCI Command: Read Local Version Information (0x04|0x0001) plen 0 [hci1] 32.272154
  11. = Close Index: 00:00:00:00:00:00 [hci1] 55.886122
  12. = Delete Index: 00:00:00:00:00:00 [hci1] 55.887018
  13. = New Index: 00:00:00:00:00:00 (Primary,UART,hci1) [hci1] 63.640263
  14. = Open Index: 00:00:00:00:00:00 [hci1] 63.640305
  15. < HCI Command: Reset (0x03|0x0003) plen 0 [hci1] 63.640703
  16. > HCI Event: Command Complete (0x0e) plen 4 [hci1] 63.642963
  17. Reset (0x03|0x0003) ncmd 1
  18. Status: Success (0x00)
  19. < HCI Command: Read Local Supported Features (0x04|0x0003) plen 0 [hci1] 63.643023
  20. > HCI Event: Command Complete (0x0e) plen 12 [hci1] 63.644273
  21. Read Local Supported Features (0x04|0x0003) ncmd 1
  22. Status: Success (0x00)
  23. Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
  24. BR/EDR Not Supported
  25. LE Supported (Controller)
  26. < HCI Command: Read Local Version Information (0x04|0x0001) plen 0 [hci1] 63.644318
  27. > HCI Event: Command Complete (0x0e) plen 12 [hci1] 63.645778
  28. Read Local Version Information (0x04|0x0001) ncmd 1
  29. Status: Success (0x00)
  30. HCI version: Bluetooth 4.2 (0x08) - Revision 0 (0x0000)
  31. LMP version: Bluetooth 4.2 (0x08) - Subversion 65535 (0xffff)
  32. Manufacturer: internal use (65535)
  33. < HCI Command: Read BD ADDR (0x04|0x0009) plen 0 [hci1] 63.645833
  34. > HCI Event: Command Complete (0x0e) plen 10 [hci1] 63.647144
  35. Read BD ADDR (0x04|0x0009) ncmd 1
  36. Status: Success (0x00)
  37. Address: 00:00:00:00:00:00 (OUI 00-00-00)
  38. < HCI Command: LE Read Buffer Size (0x08|0x0002) plen 0 [hci1] 63.647257
  39. > HCI Event: Command Complete (0x0e) plen 7 [hci1] 63.648674
  40. LE Read Buffer Size (0x08|0x0002) ncmd 1
  41. Status: Success (0x00)
  42. Data packet length: 27
  43. Num data packets: 7
  44. < HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0 [hci1] 63.648747
  45. > HCI Event: Command Complete (0x0e) plen 12 [hci1] 63.650042
  46. LE Read Local Supported Features (0x08|0x0003) ncmd 1
  47. Status: Success (0x00)
  48. Features: 0x3f 0x00 0x00 0x00 0x00 0x00 0x00 0x00
  49. LE Encryption
  50. Connection Parameter Request Procedure
  51. Extended Reject Indication
  52. Slave-initiated Features Exchange
  53. LE Ping
  54. LE Data Packet Length Extension
  55. < HCI Command: LE Read Supported States (0x08|0x001c) plen 0 [hci1] 63.650082
  56. > HCI Event: Command Complete (0x0e) plen 12 [hci1] 63.651511
  57. LE Read Supported States (0x08|0x001c) ncmd 1
  58. Status: Success (0x00)
  59. States: 0x000003ffffffffff
  60. Non-connectable Advertising State
  61. Scannable Advertising State
  62. Connectable Advertising State
  63. High Duty Cycle Directed Advertising State
  64. Passive Scanning State
  65. Active Scanning State
  66. Initiating State
  67. and Connection State (Master Role)
  68. Connection State (Slave Role)
  69. Non-connectable Advertising State
  70. and Passive Scanning State
  71. Scannable Advertising State
  72. and Passive Scanning State
  73. Connectable Advertising State
  74. and Passive Scanning State
  75. High Duty Cycle Directed Advertising State
  76. and Passive Scanning State
  77. Non-connectable Advertising State
  78. and Active Scanning State
  79. Scannable Advertising State
  80. and Active Scanning State
  81. Connectable Advertising State
  82. and Active Scanning State
  83. High Duty Cycle Directed Advertising State
  84. and Active Scanning State
  85. Non-connectable Advertising State
  86. and Initiating State
  87. Scannable Advertising State
  88. and Initiating State
  89. Non-connectable Advertising State
  90. and Connection State (Master Role)
  91. Scannable Advertising State
  92. and Connection State (Master Role)
  93. Non-connectable Advertising State
  94. and Connection State (Slave Role)
  95. Scannable Advertising State
  96. and Connection State (Slave Role)
  97. Passive Scanning State
  98. and Initiating State
  99. Active Scanning State
  100. and Initiating State
  101. Passive Scanning State
  102. and Connection State (Master Role)
  103. Active Scanning State
  104. and Connection State (Master Role)
  105. Passive Scanning State
  106. and Connection State (Slave Role)
  107. Active Scanning State
  108. and Connection State (Slave Role)
  109. Initiating State
  110. and Connection State (Master Role)
  111. and Master Role & Master Role
  112. Low Duty Cycle Directed Advertising State
  113. Low Duty Cycle Directed Advertising State
  114. and Passive Scanning State
  115. Low Duty Cycle Directed Advertising State
  116. and Active Scanning State
  117. Connectable Advertising State
  118. and Initiating State
  119. and Master Role & Slave Role
  120. High Duty Cycle Directed Advertising State
  121. and Initiating State
  122. and Master Role & Slave Role
  123. Low Duty Cycle Directed Advertising State
  124. and Initiating State
  125. and Master Role & Slave Role
  126. Connectable Advertising State
  127. and Connection State (Master Role)
  128. and Master Role & Slave Role
  129. High Duty Cycle Directed Advertising State
  130. and Connection State (Master Role)
  131. and Master Role & Slave Role
  132. Low Duty Cycle Directed Advertising State
  133. and Connection State (Master Role)
  134. and Master Role & Slave Role
  135. Connectable Advertising State
  136. and Connection State (Slave Role)
  137. and Master Role & Slave Role
  138. High Duty Cycle Directed Advertising State
  139. and Connection State (Slave Role)
  140. and Slave Role & Slave Role
  141. Low Duty Cycle Directed Advertising State
  142. and Connection State (Slave Role)
  143. and Slave Role & Slave Role
  144. Initiating State
  145. and Connection State (Slave Role)
  146. and Master Role & Slave Role
  147. < HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0 [hci1] 63.651542
  148. > HCI Event: Command Complete (0x0e) plen 68 [hci1] 63.653046
  149. Read Local Supported Commands (0x04|0x0002) ncmd 1
  150. Status: Success (0x00)
  151. Commands: 39 entries
  152. Disconnect (Octet 0 - Bit 5)
  153. Set Event Mask (Octet 5 - Bit 6)
  154. Reset (Octet 5 - Bit 7)
  155. Read Local Version Information (Octet 14 - Bit 3)
  156. Read Local Supported Features (Octet 14 - Bit 5)
  157. Read BD ADDR (Octet 15 - Bit 1)
  158. LE Set Event Mask (Octet 25 - Bit 0)
  159. LE Read Buffer Size (Octet 25 - Bit 1)
  160. LE Read Local Supported Features (Octet 25 - Bit 2)
  161. LE Set Random Address (Octet 25 - Bit 4)
  162. LE Set Advertising Parameters (Octet 25 - Bit 5)
  163. LE Read Advertising Channel TX Power (Octet 25 - Bit 6)
  164. LE Set Advertising Data (Octet 25 - Bit 7)
  165. LE Set Scan Response Data (Octet 26 - Bit 0)
  166. LE Set Advertise Enable (Octet 26 - Bit 1)
  167. LE Set Scan Parameters (Octet 26 - Bit 2)
  168. LE Set Scan Enable (Octet 26 - Bit 3)
  169. LE Create Connection (Octet 26 - Bit 4)
  170. LE Create Connection Cancel (Octet 26 - Bit 5)
  171. LE Read White List Size (Octet 26 - Bit 6)
  172. LE Clear White List (Octet 26 - Bit 7)
  173. LE Add Device To White List (Octet 27 - Bit 0)
  174. LE Remove Device From White List (Octet 27 - Bit 1)
  175. LE Connection Update (Octet 27 - Bit 2)
  176. LE Set Host Channel Classification (Octet 27 - Bit 3)
  177. LE Read Channel Map (Octet 27 - Bit 4)
  178. LE Read Remote Used Features (Octet 27 - Bit 5)
  179. LE Encrypt (Octet 27 - Bit 6)
  180. LE Rand (Octet 27 - Bit 7)
  181. LE Start Encryption (Octet 28 - Bit 0)
  182. LE Long Term Key Request Reply (Octet 28 - Bit 1)
  183. LE Long Term Key Request Neg Reply (Octet 28 - Bit 2)
  184. LE Read Supported States (Octet 28 - Bit 3)
  185. LE Remote Connection Parameter Request Reply (Octet 33 - Bit 4)
  186. LE Remote Connection Parameter Request Negative Reply (Octet 33 - Bit 5)
  187. LE Set Data Length (Octet 33 - Bit 6)
  188. LE Read Suggested Default Data Length (Octet 33 - Bit 7)
  189. LE Write Suggested Default Data Length (Octet 34 - Bit 0)
  190. LE Read Maximum Data Length (Octet 35 - Bit 3)
  191. < HCI Command: Set Event Mask (0x03|0x0001) plen 8 [hci1] 63.653122
  192. Mask: 0x200080000204e890
  193. Disconnection Complete
  194. Encryption Change
  195. Read Remote Version Information Complete
  196. Command Complete
  197. Command Status
  198. Hardware Error
  199. Number of Completed Packets
  200. Data Buffer Overflow
  201. Encryption Key Refresh Complete
  202. LE Meta
  203. > HCI Event: Command Complete (0x0e) plen 4 [hci1] 63.654471
  204. Set Event Mask (0x03|0x0001) ncmd 1
  205. Status: Success (0x00)
  206. < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8 [hci1] 63.654505
  207. Mask: 0x000000000000007f
  208. LE Connection Complete
  209. LE Advertising Report
  210. LE Connection Update Complete
  211. LE Read Remote Used Features Complete
  212. LE Long Term Key Request
  213. LE Remote Connection Parameter Request
  214. LE Data Length Change
  215. > HCI Event: Command Complete (0x0e) plen 4 [hci1] 63.655761
  216. LE Set Event Mask (0x08|0x0001) ncmd 1
  217. Status: Success (0x00)
  218. < HCI Command: LE Read Advertising Channel TX Power (0x08|0x0007) plen 0 [hci1] 63.655798
  219. > HCI Event: Command Complete (0x0e) plen 5 [hci1] 63.657135
  220. LE Read Advertising Channel TX Power (0x08|0x0007) ncmd 1
  221. Status: Success (0x00)
  222. TX power: 0 dBm
  223. < HCI Command: LE Read White List Size (0x08|0x000f) plen 0 [hci1] 63.657168
  224. > HCI Event: Command Complete (0x0e) plen 5 [hci1] 63.658690
  225. LE Read White List Size (0x08|0x000f) ncmd 1
  226. Status: Success (0x00)
  227. Size: 8
  228. < HCI Command: LE Clear White List (0x08|0x0010) plen 0 [hci1] 63.658721
  229. > HCI Event: Command Complete (0x0e) plen 4 [hci1] 63.660012
  230. LE Clear White List (0x08|0x0010) ncmd 1
  231. Status: Success (0x00)
  232. < HCI Command: LE Read Maximum Data Length (0x08|0x002f) plen 0 [hci1] 63.660046
  233. > HCI Event: Command Complete (0x0e) plen 12 [hci1] 63.661507
  234. LE Read Maximum Data Length (0x08|0x002f) ncmd 1
  235. Status: Success (0x00)
  236. Max TX octets: 27
  237. Max TX time: 328
  238. Max RX octets: 27
  239. Max RX time: 328
  240. < HCI Command: LE Read Suggested Default Data Length (0x08|0x0023) plen 0 [hci1] 63.661538
  241. > HCI Event: Command Complete (0x0e) plen 8 [hci1] 63.662972
  242. LE Read Suggested Default Data Length (0x08|0x0023) ncmd 1
  243. Status: Success (0x00)
  244. TX octets: 27
  245. TX time: 328
  246. = Index Info: 00:00:00:00:00:00 (internal use) [hci1] 63.663225
  247. = Close Index: 00:00:00:00:00:00 [hci1] 63.663263
  248. @ Index Added
  249. @ New Settings: 0x8200
  250. le static-addr
  251. @ New Settings: 0x8a00
  252. le secure-conn static-addr
  253. @ New Settings: 0x8a10
  254. bondable le secure-conn static-addr
  255. = Open Index: 00:00:00:00:00:00 [hci1] 84.788464
  256. < HCI Command: Reset (0x03|0x0003) plen 0 [hci1] 84.788510
  257. = Close Index: 00:00:00:00:00:00
Add Comment
Please, Sign In to add comment