nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ bt_gattp_subscribe_service_changed()

int bt_gattp_subscribe_service_changed ( struct bt_gattp gattp,
bt_gattp_indicate_cb  func 
)

#include <include/bluetooth/services/gattp.h>

Subscribe to the Service Changed indication.

Parameters
[in]gattpGATT profile instance.
[in]funcIndication callback function handler.
Return values
0If the operation is successful. Otherwise, a (negative) error code is returned.