Not all SDK APIs are supported for a GoSensor object that was added to GoSystem using GoSystem_AddSensor(), rather than added using Gocator discovery. Not all APIs have been tested, so in the future, there may be more APIs that are found to not work for sensors manually added using GoSystem_AddSensor().
GoSystem APIs for some operations
SDK GoSystsem API
|
Working?
|
Notes
|
---|---|---|
GoSystem_Construct() | Yes | Don't use this constructor. This constructor enables Gocator discovery protocol which the SDK application probably does not want if it is using the GoSystem_AddSensor() API. |
GoSystem_ConstructEx() | Yes | Use this constructor. This constructor disables Gocator discovery protocol by default. Gocator discovery can still be enabled with GoSystem_StartDiscovery() but why manually add a sensor if Gocator discovery is going to be enabled. |
GoSystem_AddSensor() | Yes | Does NOT add the sensor to the onlineSensors list. GoSystem does not store this sensor internally. |
GoSystem_Start() | No | Only works for sensors in the onlineSensors list which is populated by the discovery mechanism. |
GoSystem_Stop() | No | Only works for sensors in the onlineSensors list which is populated by the discovery mechanism. |
GoSystem_EnableData() | No | Only works for sensors in the onlineSensors list which is populated by the discovery mechanism. |
GoSystem_Refresh() | No | No effect. Does not affect sensors added with GoSystem_AddSensor(). So Refresh() is not useful because it updates the list of onlineSensors based on discovery information. |
GoSystem_SensorCount() | No | Only works for sensors in the onlineSensors list which is populated by the discovery mechanism. Always returns 0 if Gocator discovery is disabled. |
GoSystem_EnableData() | No | Only works for sensors in the onlineSensors list which is populated by the discovery mechanism. |
GoSystem_Start() | No | Only works for sensors in the onlineSensors list which is populated by the discovery mechanism. |
GoSystem_Stop() | No | Only works for sensors in the onlineSensors list which is populated by the discovery mechanism. |
GoSensor APIs for basic sensor operations
SDK GoSensor API
|
Working?
|
Notes
|
---|---|---|
GoSensor_Connect() | Yes | This will still setup a control and health channel to the sensor. |
GoSensor_EnableData() | Yes | Use this instead of GoSystem_EnableData(). Can receive scan data in the SDK. |
GoSensor_Start() | Yes | Use this instead of GoSystem_Start() |
GoSensor_Stop() | Yes | Use this instead of GoSystem_Stop() |
GoSensor_Setup() | Yes | |
GoSensor_Tools() | Yes | |
GoSensor_RestoreDefaults() | Yes | |
GoSensor_Refresh | No | No effect. Calls GoSystem_Refresh(). |
GoSensor APIs for buddying
SDK GoSensor API
|
Working?
|
Notes
|
---|---|---|
GoSensor_AddBuddy() | Yes | |
GoSensor_AddBuddyBlocking() | Yes | |
GoSensor_HasBuddy() | Yes | |
GoSensor_Buddy() | No | Tries to find the buddy serial number in GoSystem's onlineSensor list. |
GoSensor_RemoveBuddy() | No | Uses GoSensor_Buddy() to get the buddy sensor object to invalidate the buddy GoSensor object. |
GoAccelerator API
SDK GoAccelerator API
|
Working?
|
Notes
|
---|---|---|
GoAccelerator_Attach() | No | GoAccelerator_Attach() relies on Gocator discovery protocol so without the Gocator discovery protocol running, it will not work. |
GoAcceleratorMgr API
SDK GoAccelerator API
|
Working?
|
Notes
|
---|---|---|
All | No | GoAcceleratorMgr relies on Gocator discovery protocol so without the Gocator discovery protocol running, GoAcceleratorMgr will not work. |
Comments
0 comments
Please sign in to leave a comment.