[ 
https://issues.apache.org/jira/browse/MYNEWT-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15892936#comment-15892936
 ] 

ASF subversion and git services commented on MYNEWT-634:
--------------------------------------------------------

Commit 259d2a8d3af8af0958bc7137be8a2bd90c1244a4 in incubator-mynewt-core's 
branch refs/heads/develop from [~janc]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=259d2a8 
]

blecent: Fix not setting initial BLE address

Application needs to set correct public address if it want to use it.

MYNEWT-634


> 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)

Reply via email to