[ https://issues.apache.org/jira/browse/MYNEWT-661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Collins resolved MYNEWT-661. ---------------------------------------- Resolution: Fixed Thanks, Ćukasz. It looks good. {noformat} 007743 compat> b sec start conn=1 008183 module: 0, command: b 008184 [ts=63937440ssb, mod=4 level=0] looking up peer sec; peer_addr_type=0 peer_addr=0x34 0x22 0x00 0x99 0x99 0x99 008187 [ts=63960876ssb, mod=4 level=0] host tx hci data; handle=1 length=11 008189 [ts=63976500ssb, mod=4 level=0] ble_hs_hci_acl_tx(): 0x01 0x00 0x0b 0x00 0x07 0x00 0x06 0x00 0x01 0x03 0x00 0x09 0x10 0x07 0x07 008193 [ts=64007812ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x0018 len=0 008195 [ts=64023436ssb, mod=4 level=0] 0x18 0x20 0x00 008196 [ts=64031248ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x18 status=0 rand=0xc213c8492ede7859 008199 [ts=64054684ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x0018 len=0 008202 [ts=64078120ssb, mod=4 level=0] 0x18 0x20 0x00 008203 [ts=64085932ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x18 status=0 rand=0x07be2ac5aa1e6e57 008206 compat> Number of Completed Packets: num_handles=1 008210 [ts=64140616ssb, mod=4 level=0] handle:1 pkts:1 008215 [ts=64179676ssb, mod=4 level=0] ble_hs_hci_evt_acl_process(): conn_handle=1 pb=2 len=11 data=0x07 0x00 0x06 0x00 0x02 0x03 0x00 0x01 0x10 0x07 0x07 008219 [ts=64210924ssb, mod=4 level=0] rxed sm command: pair rsp; conn=1 io_cap=3 oob_data_flag=0 authreq=0x01 mac_enc_key_size=16 init_key_dist=7 resp_key_dist=7 008223 [ts=64242172ssb, mod=4 level=0] host tx hci data; handle=1 length=6 008225 [ts=64257796ssb, mod=4 level=0] ble_hs_hci_acl_tx(): 0x01 0x00 0x06 0x00 0x02 0x00 0x06 0x00 0x05 0x03 008228 encryption change event; status=1027 handle=1 our_ota_addr_type=0 our_ota_addr=0a:45:00:11:22:33 our_id_addr_type=0 our_id_addr=0a:45:00:11:22:33 peer_ota_addr_type=0 peer_ota_addr=99:99:99:00:22:34 peer_id_addr_type=0 peer_id_addr=99:99:99:00:22:34 conn_itvl=40 conn_latency=0 supervision_timeout=256 encrypted=0 authenticated=0 bonded=0 008241 [ts=64382788ssb, mod=4 level=0] Number of Completed Packets: num_handles=1 008243 [ts=64398412ssb, mod=4 level=0] handle:1 pkts:1 {noformat} (we get an authreq error now.) > BLE Host - SC:yes, lgcy:no - device never responds to pairing rsp. > ------------------------------------------------------------------ > > Key: MYNEWT-661 > URL: https://issues.apache.org/jira/browse/MYNEWT-661 > Project: Mynewt > Issue Type: Bug > Security Level: Public(Viewable by anyone) > Components: Nimble > Reporter: Christopher Collins > Assignee: Christopher Collins > Fix For: v1_1_0_rel > > > Configure device A with the following settings: > {noformat} > BLE_SM_LEGACY: 0 > BLE_SM_SC: 1 > {noformat} > Configure device B with the opposite settings: > {noformat} > BLE_SM_LEGACY: 1 > BLE_SM_SC: 0 > {noformat} > # Connect the two devices. > # Device A initiates pairing. > The result is: device A never responds to B's paring response. Instead, it > does nothing and allows the pairing procedure to time out. -- This message was sent by Atlassian JIRA (v6.3.15#6346)