You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/03/30 03:52:41 UTC

[jira] [Commented] (MYNEWT-698) Unhandled exception in controller (in ble_ll_conn_end)

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

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

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

MYNEWT-698: Unhandled exception in controller in ble_ll_conn_end

The controller was generating an unhandled exception inside the
function ble_ll_conn_end. This was occurring when the controller
was scheduling a new connection (master role) but no mbufs were
available to hand the received pdu to the link layer task. The
code attempts to schedule a master role connection and send a
connection request prior to allocating a receive buffer for the
received advertising pdu. It does this to save time since we need
all the time available from when the advertising pdu is received
until the time we need to send the connect request.

I am not terribly pleased with the fix since it is inefficient.
However, I wanted to get a fix in now. A better way might not be
to re-enable scanning or initiating unless a buffer is available
for receive but that change would be a bit more work.


> Unhandled exception in controller (in ble_ll_conn_end)
> ------------------------------------------------------
>
>                 Key: MYNEWT-698
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-698
>             Project: Mynewt
>          Issue Type: Bug
>          Components: Nimble
>    Affects Versions: v1_0_0_rel
>            Reporter: William San Filippo
>            Assignee: William San Filippo
>             Fix For: v1_1_0_rel
>
>
> The controller is generating an unhandled exception inside the function ble_ll_conn_end().



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