Gocator API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kStatus GoSystem_Refresh | ( | GoSystem | system | ) |

Updates client state to reflect any changes that have occurred in the sensor network.

Sensors can undergo autonomous state changes that require client state to be refreshed (e.g. sensor goes offline). The GoSystem_Refresh function resynchronizes client state with the current state of the sensor network.

Calling this function may destroy or modify local sensor objects. The GoSystem_HasChanges function can be used prior to calling GoSystem_Refresh, to determine whether a refresh is needed.

This call is thread-safe with regards to modifying this class's set of sensors.

Version
  Introduced in firmware 4.0.10.27

Parameters

  system | GoSystem object.

Returns
  Operation status.