Gocator API
kBool GoSensor_IsConnected ( GoSensor  sensor)

Reports whether the sensor is currently connected.

If sensors are temporarily unreachable, they do not leave isConnected state. You can use GoSensor_IsResponsive for this case. You can optionally call GoSensor_Disconnect if unresponsive for too long, or GoSensor_Refresh to trigger discovery cycles that can update the connection status.

See Detecting Disconnection for more details.

Version
Introduced in firmware 4.0.10.27
Parameters
sensorGoSensor object.
Returns
kTRUE if the sensor is connected, kFALSE otherwise.