The TI E2E™ design support forums will undergo maintenance from Sept. 28 to Oct. 2. If you need design support during this time, contact your TI representative or open a new support request with our customer support center.

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.

F28M36H33B2: Gui composer Network Communication models

Part Number: F28M36H33B2
Other Parts Discussed in Thread: CONTROLSUITE

I need some help to setup a Gui composer app that uses one of the Network communication models (IBM IOT, MQTT or HTTP). I am following the GUI Composer 2 User's Guide (https://dev.ti.com/gc/designer/help/UsersGuide/index.html#NETWORK)  and the IOT tutorial https://dev.ti.com/gc/designer/help/Tutorials/IoT/index.html) , but there are limited information. For IBM IoT and MQTT it seems to explain the Gui composer side of the setup, but I am not sure what to do on the client/target side. I suppose I need some MQTT client application to put on my target device, similar to the serial monitor used for the USB_UART model? I have seen some examples for the SimpleLink wifi MCU's, but is there a MQTT client example application for my device which is the Concerto with Arm Cortex M3 and an Ethernet link?

Also, when using the HTTP communication model, what do I need to do on the target side to set it up for the connection?

On the GUI Composer 2 User's Guide it says that the target code is "built with a webserver", does that mean the web server is built into the gui stand-alone app, or do I need to setup my own web server? if so how do I export the gui project files to be able to host it on the web server, do I use the stand-alone app files or do I publish it to galary?

Is it possible to run the web server on the target device itself and host/serve the gui directly from the target device? For instance by using the Enet_uip example code (C:\ti\controlSUITE\device_support\f28m36x\v210\F28M36x_examples_Master\enet_uip) on the Concerto device?

I know this is a lot of questions but I struggle to get some examples / tutorials that guides through the Network communication model setup step by step. Can you please assist me with this?

Regards

Albert 

  • Hi Albert,

    I can answer some of the questions that are GUI Composer specific. Some one else on this forum can help you on the device implementation specific questions.

    Albert Smit said:

    For IBM IoT and MQTT it seems to explain the Gui composer side of the setup, but I am not sure what to do on the client/target side. I suppose I need some MQTT client application to put on my target device, similar to the serial monitor used for the USB_UART model? I have seen some examples for the SimpleLink wifi MCU's, but is there a MQTT client example application for my device which is the Concerto with Arm Cortex M3 and an Ethernet link?

    I don't know if there is any example for the M3, hopefully some one in this form can answer this question. Perhaps create a new thread and ask question that is device specific. Just incase you haven't seen this before, there is some information about MQTT for the C32xx here: device. dev.ti.com/.../

    Albert Smit said:

    Also, when using the HTTP communication model, what do I need to do on the target side to set it up for the connection?

    You will need to run a webserver on your target to handle JSON or URL Encoding request. The PC that runs the GUI Composer application needs to be able to communicate with the webserver on your device. i.e The browser can request a JSON file.

    Albert Smit said:

    On the GUI Composer 2 User's Guide it says that the target code is "built with a webserver", does that mean the web server is built into the gui stand-alone app, or do I need to setup my own web server? if so how do I export the gui project files to be able to host it on the web server, do I use the stand-alone app files or do I publish it to galary?

    There is no webserver built into the standalone app that is suitable for target code. You will need to implement target code webserver if you want to host the GC app on the target, or have GC application that runs on a external webserver to communicate with the embedded webserver.

    However, when you install the GC Runtime, there is a webserver that can be use to host your GC app to be run on the desktop.

    You can also publish your app to the gallery and let dev.ti.com host your GC app.

    Albert Smit said:

    Is it possible to run the web server on the target device itself and host/serve the gui directly from the target device? For instance by using the Enet_uip example code (C:\ti\controlSUITE\device_support\f28m36x\v210\F28M36x_examples_Master\enet_uip) on the Concerto device?

    Yes it is possible, I have seen this been done. But I don't know the necessary steps to implementation the target code to serve the app. 

    Regards,
    Patrick

  • Hi Patrick

    Thanks for clearing out all my questions, it makes sense now. 

    It would be great, however, if someone can direct me to some examples or guidelines on how to get started with this? Especially with the target side application software for Concerto M3 to get MQTT and HTML working.

    Regards

    Albert 

  • Hi Albert,

    I suggest you start a new thread asking about target side MQTT application for your device that doesn't involve GUI Composer. Once you get that working, then you can incorporate GUI Composer into your software stack.

    Regards,
    Patrick 

  • Albert Smit said:
    Especially with the target side application software for Concerto M3 to get MQTT and HTML working.

    It is best to create a new post for this question and post it to the C2000 device forum. Although I don't believe TI has any out-of-box examples for this on Concerto, other community members who may have tried something similar may share their experiences (such as the one in this thread).