Other Parts Discussed in Thread: TM4C123GH6PM, CC3100
Hello,
I am trying to get the example code for the CC3100 - getting started with WLAN station running and can't figure out what's wrong with the code. I was under the impression that this normally should work out of the box. I am working with this attached to a Tiva C TM4C123GH6PM.
I tracked down the issue to the following function:
retVal = sl_WlanPolicySet(SL_POLICY_CONNECTION, SL_CONNECTION_POLICY(1, 0, 0, 0, 1), NULL, 0);
ASSERT_ON_ERROR(retVal);
The retVal returned from this function in main.c is -7, which causes the device to error and loop forever. What would cause this function to return -7? The weird thing is when I first ran the example it worked (albeit with other errors I can't find due to this not working).
Thank you in advance for any help.