Jacob created MYNEWT-634:
----------------------------

             Summary: blecent ble_gap_connect failing with rc 21
                 Key: MYNEWT-634
                 URL: https://issues.apache.org/jira/browse/MYNEWT-634
             Project: Mynewt
          Issue Type: Bug
          Components: Nimble
    Affects Versions: v1_0_0_beta2
            Reporter: Jacob


blecent ble_gap_connect used to work with my heartrate device but is now 
failing with rc 21

Tracked back to  ble_hs_id_addr
   │156         if (memcmp(id_addr, ble_hs_misc_null_addr, 6) == 0) {
   │157             return BLE_HS_ENOADDR;
   │158         }

(gdb) p id_addr_type
$8 = 0 '\000'
(gdb) p ble_hs_id_pub
$9 = "\000\000\000\000\000"
(gdb) p ble_hs_misc_null_addr
$3 = "\000\000\000\000\000"
(gdb) p *id_addr
$5 = 0 '\000'
(gdb) set $foo = memcmp(id_addr, ble_hs_misc_null_addr, 6)
(gdb) p $foo
$6 = 0

There was some recent address changes I dont currently understand, maybe that 
has to do with it?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to