case about mqtt in ncs v2.1.2 keepalive state

Hi,

sdk ncs v2.1.2

example :mqtt_sample

1. The mqtt client connects to the server

2. The mqtt server is faulty

3. The mqtt client cannot detect the server fault for a long time

4. How can mqtt clients quickly detect server faults?

Thank you for all your assistance.
Kind regards,
Peter.Min

Related