Interface function not found in legato sample code

The gpsApp in my leaf profile 023 calls the le_dcs_GetList which is not part of ithe interface as per the latest le_dcs interface documentation.

This results in an error while making the app for the wp77xx, the compiler thinks it is a in implicit function declaration but the truth is that is not part of the api in my local repos.

Before starting figuring out how to implement the failing functionality: am I using the right interface version or is there an updated code to use? How to pull the latest tag if my profile has not done it already? Am I on the right track?

Thank you,
Marc Farssac

It looks like the Legato project has broken one of their own sample apps when they updated their Data Connection Service API. You could try asking on the Legato forum to see if they have a solution for you.

Thanks Jchitty, that confirms my guess. In the meantime I think I found a workaround. I am seeing if calling le_dcs_GetChannels and handling the channel list query results’ in a callback function solves my needs, like this:

  static void ClientChannelQueryHandler
    le_result result,                       ///< [IN] Result of the query
    const le_dcs_ChannelInfo_t *channelList,  ///< [IN] Channel list returned
    size_t channelListSize,                   ///< [IN] Channel list's size
    void *contextPtr                          ///< [IN] Associated user context pointer
    uint16_t i;

    LE_INFO("Received channel query result %d, channel list size %d", result, channelListSize);

    if (channelListSize == 0)

    for (i = 0; i < channelListSize; i++)
        LE_INFO("Available channel #%d: name %s from technology %d, state %d, reference %p",
                i + 1, channelList[i].name, channelList[i].technology, channelList[i].state,