You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Jacob (JIRA)" <ji...@apache.org> on 2017/03/04 03:49:46 UTC
[jira] [Resolved] (MYNEWT-634) blecent ble_gap_connect failing with
rc 21
[ https://issues.apache.org/jira/browse/MYNEWT-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacob resolved MYNEWT-634.
--------------------------
Resolution: Fixed
Fixed in https://github.com/apache/incubator-mynewt-core/pull/187
> 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
> Assignee: Szymon Janc
> Fix For: v1_0_0_rel
>
>
> 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)