Gocator API
kStatus GoSensor_WaitForBuddies ( GoSensor  sensor,
k64u  timeout 
)

Waits for all buddies to be connected within a specific timeout.

See Detecting Disconnection for more details.

Version
Introduced in firmware 5.2.18.3
Parameters
sensorGoSensor object.
timeouta timeout in milliseconds to wait for all required buddies to get connected
Returns
Operational status: kOK if all required buddies are connected within specified timeout; otherwise kERROR_TIMEOUT