Generic Attribute (GATT) Profile
You can use the GATT Profile library to receive service changed indications from a connected peer. It is used in the Bluetooth: Peripheral ANCS client sample.
API documentation
Header file:
include/bluetooth/services/gattp.h
Source file:
subsys/bluetooth/services/gattp.c