Gocator API

## ◆ GoSensor_Refresh()

kStatus GoSensor_Refresh | ( | GoSensor | sensor | ) |

Refreshes sensor state.

Unresponsive sensors will be disconnected, and canceled sensors will be reconnected. Sensors in any other state will discard all locally-cached information.

This function should be used to update sensors in the GO_SENSOR_INCONSISTENT state. This state can arise due to buddy changes performed by remote sensors (e.g. a main sensor boots and claims ownership of a buddy sensor, but the buddy sensor has already been detected and loaded as a main sensor by the client).

Version
  Introduced in firmware 4.0.10.27

Parameters

  sensor | GoSensor object.

Returns
  kTRUE if the sensor is connected; kFALSE otherwise.