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.

CC3120MOD: Question about driver task

Part Number: CC3120MOD


Hi Specialists,

Question about driver task (slHostStackThread), Sample code in SimpleLink SDK, 

\examples\rtos\MSP_EXP432E401Y\demos\ethernet_wifi_tcp_echosl_host.c in SimpleLink_sdk_wifi_plugin folder,

We are trying to implement driver task based on "slHostStackThread()".
This function seems to generate sl_Task, connect to AP than acquired IP at DHCP then return finishing this task.

In case of IP can't be acquired DHCP lease, how do we process?

Thank you.

HsinYu Lin

  • Hello,

    If your station fails to acquire an IP via DHCP you should get the SL_NETAPP_EVENT_DHCP_IPV4_ACQUIRE_TIMEOUT event in the SimpleLinkNetAppEventHandler or some other event indicating what happen (i.e. SL_NETAPP_EVENT_IPV4_ACQUIRED - more events shown in netapp.h). When this occurs typically you could retry but if it persist that indicates there is other problems that require debugging.

    Jesu