|
Gocator API
|
| kStatus GoAccelerator_EnableHeartbeat | ( | GoAccelerator | accelerator, |
| kBool | enable | ||
| ) |
Enables or disables heartbeat sending from the accelerator.
When enabled, the accelerator will send UDP heartbeat packets to the configured target address and port at regular intervals (~25ms). SDK clients can use GoSensor_EnableHeartbeat() to receive these packets and detect disconnection within ~100ms.
| accelerator | GoAccelerator object. |
| enable | kTRUE to enable heartbeat, kFALSE to disable. |