Initial value for LogonRequest.HeartBtInt is set from HandlerSettings::sendingTimeoutMs.
Heartbeat interval 0 means that gateway will not take any action for skipped heartbeats (only allowed for non-production environments). If the value is not set, gateway will define the heartbeat interval.
When LogonResponse is received the Handler sets connection's receive data timeout according to the following formula:
\[ HeartBitInterval = LogonResponse_{HB} + LogonResponse_{HB} × T_r / 100 \]
Where,
Timeout for data send will be set exactly to the value of LogonResponse.HeartBtInt without any modifications.