Hi
I am working on a firmware which can be used in serveral custom boards. While it works perfect in old sdk, I met the following problem when migrating from Sdk 12.2 to 14.2. Would you please take a look? Thanks
Since I HAVE serveral boards which will acts in different role, I need to add BLE observers dynamically. For example, one may acts as HID service and another acts NUS service. It works fine in sdk 12 because I can determine which service need to be initialised and which event handler will be added into evt_dispatch(). However, sdk14.2 is using static allocation, for example, BLE_HIDS_DEF. I can not control observers section.
How can I dynamically allocate these observers?