Skip to content

Instantly share code, notes, and snippets.

@BinaryBrain
Created February 25, 2018 20:28
Show Gist options
  • Save BinaryBrain/984fc4c99511ab53688153f5d0ef43aa to your computer and use it in GitHub Desktop.
Save BinaryBrain/984fc4c99511ab53688153f5d0ef43aa to your computer and use it in GitHub Desktop.
Attempting to pair with 30:AE:A4:4E:25:46
[00:01:21.785] EVT <= 3E 13 01 00 00 00 01 00 78 05 8B 52 FD 24 27 00 00 00 2A 00 05
[00:01:21.785] LOG -- hci.c.2181: LE Connection_complete (status=0) type 0, 24:FD:52:8B:05:78
[00:01:21.790] LOG -- hci.c.184: create_connection_for_addr 24:FD:52:8B:05:78, type 0
[00:01:21.797] LOG -- hci.c.2233: New connection: handle 0, 24:FD:52:8B:05:78
[00:01:21.804] LOG -- hci.c.3756: BTSTACK_EVENT_NR_CONNECTIONS_CHANGED 1
[00:01:21.810] EVT <= 61 01 01
[00:01:21.814] LOG -- sm.c.3170: sm: connected
[00:01:21.818] LOG -- sm.c.3183: New sm_conn, role slave
[00:01:21.823] EVT <= D8 09 00 00 00 78 05 8B 52 FD 24
[00:01:21.828] LOG -- att_server.c.246: SM_EVENT_IDENTITY_RESOLVING_STARTED
[00:01:21.834] LOG -- sm.c.2081: LE Device Lookup: device 0/0
[00:01:21.840] LOG -- sm.c.2113: LE Device Lookup: not found
[00:01:21.845] EVT <= D9 09 00 00 00 78 05 8B 52 FD 24
[00:01:21.850] LOG -- att_server.c.259: SM_EVENT_IDENTITY_RESOLVING_FAILED
[00:01:21.857] LOG -- hci.c.2980: hci_run: gap_le: adv todo: 10
[00:01:21.862] CMD => 0A 20 01 01
[00:01:21.866] EVT <= 0E 04 05 0A 20 00
[00:01:21.869] EVT <= 6E 00
[00:01:21.919] ACL <= 00 20 0B 00 07 00 06 00 01 04 00 2D 10 0D 0F
[00:01:21.920] LOG -- sm.c.855: Secure pairing: 0
[00:01:21.920] LOG -- sm.c.901: sm_setup_tk: master io cap: 4, slave io cap: 3 -> method 0
[00:01:21.927] LOG -- sm.c.1294: SMP: generation method 0
[00:01:21.932] LOG -- sm.c.2247: sm: connection 0x0000 locked setup context as responder, state 42
[00:01:21.941] LOG -- sm.c.2292: sm_run: state 42
[00:01:21.945] ACL => 00 00 0B 00 07 00 06 00 02 03 00 00 10 04 06
[00:01:21.951] EVT <= D0 09 00 00 00 78 05 8B 52 FD 24
[00:01:21.956] LOG -- att_server.c.276: SM Pairing started
[00:01:21.961] ACL <= 00 20 07 00 03 00 04 00 02 05 02
[00:01:21.966] LOG -- att_server.c.488: ATT Packet, handle 0x0000
[00:01:21.972] EVT <= 6E 00
[00:01:21.975] LOG -- sm.c.2292: sm_run: state 43
[00:01:21.979] CMD => 35 0C 05 01 00 00 02 00
[00:01:21.983] EVT <= 6E 00
[00:01:21.986] LOG -- sm.c.2292: sm_run: state 43
[00:01:22.017] EVT <= 13 05 01 00 00 01 00
[00:01:22.017] LOG -- sm.c.2292: sm_run: state 43
[00:01:22.017] ACL <= 00 20 15 00 11 00 06 00 03 17 46 A8 62 B8 E0 07 FF 7A 63 B4 C5 CD 96 7E 8D
[00:01:22.023] LOG -- sm.c.2292: sm_run: state 3
[00:01:22.027] CMD => 35 0C 05 01 00 00 01 00
[00:01:22.031] EVT <= 6E 00
[00:01:22.034] LOG -- sm.c.2292: sm_run: state 3
FAILED
Failed to pair: org.bluez.Error.AuthenticationCanceled
[00:01:51.952] LOG -- sm.c.508: SM timeout
[00:01:51.952] LOG -- sm.c.1216: sm: connection 0x0 released setup context
[00:01:52.289] EVT <= 05 04 00 00 00 13
[00:01:52.289] LOG -- hci.c.826: Connection closed: handle 0x0, 24:FD:52:8B:05:78
[00:01:52.290] LOG -- hci.c.3756: BTSTACK_EVENT_NR_CONNECTIONS_CHANGED 0
[00:01:52.295] EVT <= 61 01 00
[00:01:52.298] LOG -- hci.c.2980: hci_run: gap_le: adv todo: 10
[00:01:52.304] CMD => 0A 20 01 01
[00:01:52.307] EVT <= 0E 04 05 0A 20 00
[00:01:52.311] EVT <= 6E 00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment