Guest User

BTMON log (ttyACMx interface)

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