mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
component/bt: fix not send indication confirm in case of server only
This commit is contained in:
parent
09d2791cfd
commit
38b287593c
@ -1255,7 +1255,7 @@ void gatt_start_ind_ack_timer(tGATT_TCB *p_tcb)
|
|||||||
p_tcb->ind_ack_timer_ent.param = (TIMER_PARAM_TYPE)p_tcb;
|
p_tcb->ind_ack_timer_ent.param = (TIMER_PARAM_TYPE)p_tcb;
|
||||||
/* start notification cache timer */
|
/* start notification cache timer */
|
||||||
btu_start_timer (&p_tcb->ind_ack_timer_ent, BTU_TTYPE_ATT_WAIT_FOR_IND_ACK,
|
btu_start_timer (&p_tcb->ind_ack_timer_ent, BTU_TTYPE_ATT_WAIT_FOR_IND_ACK,
|
||||||
GATT_WAIT_FOR_RSP_TOUT);
|
GATT_WAIT_FOR_IND_ACK_TOUT);
|
||||||
|
|
||||||
}
|
}
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
|
@ -80,6 +80,7 @@ typedef UINT8 tGATT_SEC_ACTION;
|
|||||||
#define GATT_WAIT_FOR_RSP_TOUT 30
|
#define GATT_WAIT_FOR_RSP_TOUT 30
|
||||||
#define GATT_WAIT_FOR_DISC_RSP_TOUT 5
|
#define GATT_WAIT_FOR_DISC_RSP_TOUT 5
|
||||||
#define GATT_REQ_RETRY_LIMIT 2
|
#define GATT_REQ_RETRY_LIMIT 2
|
||||||
|
#define GATT_WAIT_FOR_IND_ACK_TOUT 5
|
||||||
|
|
||||||
/* characteristic descriptor type */
|
/* characteristic descriptor type */
|
||||||
#define GATT_DESCR_EXT_DSCPTOR 1 /* Characteristic Extended Properties */
|
#define GATT_DESCR_EXT_DSCPTOR 1 /* Characteristic Extended Properties */
|
||||||
|
Loading…
Reference in New Issue
Block a user