Gocator API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

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 and optionaly call GoSensor_Disconnect if unresponsive for too long.

Version
  Introduced in firmware 4.0.10.27

Parameters

  sensor | GoSensor object.

Returns
  kTRUE if the sensor is connected, kFALSE otherwise.