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.

provisioning_ap Example, How to get example to process through to g_usProvisioningDone=1.

Other Parts Discussed in Thread: CC3200

I have the provisioning_ap example working to the point where the CC3200 is "Successfully Connected to AP!!" (as reported by the web page).  However, the SimpleLinkHttpServerCallback() function (in main.c) never process a POST token event of name type __SL_P_US0 and as a result the variable g_usProvisioningDone is never set to 1.

Is the provisioning_ap example expected to finish with g_usProvisioningDone=1 and the code trapped in the while(1) loop at line 1049 of main.c?

If not, what would have to be added to the example to get SimpleLinkHttpServerCallback() to receive a __SL_P_US0 event?

Where can I find an explanation the mechanics and interaction of CC3200 user code and SimpleLink http server code?

Thanks for your help.

Steve

  • Hi Steve,
    You need to change profile_config.html so that after it alerts 'Successfully Connected to AP!!', it sends a POST message with token '__SL_P_US0'
    Application receives this token and reset g_ucProvisioningDone.

    For HTTP GET/POST token info refer http://www.ti.com/lit/ug/swru368/swru368.pdf (chapter 12)


    Regards,
    Jitendra