This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ERROR 12 upon calling ble_advertising_init

I'm getting ERROR 12 upon calling ble_advertising_init. I understand that this is caused by exceeding the advertising packet max payload of 31 bytes. What options do I have to solve this?
Please note that I don't need to be transmitting all services and characteristics at the same time, so maybe I could activate and deactivate services/characteristics accordingly. Power consumption is an important factor as well.

Edit: I think I need to clarify one thing. I got ERROR 12 once I added a second custom UUID to my stack.

Related