3 Replies Latest reply on Oct 12, 2017 10:01 AM by webmstreric

    Apple WAC sometimes fails after a successful connection

    webmstreric

      Another software engineer identified a problem where Apple WAC would sometimes fail after his iPad had connected to a custom board with a Murata Module. This occurred during the Soft AP phase and at the end of the Soft AP phase you see a message about disconnecting from the iPad:

       

      Deauthenticating STA MAC: B0:48:1A:EA:A1:21

       

      On a successful WAC, the iPad has already disconnected before it gets to that point. This didn't happen very often. When I tried connecting to the Soft AP using a either a windows or linux computer, just before doing the WAC configuration with the iPad, most of the time WAC failed, but sometimes it still succeeded. Because I didn't want to wait for half an hour, In wac.c, I set

       

      #define WAC_CONFIGURED_TIMEOUT_IN_SEC (WAC_MINUTE_TIMEOUT_IN_SEC * 2)

       

      If anyone has an idea about how to fix this it would be much appreciated.

       

      Here is output with debug messages turned on:

       

      [WAC] starting

      [WAC for WICED v111] ============== [L409] : Starting WAC for WICED

       

      [WAC for WICED v111] ============== [L444] : MFi-SAP initialized

       

      [WAC for WICED v111] ============== [L1392] : Added Apple Device IE to software AP interface

       

      IPv4 network ready IP: 192.168.0.1

      Setting IPv6 link-local address

      IPv6 network ready IP: FE80:0000:0000:0000:FEDB:B3FF:FEA7:FAB1

      [WAC for WICED v111] ============== [L465] : Software AP enabled with SSID "Unconfigured Device 116780", channel 6

       

      [WAC for WICED v111] ============== [L474] : Persistent HTTP server started on software AP

       

      [WAC for WICED v111] ============== [L480] : mDNS initialized on Software AP

       

      [WAC for WICED v111] ============== [L486] : Advertise mDNS service with name [Birdi]

       

      [WAC for WICED v111] ============== [L910] : mDNS : Device ID = [D1:22:8C:11:67:80]

       

      [WAC for WICED v111] ============== [L950] : mdns_add_service returned err = [0]!

       

      [WAC for WICED v111] ============== [L953] : Advertised MFi config mDNS service

       

      [WAC for WICED v111] ============== [L956] : Retry count available = [80]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [1]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [1]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [2]!

       

      [WAC for WICED v111] ============== [L357] : Configuring device (00:16:CF:A5:38:B4) joined

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [2]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [3]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [3]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [4]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [4]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [5]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [5]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [6]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [6]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [7]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [7]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [8]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [8]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [9]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [9]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [10]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [10]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [11]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [11]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [12]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [12]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [13]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [13]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [14]!

       

      [WAC for WICED v111] ============== [L357] : Configuring device (B0:48:1A:EA:A1:21) joined

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [14]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [15]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [15]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [16]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [16]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [17]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [17]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [18]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [18]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [19]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [19]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [20]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L964] : wiced_r complete

      aphore returned err = [2]!

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

       

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [20]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [21]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [21]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [22]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [22]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [23]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [23]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [24]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [24]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [25]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [25]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [26]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [26]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [27]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [27]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [28]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L964] : wiced_rtcomplete

      aphore returned err = [2]!

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

       

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [28]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [29]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [29]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [30]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [30]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [31]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [31]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [32]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [32]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [33]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [33]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [34]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [34]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [35]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [35]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [36]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [36]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [37]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [37]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [38]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [38]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [39]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [39]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [40]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [40]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [41]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [41]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [42]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [42]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [43]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [43]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [44]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [44]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [45]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [45]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [46]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [46]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [47]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [47]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [48]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [48]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [49]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [49]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [50]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [50]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [51]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [51]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [52]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [52]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [53]!

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [53]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [54]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [54]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [55]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [55]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [56]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [56]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [57]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [57]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [58]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [58]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [59]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [59]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [60]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [60]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [61]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [61]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [62]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [62]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [63]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [63]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [64]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [64]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [65]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [65]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [66]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [66]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [67]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [67]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [68]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [68]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [69]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [69]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [70]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [70]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [71]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [71]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [72]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [72]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [73]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [73]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [74]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [74]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [75]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [75]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [76]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [76]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [77]!

       

      [WAC for WICED v111] ============== [L715] : Request received for /auth-setup

       

      [WAC for WICED v111] ============== [L738] : MFi-SAP complete

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [77]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [78]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [78]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [79]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [79]!

       

      [WAC for WICED v111] ============== [L962] : Response wait count = [80]!

       

      [WAC for WICED v111] ============== [L964] : wiced_rtos_get_semaphore returned err = [2]!

       

      [WAC for WICED v111] ============== [L967] : Haven't received response yet. Re-advertise the service again. Count = [80]!

       

      [WAC for WICED v111] ============== [L983] : Accessory in WAC mode for more than 30 minutes. Wait is over!

       

      [WAC for WICED v111] ============== [L490] : Failed to advertise mDNS service on infrastructure network

       

      [WAC for WICED v111] ============== [L501] : Shutdown HTTP server on software AP

       

      [WAC for WICED v111] ============== [L509] : HTTP server shutdown on software AP

       

      [WAC for WICED v111] ============== [L520] : mDNS shutdown on Software AP

       

      Deauthenticating STA MAC: B0:48:1A:EA:A1:21

      Deauthenticating STA MAC: 00:16:CF:A5:38:B4

      [WAC for WICED v111] ============== [L357] : Configuring device (00:16:CF:A5:38:B4) disconnected

       

      [WAC for WICED v111] ============== [L531] : Software AP shutdown

      :48:1A:EA:A1:21) disconnected

      [WAC for WICED v111] ============== [L531] : Software AP shutdown

       

       

      [WAC for WICED v111] ============== [L357] : Configuring device (00:00:00:00:00:00) disconnected

      0

      [WAC for WICED v111] ============== [L648] : Exit WAC process

       

      WAC failure

      [wifi] Clearing DCT

      [wifi] Resetting device to enter WAC process!!

        • 1. Re: Apple WAC sometimes fails after a successful connection
          webmstreric

          My discussion above is confusing. We are using custom board with a custom Murata module with an ST processor. One of the other software engineers working on this project identified a problem where occasionally Apple WAC would fail after his iPad had connected. On the WICED side there are 2 phases to the Apple WAC process. The first phase is a phase where the device runs a soft AP broadcasting an SSID including the phrase "Unconfigured Device..." with open security. This allows the configuration device, "an iPad", to connect and configure the WICED device. After the WICED device has been configured, it shuts down the soft AP and goes into the second phase of WAC. It connects to the configured SSID and verifies that it can get online. If everything goes well, it reports Success!

           

          What I found was that occasionally the Soft AP phase would disconnect from the iPad displaying the following:

           

          Deauthenticating STA MAC: B0:48:1A:EA:A1:21

           

          Then it reported a WAC failure.

           

          What I found was that during the first phase, if I connected to the "Unconfigured Device..." SSID with another device that was not a configuration device. WAC would fail more often than it succeeded and 2 devices would be forced to disconnect at the end of the Soft AP phase:

           

          Deauthenticating STA MAC: B0:48:1A:EA:A1:21

          Deauthenticating STA MAC: 00:16:CF:A5:38:B4

           

          If WAC is successful, the iPad will disconnect before the soft AP gets shut down and you won't see any "Deauthenticating ...:1A:EA:A1:2A"

          • 2. Re: Apple WAC sometimes fails after a successful connection
            grsr

            Are you still facing this issue in WICED Studio 5.2? In which Murata module are you observing this issue?

            • 3. Re: Apple WAC sometimes fails after a successful connection
              webmstreric

              It was a custom Murata module, and we finished work on that project. I don't know if it works better on WICED 5.2. The customer got a WICED 5.0.0 implementation and seemed to think it was good enough in spite of the above mentioned problem.