@@ -387,27 +387,30 @@ typedef struct {
387387 BD_ADDR remote_bda ;
388388} tBTA_GATTC_DISCONNECT ;
389389
390-
390+ typedef struct {
391+ UINT16 conn_id ;
392+ BD_ADDR remote_bda ;
393+ } tBTA_GATTC_SERVICE_CHANGE ;
391394
392395typedef union {
393396 tBTA_GATT_STATUS status ;
394397
395- tBTA_GATTC_SEARCH_CMPL search_cmpl ; /* discovery complete */
396- tBTA_GATTC_SRVC_RES srvc_res ; /* discovery result */
397- tBTA_GATTC_REG reg_oper ; /* registration data */
398+ tBTA_GATTC_SEARCH_CMPL search_cmpl ; /* discovery complete */
399+ tBTA_GATTC_SRVC_RES srvc_res ; /* discovery result */
400+ tBTA_GATTC_REG reg_oper ; /* registration data */
398401 tBTA_GATTC_OPEN open ;
399402 tBTA_GATTC_CONNECT connect ;
400403 tBTA_GATTC_CLOSE close ;
401404 tBTA_GATTC_DISCONNECT disconnect ;
402- tBTA_GATTC_READ read ; /* read attribute/descriptor data */
403- tBTA_GATTC_WRITE write ; /* write complete data */
404- tBTA_GATTC_EXEC_CMPL exec_cmpl ; /* execute complete */
405- tBTA_GATTC_NOTIFY notify ; /* notification/indication event data */
405+ tBTA_GATTC_READ read ; /* read attribute/descriptor data */
406+ tBTA_GATTC_WRITE write ; /* write complete data */
407+ tBTA_GATTC_EXEC_CMPL exec_cmpl ; /* execute complete */
408+ tBTA_GATTC_NOTIFY notify ; /* notification/indication event data */
406409 tBTA_GATTC_ENC_CMPL_CB enc_cmpl ;
407- BD_ADDR remote_bda ; /* service change event */
408410 tBTA_GATTC_CFG_MTU cfg_mtu ; /* configure MTU operation */
409411 tBTA_GATTC_CONGEST congest ;
410412 tBTA_GATTC_QUEUE_FULL queue_full ;
413+ tBTA_GATTC_SERVICE_CHANGE srvc_chg ; /* service change event */
411414} tBTA_GATTC ;
412415
413416/* GATTC enable callback function */
0 commit comments