This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHCC3220MODASF: Unable to import an example project from the Azure IoT plug-in

Part Number: LAUNCHCC3220MODASF
Other Parts Discussed in Thread: CC3235SF

Hi,


We are using ccs version 12.0 and we follow this document to install and setup ccs code

In ccs version of 12.0, we can't see a simple link azure IoT plugin SDK in resource explorer, so we download the latest version of simple link azure IoT plug-in SDK externally using this link.
 https://www.ti.com/tool/download/SIMPLELINK-CC32XX-PLUGIN-FOR-AZUREIOT/4.10.01.01

When trying to import an example project from the Azure IoT plug-in we get the following errors

Please help me resolve the issue
  • Hi,

    I can see you have another post (https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1276277/launchcc3220modasf-unable-to-communicate-with-azure-iot-hub-using-iothub_client_sample_mqtt-instance-from-azure-iot-plugin ) with some issues on the same Azure plugin so does this issue still relevant? 

    Please note that the Azure plugin is old and based on an old base SDK of CC32xx (4.10.00.07).

    Regards,

    Shlomi

  • Hi,
    we are trying both simplelink_cc32xx_sdk_4_10_00_07 version and simplelink_cc32xx_sdk_7_10_00_01 .But we can  only import azure iot plug-in example code in the version of azure_cc32xx_4_10_01_01 with  simplelink_cc32xx_sdk_4_10_00_07  .

    Actually, our requirement is to run the mqtt example code in the latest Azure IoT SDK plug-in with simplelink_cc32xx_sdk_7_10_00_01.

  • Hi,

    The SDK methodology of using projectspec has changed between these two versions.

    In early versions of the projectspecs, the rtos projectspecs was included in the example projectspecs and was imported.

    For example, you could see lines like the following in every example projectspacs:

    <import spec="${COM_TI_SIMPLELINK_CC32XX_SDK_INSTALL_DIR}/kernel/tirtos/builds/cc32xx/release/ccs/tirtos_builds_cc32xx_release_ccs.projectspec"/>

    This does no longer exist and this is the error you are getting above.

    For this one, best would be to use a working example from the new SDK as baseline and just take the relevant application files from the older example.

    Regards,

    Shlomi

  • Hi,

    I think the latest azure plugin version is azure_cc32xx_4_10_01_01 and how to import an example code in azure_cc32xx_4_10_01_01 with the latest version of simplelink sdk?

  • Hi,

    As mentioned, you can go error by error and resolve manually but you can also use one of the existing projects that works and replace the existing source files with the ones from the plugin. It is required to do some manual integration but since the SDK structure changed, I don't see other way.

    Looking at this specific error, looks like the tirtos projectspec has changed location so it should be easy.

    The original one is: 
    <import spec="${COM_TI_SIMPLELINK_CC32XX_SDK_INSTALL_DIR}/kernel/tirtos/builds/CC3235SF_LAUNCHXL/release/ccs/tirtos_builds_CC3235SF_LAUNCHXL_release_ccs.projectspec"/>

    The new one is:

    <import spec="${COM_TI_SIMPLELINK_CC32XX_SDK_INSTALL_DIR}/kernel/tirtos/builds/cc32xx/release/ccs/tirtos_builds_cc32xx_release_ccs.projectspec"/>

    Regards,

    Shlomi