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.

How to decode output of sl_WlanPolicyGet?

Other Parts Discussed in Thread: CC3100

I'm playing with various PM policies, and am calling sl_WlanPolicyGet() to verify the PM policy is set in the cc3100 correctly.

For example, if call:

sl_WlanPolicySet( SL_POLICY_PM, SL_LOW_POWER_POLICY, NULL, 0 ),

when I call sl_WlanPolicyGet( SL_POLICY_PM, SL_LOW_POWER_POLICY, policy, &policyLen ), I get policyLen set to 8, with the values 16, 0, 40, 0, 1, 0, 5, 5

If I call sl_WlanPolicySet( SL_POLICY_PM, SL_NORMAL_POLICY, NULL, 0 ), the call to sl_WlanPolicyGet() is policyLen = 8, with values 0, 20, 60, 0, 1, 0, 1, 2