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.

CC3100芯片demo例程运行失败

Other Parts Discussed in Thread: MSP430F5329, CC3100, CC3100BOOST

采用HZ的芯片,和最新的0.52版本的SDK,在运行SDK中自带的demo历程的时候,有以下几个API调用返回失败

  1)
    /* Set connection policy to Auto + SmartConfig (Device's default connection policy) */
    retVal = sl_WlanPolicySet(SL_POLICY_CONNECTION, SL_CONNECTION_POLICY(1, 0, 0, 0, 1), NULL, 0);
    返回值是-7

 2)
   /* Remove all profiles */
    retVal = sl_WlanProfileDel(0xFF);
    返回值是-7

3)retVal = sl_WlanDisconnect();
   返回值是-128

4)    /* Set PM policy to normal */
    retVal = sl_WlanPolicySet(SL_POLICY_PM , SL_NORMAL_POLICY, NULL, 0);
    返回值是-7