Configuration option | Description |
requestAllDevices | Request all assets at startup. Type: boolean. Default: true. |
subscribeToAllMeasurements | Subscribe to measurements of all devices during startup. Type: boolean. Default: true. |
subscribeToDevices | Subscribe to all device-related updates. Type: boolean. Default: true. |
tenant | Unique name of the application tenant. Type: string. |
username | User name for authentication. Type: string. |
password | Password for authentication. Type: string. |
appKey | Unique key for the application defined on the Cumulocity IoT instance. Type: string. For more information, see Creating an application key. |
url | Optional. URL if connecting to an on-premise installation of Cumulocity IoT. Type: string. |
forceInitialHost | By default, the endpoint details returned by the Cumulocity platform are used. Set this to true if you want to configure the Cumulocity SDK to always use the URL provided during session initialization instead of the endpoint details. This is helpful in deployment scenarios where the Cumulocity instance is reachable only with an IP address. Type: boolean. Default: false. |