Gocator API

- Home
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kStatus GoSystem_ConstructEx | ( | GoSystem * | system,
|  | kAlloc | allocator
| ) |  |

Constructs a GoSystem object.

During construction, a GoSystem object does not automatically locate sensors using the Gocator Discovery Protocol. Sensor discovery must be explicitly enabled by the following steps:

1. Specify which interface(s) on which the protocol is allowed run by calling GoSystem_EnableDiscoveryInterface() API., By default, the discovery protocol cannot use any interface. To allow the protocol to run on all interfaces, call the API GoSystem_EnableDiscoveryInterfaceAll().
2. Start the discovery protocol with the API GoSystem_StartDiscovery().

Version
  Introduced in firmware 4.6.7.157

Parameters

  system | Receives constructed system object.
  allocator | Memory allocator (or kNULL for default)

Returns
  Operation status.