Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

missing void *context in many stack, bsp features

Nordic offers many features in their libraries that rely on callbacks, but the use of void *context pointers to allow proper object oriented programming is sparse. For example: peer manager, button manager, app_shutdown, and advertising module, all have callbacks without a void *context, while the ble stack has one. I would recommend adding context to all library objects that use callbacks.

Related