ble_att_svr_ticks_until_tmo() function
Calculates the number of ticks until a queued write times out on the specified ATT server. If this server is not in the process of receiving a queued write, then BLE_HS_FOREVER is returned. If a timeout just occurred, 0 is returned.
Arguments
svr
The ATT server to check.
Return value
The number of ticks until the current queued write times out.
![]()
time_diff = ble_att_svr_ticks_until_tmo(&conn->bhc_att_svr, now);
ble_att_svr_ticks_until_tmo() is called by 1 function:
![]()
ble_att_svr_ticks_until_tmo()
ble_att_svr_ticks_until_tmo() reads 1 variable:
![]()
ble_att_svr_ticks_until_tmo()