|
|
@@ -387,27 +387,30 @@ typedef struct {
|
|
|
BD_ADDR remote_bda;
|
|
|
} tBTA_GATTC_DISCONNECT;
|
|
|
|
|
|
-
|
|
|
+typedef struct {
|
|
|
+ UINT16 conn_id;
|
|
|
+ BD_ADDR remote_bda;
|
|
|
+} tBTA_GATTC_SERVICE_CHANGE;
|
|
|
|
|
|
typedef union {
|
|
|
tBTA_GATT_STATUS status;
|
|
|
|
|
|
- tBTA_GATTC_SEARCH_CMPL search_cmpl; /* discovery complete */
|
|
|
- tBTA_GATTC_SRVC_RES srvc_res; /* discovery result */
|
|
|
- tBTA_GATTC_REG reg_oper; /* registration data */
|
|
|
+ tBTA_GATTC_SEARCH_CMPL search_cmpl; /* discovery complete */
|
|
|
+ tBTA_GATTC_SRVC_RES srvc_res; /* discovery result */
|
|
|
+ tBTA_GATTC_REG reg_oper; /* registration data */
|
|
|
tBTA_GATTC_OPEN open;
|
|
|
tBTA_GATTC_CONNECT connect;
|
|
|
tBTA_GATTC_CLOSE close;
|
|
|
tBTA_GATTC_DISCONNECT disconnect;
|
|
|
- tBTA_GATTC_READ read; /* read attribute/descriptor data */
|
|
|
- tBTA_GATTC_WRITE write; /* write complete data */
|
|
|
- tBTA_GATTC_EXEC_CMPL exec_cmpl; /* execute complete */
|
|
|
- tBTA_GATTC_NOTIFY notify; /* notification/indication event data */
|
|
|
+ tBTA_GATTC_READ read; /* read attribute/descriptor data */
|
|
|
+ tBTA_GATTC_WRITE write; /* write complete data */
|
|
|
+ tBTA_GATTC_EXEC_CMPL exec_cmpl; /* execute complete */
|
|
|
+ tBTA_GATTC_NOTIFY notify; /* notification/indication event data */
|
|
|
tBTA_GATTC_ENC_CMPL_CB enc_cmpl;
|
|
|
- BD_ADDR remote_bda; /* service change event */
|
|
|
tBTA_GATTC_CFG_MTU cfg_mtu; /* configure MTU operation */
|
|
|
tBTA_GATTC_CONGEST congest;
|
|
|
tBTA_GATTC_QUEUE_FULL queue_full;
|
|
|
+ tBTA_GATTC_SERVICE_CHANGE srvc_chg; /* service change event */
|
|
|
} tBTA_GATTC;
|
|
|
|
|
|
/* GATTC enable callback function */
|