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.

Version
Introduced in firmware 6.6.4.3
Parameters
acceleratorGoAccelerator object.
enablekTRUE to enable heartbeat, kFALSE to disable.
Returns
Operation status.