Closed eraguzin closed 4 years ago
the log did give the hint, you could edit the linker file to increased memory allocated to Softdeivce. configABC() is for reducing memory required by softdevice. This is not a bug, this is a question for more question, please post it to our support forum.
Describe the bug Using the stock blueart_multi.ino example sketch, I can't get more than 2 connections to work.
By default, MAX_PRPH_CONNECTION is 2. The Bluefruit Connect app can spot it and connect fine. But if I change MAX_PRPH_CONNECTION to 3, then the Bluefruit Connect app does not see the device.
Furthermore, by adding a Serial.print() statement in the loop section, I can see that the program locks up at some point when MAX_PRPH_CONNECTION is 3. When it's 2, the print statement continues going without any issue. With the IDE debug log set to Level 2, I get a message about not enough SRAM. Is there a way to allow more SRAM? I found this page here:
https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/hathach-memory-map But the functions like configPrphConn(), configPrphBandwidth() don't work, they're not declared in the top level scope, and there's no indication of what arguments they should take. If this isn't implemented yet, can I get pointed to the relevant docs, and I'll try to submit a Pull Request? Or is there an explanation on how to change the linker script?
Set up (mandatory)
To Reproduce Steps to reproduce the behavior:
Serial Log