Greetings All, I've noticed an issue with Soft AP fallback with the latest Alljoyn ServicesSample demo project available in MQX 4.1 for the FRDM-K22F and GT202 development platform.
The issue occurs when the device cannot find the access point the device was onboarded to. The device will be stuck trying to connect to the unavailable WiFi access point instead of eventually exposing soft AP. This occurs when the definition *AJOBS_SOFTAP_FALLBACK* in OnboardingManager.c is set to 1. I did find that changing the if statment in WiFiCallback(...) under the val=0 condition from *if(connectState == AJ_WIFI_IDLE || connectState == AJ_WIFI_DISCONNECTING || connectState == AJ_WIFI_CONNECT_OK) * to *if(connectState == AJ_WIFI_DISCONNECTING || connectState == AJ_WIFI_CONNECT_OK)* found in the aj_wifi_ctrl.c seemed to resolve the issue. I just wanted to confirm whether this was an error in the AJTCL code or if I am missing something. For reference my platform information is below: AJTCL version: 14.12 Platform: FRDM-K22F WiFi module: GT202 (QCA4002) RTOS: MQX 4.1 No changes to core or Alljoyn target files. Thanks for any information you can provide, Peter Peter Nisbet, MASc, C.E.T Electronics Engineer Heaven Fresh Canada Inc. 1600 Aimco Blvd., Unit 5 Mississauga ON L4W 1V1 Cell: +1.647.377.2489 http://www.heavenfresh.ca Linkedin <http://ca.linkedin.com/in/peternisbet265>
_______________________________________________ Allseen-core mailing list [email protected] https://lists.allseenalliance.org/mailman/listinfo/allseen-core
