@@ -285,12 +285,12 @@ static ssize_t read_sirk(struct bt_conn *conn, const struct bt_gatt_attr *attr,
285285 sirk , sizeof (* sirk ));
286286}
287287
288- #if defined(CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE )
288+ #if defined(CONFIG_BT_CSIP_SET_MEMBER_SIRK_NOTIFIABLE )
289289static void sirk_cfg_changed (const struct bt_gatt_attr * attr , uint16_t value )
290290{
291291 LOG_DBG ("value 0x%04x" , value );
292292}
293- #endif /* CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE */
293+ #endif /* CONFIG_BT_CSIP_SET_MEMBER_SIRK_NOTIFIABLE */
294294
295295static ssize_t read_set_size (struct bt_conn * conn ,
296296 const struct bt_gatt_attr * attr ,
@@ -614,7 +614,7 @@ static struct bt_conn_auth_info_cb auth_callbacks = {
614614 .bond_deleted = csip_bond_deleted
615615};
616616
617- #if defined(CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE )
617+ #if defined(CONFIG_BT_CSIP_SET_MEMBER_SIRK_NOTIFIABLE )
618618#define BT_CSIS_CHR_SIRK (_csip ) \
619619 BT_AUDIO_CHRC(BT_UUID_CSIS_SIRK, BT_GATT_CHRC_READ | BT_GATT_CHRC_NOTIFY, \
620620 BT_GATT_PERM_READ_ENCRYPT, read_sirk, NULL, &_csip), \
@@ -623,7 +623,7 @@ static struct bt_conn_auth_info_cb auth_callbacks = {
623623#define BT_CSIS_CHR_SIRK (_csip ) \
624624 BT_AUDIO_CHRC(BT_UUID_CSIS_SIRK, BT_GATT_CHRC_READ, BT_GATT_PERM_READ_ENCRYPT, read_sirk, \
625625 NULL, &_csip)
626- #endif /* CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE */
626+ #endif /* CONFIG_BT_CSIP_SET_MEMBER_SIRK_NOTIFIABLE */
627627
628628#define BT_CSIP_SERVICE_DEFINITION (_csip ) {\
629629 BT_GATT_PRIMARY_SERVICE(BT_UUID_CSIS), \
@@ -769,7 +769,7 @@ static void notify_cb(struct bt_conn *conn, void *data)
769769 sizeof (svc_inst -> set_lock ));
770770 }
771771
772- if (IS_ENABLED (CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE ) &&
772+ if (IS_ENABLED (CONFIG_BT_CSIP_SET_MEMBER_SIRK_NOTIFIABLE ) &&
773773 atomic_test_and_clear_bit (client -> flags , FLAG_NOTIFY_SIRK )) {
774774 notify (svc_inst , conn , BT_UUID_CSIS_SIRK , & svc_inst -> sirk ,
775775 sizeof (svc_inst -> sirk ));
0 commit comments