Hi,
I have had issues with my device in the field regarding frequent disconnections with the clients routers. Through another thread (expired now) I had got the solution to this by enabling NoPsPollMode.
I have been able to work with this without any failure. After upgrading to the latest available SDK 4.30 I am not able to figure out how to implement this feature. The code is the same as in the previous SDK implementation but after migration I get an error (-2188) returned through the function sl_WlanSet(.....). The following is the snippet of the code for enabling the mentioned feature.
SlWlanNoPSPollMode_t NoPsPollMode;
NoPsPollMode.Enable = 1; // enable no PS-Poll mode (work without PS-Poll frames)
retVal = sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, SL_WLAN_GENERAL_PARAM_OPT_NO_PS_POLL_MODE,sizeof(SlWlanNoPSPollMode_t),(_u8 *)& NoPsPollMode);
if(retVal < 0)
{
AS_LOG(AS_LOG_ERROR,"sl_WlanSet FAILED: %d", retVal);
}
The above code returns a negative value -2188 for which I could not find any reference to. Could you let me know how to get over this issue.
One of my clients is reporting frequent disconnection of his device from his router (TP-Link Deco X60 mesh). I am guessing this could be the issue. Could you confirm this?
Hope to hear from you soon.
Regards,
Darpan