You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/05/21 14:30:00 UTC
[GitHub] ccollins476ad commented on issue #1115: Error while connecting to
multiple Peripherals
ccollins476ad commented on issue #1115: Error while connecting to multiple Peripherals
URL: https://github.com/apache/mynewt-core/issues/1115#issuecomment-390671126
Hi Kartik,
Unfortunately, `BLE_HS_ENOMEM` is heavily overloaded, so it sometimes
takes a bit of trial and error to solve these issues.
My first guess is that your `BLE_MAX_CONNECTIONS` setting is too low.
By default this value is only 1, so you'll definitely need to increase
it.
Chris
On Mon, May 21, 2018 at 01:39:47PM +0000, Kartik Mathur wrote:
> Hi all, I've been trying to connect multiple peripherals to a central module using a modified version of blecent example. However after connecting the first peripheral, while connecting the second, I get an error status BLE_HS_ENOMEM (Operation failed due to resource exhaustion).
>
> I've updated peer_init parameters so that appropriate memory is given to the program. Can someone help me in solving this problem?
>
> TIA!
>
> --
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly or view it on GitHub:
> https://github.com/apache/mynewt-core/issues/1115
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services