Gocator API
 All Classes Files Functions Variables Typedefs Macros Modules Pages
kStatus GoAcceleratorMgr_Accelerate ( GoAcceleratorMgr  manager,
k32u  sensorId,
GoAcceleratorMgrSensorParam param 
)

Accelerate the specified sensor with the given set of parameters.

The parameter structure contains the accelerator host IP address to associate with the accelerated sensor, and the ports the accelerated sensor should use to communicate with the SDK client. If the SDK client wishes to have the GoAcceleratorMgr dynamically/automatically allocate the port numbers from within the configured port range, the SDK client must set all the ports in the parameter structure to zero (0). Any non-zero value for a port in the port parameter list is treated as if the client is providing ALL the port numbers to use. If the client provided port numbers are valid, then they will be used by the accelerated sensor. The "param" structure is modified to store actual ports selected if SDK client chose dynamic/automatic port allocation.

Version
Introduced in firmware 5.2.18.3
Parameters
managerGoAcceleratorMgr object.
sensorIdIdentifier of the sensor.
paramPointer to parameter structure for accelerating the sensor.
Returns
Operation status.