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.

CC3220SF-LAUNCHXL: How to change webpage link from http://simplelink.net in OOB example (CC3220)?

Part Number: CC3220SF-LAUNCHXL


Hello!  I was going through the OOB code (using CCS) and trying to find where the default website is set (http://simplelink.net).  I tried searching the workspace for anything pertaining the .net but so far, have been unable to find anything.  Is this something that can be changed or is that a static page that must be used? 

Sorry, I know that's probably a pretty simple question but I haven't been able to work my way around that one just yet.  Any help you can give would be appreciated.  Thanks!

  • Hi,

    This can be configured by sl_ API sl_NetAppSet(SL_NETAPP_DEVICE_ID,SL_NETAPP_DEVICE_DOMAIN...). You need to set this before switching into AP mode.

    For mode details see SWRU455 at chapter 3.10.

    Jan

  • Ah, this makes sense, thanks!  I have a somewhat related question. 

    I am using the example project and want to make it work with HTTPS.  The documentation for it working with HTTPS is in section 9.8.2.  I assume I can post this just before I set the device into AP mode (after I set the domain using the lines provided above). 

    My question actually has to do with the img.syscfg file.  I updated it to reflect the settings I want to use, saved it, cleaned the project and rebuilt.  It loaded the site with http but not with https. I searched through the program and didn't find any instances of the initialization being set in the code. 

    So my question is does updating this section change/generate additional code or do these settings need to be manually entered (such as the code taken from 9.8.2)?  I'm not sure I fully understand the purpose of updating some of these settings if they're not also being updated in the code.  It's also possible that I have something initialized incorrectly for https in the syscfg file (I'm using the dummy certs from the project.  I expect it will let me know the certs are not recognized and I'll have to click the "proceed anyway" button, I know my domain is not certified). 

    If you could help me understand the purpose of the syscfg file (and where these settings are set/stored), it would be greatly appreciated!  Thanks!

    EDIT: I had reset the board, tried again and switched browers.  Firefox gave me a number of issues but it seems to be working now.  That said, I'd still like to understand how the syscfg initializes everything and where that data is stored, code wise for reference (maybe it's not actually visible though), in case I want to try and update the certificate in runtime vs compile time down the road (that might need to be a whole different post though, it might already be answered.  Haven't looked into it much). 

    Thanks for your help!

  • Hi,

    As to be honest, I don't understand your question.

    For a new question is recommanded open new thread.

    Jan