/* max known devices GATTC can support */
#ifndef BTA_GATTC_KNOWN_SR_MAX
+#ifndef MAX_ACL_CONNECTIONS
#define BTA_GATTC_KNOWN_SR_MAX 10
+#else
+#define BTA_GATTC_KNOWN_SR_MAX MAX_ACL_CONNECTIONS
+#endif
#endif
#define BTA_GATTC_CONN_MAX GATT_MAX_PHY_CHANNEL
tBT_UUID uuid;
UINT16 s_handle;
UINT16 e_handle;
+ // this field is set only for characteristic
+ UINT16 char_decl_handle;
BOOLEAN is_primary;
tBTA_GATT_CHAR_PROP property;
}tBTA_GATTC_ATTR_REC;
} tBTA_GATTC_SERV;
#ifndef BTA_GATTC_NOTIF_REG_MAX
+#ifndef MAX_ACL_CONNECTIONS
#define BTA_GATTC_NOTIF_REG_MAX 15
+#else
+#define BTA_GATTC_NOTIF_REG_MAX MAX_ACL_CONNECTIONS*3
+#endif
#endif
typedef struct