Hi in my original code when notifications is turned on for custom characteristic the characteristic value would increment every second. However after I add NRF_SDH_BLE_OBSERVERS() so I can add multiple custom services, I notice the characteristic value no longer increments every second when notifications is turned on.
If I switch back to NRF_SDH_BLE_OBSERVER() and turn on notifications the characteristic value increments every second again.
In the code, 'notification_timeout_handler' is called when the repeated app timer 'm_notification_timer_id' expires. The 'notification_timeout_handler' increments the value of integer variable 'm_custom_value' each time the app_timer event handler is called.
I also attached the project files below.
Why does calling NRF_SDH_BLE_OBSERVERS() to register multiple custom services cause the event handler call from the repeated app timer to not work? Is there a way to fix this if I want to have multiple custom services and the app_timer event handler?