(Deprecated) This function retrieves all the connected devices for a device using the ID and type.

API

int Iotc_GetDevices ( IotcSession * iotcSession, IotcDeviceId * parentId )

Description

The devices would be returned with a pointer to IotcDeviceSet in the IotcGetResponse with IOTC_GET_DEVICES as the response message type.

Parameters
iotcSession

The current IotcSession to be used.

parentId

Device ID for which the connected device IDs must be retrieved.