Gocator API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kStatus GoSensor_AddBuddy | ( | GoSensor | sensor,
|  | GoSensor | buddy
| ) |  |

Assigns a buddy sensor.

This function is asynchronous, use GoSensor_AddBuddyBlocking() for synchronous version.

NOTE: The provided buddy sensor handle must already be connected.

Version
  Introduced in firmware 4.0.10.27

Parameters

  sensor | GoSensor object.
  buddy | Sensor to be assigned as buddy.

Returns
  Operation status.

See also
  GoSensor_Connect, GoSensor_HasBuddy, GoSensor_BuddyId, GoSensor_RemoveBuddy