@@ -291,12 +291,12 @@ static ssize_t read_sirk(struct bt_conn *conn, const struct bt_gatt_attr *attr,
291291 sirk , sizeof (* sirk ));
292292}
293293
294- #if defined(CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE )
294+ #if defined(CONFIG_BT_CSIP_SET_MEMBER_SIRK_NOTIFIABLE )
295295static void sirk_cfg_changed (const struct bt_gatt_attr * attr , uint16_t value )
296296{
297297 LOG_DBG ("value 0x%04x" , value );
298298}
299- #endif /* CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE */
299+ #endif /* CONFIG_BT_CSIP_SET_MEMBER_SIRK_NOTIFIABLE */
300300
301301static ssize_t read_set_size (struct bt_conn * conn ,
302302 const struct bt_gatt_attr * attr ,
@@ -620,7 +620,7 @@ static struct bt_conn_auth_info_cb auth_callbacks = {
620620 .bond_deleted = csip_bond_deleted
621621};
622622
623- #if defined(CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE )
623+ #if defined(CONFIG_BT_CSIP_SET_MEMBER_SIRK_NOTIFIABLE )
624624#define BT_CSIS_CHR_SIRK (_csip ) \
625625 BT_AUDIO_CHRC(BT_UUID_CSIS_SIRK, BT_GATT_CHRC_READ | BT_GATT_CHRC_NOTIFY, \
626626 BT_GATT_PERM_READ_ENCRYPT, read_sirk, NULL, &_csip), \
@@ -629,7 +629,7 @@ static struct bt_conn_auth_info_cb auth_callbacks = {
629629#define BT_CSIS_CHR_SIRK (_csip ) \
630630 BT_AUDIO_CHRC(BT_UUID_CSIS_SIRK, BT_GATT_CHRC_READ, BT_GATT_PERM_READ_ENCRYPT, read_sirk, \
631631 NULL, &_csip)
632- #endif /* CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE */
632+ #endif /* CONFIG_BT_CSIP_SET_MEMBER_SIRK_NOTIFIABLE */
633633
634634#define BT_CSIP_SERVICE_DEFINITION (_csip ) {\
635635 BT_GATT_PRIMARY_SERVICE(BT_UUID_CSIS), \
@@ -775,7 +775,7 @@ static void notify_cb(struct bt_conn *conn, void *data)
775775 sizeof (svc_inst -> set_lock ));
776776 }
777777
778- if (IS_ENABLED (CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE ) &&
778+ if (IS_ENABLED (CONFIG_BT_CSIP_SET_MEMBER_SIRK_NOTIFIABLE ) &&
779779 atomic_test_and_clear_bit (client -> flags , FLAG_NOTIFY_SIRK )) {
780780 notify (svc_inst , conn , BT_UUID_CSIS_SIRK , & svc_inst -> sirk ,
781781 sizeof (svc_inst -> sirk ));
0 commit comments